/*
 * Shared visual tokens for the public pages and the authentication pages.
 *
 * Calm since 22.11.2026 (doc/design/DESIGN.md): a surface stands on a hairline and on
 * a ground dark enough for a white card to need no frame. The "brutalism light" of
 * 05.11.2026, taken from the app, stays as punctuation: the 2px ink frame and the hard
 * shadow without blur at a few fixed places (the logo, the highlighted term, the
 * primary button, the product windows, the plan cards, the closing block, the section
 * numbers) and nowhere else. With a black frame around everything nothing stood out,
 * and the page read restless. One accent, the lime of the logo.
 *
 * Faces since 21.11.2026: Geist for headings and text, headings at 700 rather than 900.
 * Geist Mono only where it means something: the label above a heading, and code. The
 * logo alone keeps Archivo (--lp-font-brand).
 *
 * The sign-up page keeps the values of 05.11.2026 (auth.css): it speaks the app's
 * language, and the app has not changed.
 *
 * Keep these declarations under .lp so they cannot affect application pages.
 */

.lp {
  /* ---------- Palette ----------
     ONE accent. Lime never carries text (black on lime measures 15.4:1, white on lime
     1.3:1): it fills, it underlines, it throws a shadow. Status colours exist only
     inside the schematic app window, where they are the app's own. */
  --lp-paper: #F3F2EE;        /* page ground: dark enough for a white card to stand on it without a frame */
  --lp-paper-muted: #EAE9E4;  /* set-off surface, one step darker: app sidebar, before/after stage, "fairly first" band */
  /* The surface that carries content: cards, tables, navigation, product windows.
     Named because it is the one colour with a rule attached (spec/assets/
     landing_scales_guard_spec.rb): a card is white, the ground under it is not. */
  --lp-white: #FFFFFF;
  --lp-line: #D4D4CF;         /* a rule that has to show on white: the pointer on a contents list, a separator in a drawing */
  --lp-line-light: #E4E4DF;   /* the hairline: the frame of a surface and the rules inside it */
  --lp-border-strong: #6B6F79; /* dashed outlines: "depends on you", optional steps */
  --lp-control-line: #7C8088;  /* the edge of a control at rest: 3.96:1 on white, 3.54:1 on paper (WCAG 1.4.11 asks 3:1) */
  --lp-ink: #14161A;          /* text, primary buttons, dark bands, footer */
  --lp-black: #000000;        /* borders and hard shadows */
  --lp-text-2: #3A3D42;       /* running text */
  --lp-text-3: #5B5F66;       /* labels and meta text, 5.7:1 on paper */
  --lp-accent: #BEF264;       /* = the logo tile (Tailwind lime-300) */
  --lp-accent-tint: #F3FBE3;  /* the Lalabase column of a comparison table */
  --lp-on-dark: #F5F2EB;
  --lp-on-dark-2: #C9CCD1;

  --lp-status-new: #3B82F6;
  --lp-status-wip: #F59E0B;
  --lp-status-done: #22C55E;

  /* ---------- Borders and shadows ----------
     Three frames, one meaning each. A SURFACE (card, table, panel, band) stands on the
     hairline. A CONTROL has the grey edge at rest, as light as an edge may be, and
     takes the ink frame when it is chosen or under the pointer. The INK frame at rest
     is the signature and belongs to a few things only; the same few throw a shadow
     at rest. spec/assets/brutalism_light_guard_spec.rb lists both and fails when a
     new card comes framed in black.

     Shadows are hard (blur 0), go to the bottom right and are black. Three exceptions:
     the primary button throws lime; on a dark ground the shadow is lime or off-white,
     because black would vanish there; and whatever SHOWS the product -- the app
     window, the screenshots -- throws a wide grey one, which sets a window apart from
     a card (decided with the owner on 05.11.2026 and kept on 21.11.2026). The grey is
     #CCCCC6: on this ground it measures 1.44:1, as #D4D4CF did on the lighter ground
     the pages had before. */
  --lp-border: 1px solid var(--lp-line-light);
  --lp-border-fine: 1.5px solid var(--lp-line-light);
  --lp-border-ink: 2px solid var(--lp-black);
  --lp-border-control: 1.5px solid var(--lp-control-line);
  --lp-shadow-s: 3px 3px 0 var(--lp-black);
  --lp-shadow-m: 4px 4px 0 var(--lp-black);
  --lp-shadow-card: 5px 5px 0 var(--lp-black);
  --lp-shadow-l: 8px 8px 0 var(--lp-black);
  --lp-shadow-primary: 4px 4px 0 var(--lp-accent);
  --lp-shadow-window: 10px 10px 0 #CCCCC6;

  /* ---------- Faces ---------- */
  --lp-font-display: 'Geist', system-ui, sans-serif;
  --lp-font-body: 'Geist', system-ui, sans-serif;
  --lp-font-mono: 'Geist Mono', ui-monospace, monospace;
  /* The logo keeps its own face (lp_base.css, .lp-brand). */
  --lp-font-brand: 'Archivo', system-ui, sans-serif;

  /* ---------- Heading scale ----------
     Five levels carry one meaning each, replacing the thirteen sizes that had
     accumulated by 21 August 2026. The guide sets the headings fluid (clamp); the
     ladder keeps three steps instead, because a level that is defined at every
     breakpoint can be checked, and a clamp per heading is the hand-written size the
     guard exists to stop.

     The guide's 72px for the homepage h1 is the size its draft was drawn at; in the
     hero's text column "Frag dein Projekt." measures 629px at 72px against 599px of
     column. The lines are the statement, so the size gives way, not the breaks. Since
     21.11.2026 the whole ladder sits about 12% lower again (hero 64px to 56px), set in
     Geist 700: the headings are sentences now and should not shout.

     The media queries at the end of the file assign each level again. A heading tied
     to a level therefore scales on mobile without its own rule. Add a sixth level only
     after checking that none of the five existing meanings fits. */
  --lp-fs-hero: 56px;      /* the homepage h1 */
  --lp-fs-display: 50px;   /* h1 of a landing page: comparison, features, pricing */
  --lp-fs-title: 44px;     /* h1 of a detail page and the section h2 */
  --lp-fs-section: 37px;   /* h2 of a comparison block, a chapter or a band in a band */
  --lp-fs-sub: 23px;       /* heading inside a card head or a column */
  /* Card titles stay outside the responsive heading scale. A card becomes narrower
     on a phone, but the same card should not also become smaller. */
  --lp-fs-card: 21px;

  /* ---------- Band spacing ----------
     Sections are separated by space and by their numbered label, no longer by a
     change of ground: the bands keep one ground, and the rhythm comes from here.
     Horizontal spacing has one value on .lp-in rather than one value per band. */
  --lp-gutter: 24px;
  --lp-band-xs: 24px;    /* bars and breadcrumbs */
  --lp-band-sm: 48px;    /* indexes, card grids, and chapter bars */
  --lp-band-md: 72px;    /* standard section */
  --lp-band-lg: 96px;    /* closing band */
  --lp-band-hero: 80px;  /* page header */

  /* ---------- Corners ----------
     Five radii, one meaning each. 4px is the logo tile, and every control and badge
     takes it from there. A product window keeps 8px, drawn or photographed; cards and
     frames are rounder since 22.11.2026; a tab is a pill. Small values inside the
     schematic windows keep their own, because they belong to the drawing and scale
     with it. */
  --lp-r-control: 4px;   /* button, badge, input, toggle */
  --lp-r-card: 12px;     /* card, table frame */
  --lp-r-window: 8px;    /* product window, drawn or photographed */
  --lp-r-frame: 16px;    /* closing block, hero block */
  --lp-r-pill: 999px;    /* a tab */

  /* Card padding differs only between a card in a grid and a standalone panel. */
  --lp-pad-card: 24px;   /* card in a grid */
  --lp-pad-panel: 28px;  /* standalone card or prose panel */

  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: var(--lp-font-body);
  /* Unitless, so every size computes its own. The body carries Tailwind's text-base,
     whose line-height is a fixed 1.5rem: inherited as 24px, it spread every small
     label and note to twice its height. */
  line-height: 1.5;
  min-height: 100vh;
}

/* The scale shrinks at two breakpoints for every heading. These are the existing
   breakpoints from landing.css rather than new ones. */
@media (max-width: 1279px) {
  .lp {
    --lp-fs-hero: 48px;
    --lp-fs-display: 42px;
    --lp-fs-title: 37px;
    --lp-fs-section: 32px;
    --lp-fs-sub: 22px;

    --lp-gutter: 24px;
    --lp-band-xs: 22px;
    --lp-band-sm: 44px;
    --lp-band-md: 64px;
    --lp-band-lg: 80px;
    --lp-band-hero: 64px;
  }
}

@media (max-width: 767px) {
  .lp {
    /* A 360px phone leaves 320px of column; the hero h1 stays well inside it. */
    --lp-fs-hero: 34px;
    --lp-fs-display: 31px;
    --lp-fs-title: 28px;
    --lp-fs-section: 24px;
    --lp-fs-sub: 20px;

    --lp-gutter: 20px;
    --lp-band-xs: 18px;
    --lp-band-sm: 36px;
    --lp-band-md: 48px;
    --lp-band-lg: 56px;
    --lp-band-hero: 32px;
  }
}
/*
 * Shared building blocks for the public landing pages and the authentication pages.
 *
 * Both landing.css and auth.css require this file right after landing_tokens.css, so
 * each rule exists once. Before this file the same rules were copied into both
 * stylesheets, and the copy had already drifted: auth.css lost the mobile eyebrow size,
 * and landing.css lost the field pair the public imprint uses.
 *
 * Keep these declarations under .lp so they cannot affect application pages.
 */

/* :where() keeps specificity at zero so component classes always win. */
.lp :where(a) { color: inherit; text-decoration: none; }

/* Focus states were missing on the old page; the handoff makes them mandatory. Ink,
   not lime: a lime ring on white measures 1.3:1 and would be the one focus state
   nobody sees. On a dark ground the ring turns lime, where it measures 13:1. */
.lp :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--lp-ink);
  outline-offset: 3px;
}

.lp :is(.lp-sec--dark, .lp-footer, .lp-auth-panel) :is(a, button):focus-visible {
  outline-color: var(--lp-accent);
}

/* The logo, exactly as on the live page before the redesign and as in the app: the
   lime tile with the L (shared/_brand_mark) and the wordmark in Archivo 800. The
   guide forbids changing it, so the face is set here (--lp-font-brand) and not
   inherited from the headings, which turned to Geist on 21.11.2026. */
.lp-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lp-font-brand);
  font-size: 21px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero label of a page: mono capitals in the meta tone, like the numbered section
   labels below it but without a number. The homepage sets it as a badge. */
/* The icons are <i> elements, and an <i> is italic. It holds no text, but the browser
   still fetched an italic face for it, 55 KB that set no word (measured
   05.11.2026). Upright, the icon reuses the face the page has already loaded. */
.lp i.bi { font-style: normal; }

.lp-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

/* ---------- buttons ----------
   Primary: ink in a 2px ink frame with a lime shadow, up and out on hover, down and
   flat on click; the shadow keeps its colour while it grows, so a primary button stays
   the primary one under the pointer. Secondary: white and flat with the grey edge of a
   control; under the pointer the frame turns ink and the black shadow shows (DESIGN.md,
   "Hervorhebungen staffeln"). With a black frame and a shadow at rest it weighed as
   much as the primary beside it. Both are 44px high at least. */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-family: var(--lp-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  background: var(--lp-white);
  color: var(--lp-ink);
  box-shadow: 0 0 0 var(--lp-black);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  cursor: pointer;
}

.lp-btn:hover { transform: translate(-2px, -2px); border-color: var(--lp-black); box-shadow: var(--lp-shadow-m); }
.lp-btn:active { transform: none; box-shadow: 0 0 0 var(--lp-black); }

.lp-btn--primary,
.lp-btn--dark {
  border: var(--lp-border-ink);
  background: var(--lp-ink);
  color: var(--lp-white);
  box-shadow: var(--lp-shadow-primary);
}

.lp-btn--primary:hover,
.lp-btn--dark:hover { box-shadow: 6px 6px 0 var(--lp-accent); }
.lp-btn--primary:active,
.lp-btn--dark:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--lp-accent); }

/* The secondary button. "ghost" is the name it had when it was a hairline outline. */
.lp-btn--ghost { background: var(--lp-white); color: var(--lp-ink); }

.lp-btn--block { width: 100%; }

/* The arrow belongs to the main action of a section and nowhere else. An icon, not the
   character: "\2192" lies outside the Latin subset of every face on the page, and only
   for it (and the check marks of the price cards) the browser fetched a fourth file. */
.lp-btn-arrow { -webkit-text-stroke: 1px currentColor; }

@media (prefers-reduced-motion: reduce) {
  .lp-btn { transition: none; }
  .lp-btn:hover, .lp-btn:active { transform: none; }
}

/* Two fields side by side: sign-up names and passwords, the imprint's detail blocks. */
.lp-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-field-pair--tight { gap: 10px; }

@media (max-width: 767px) {
  .lp-eyebrow { font-size: 12px; }
}

/* ---------- language switch ---------- */
/* Moved here from landing.css on 21.09.2026. The sign-up page renders the switch
   too (static/_language_switch), and its layout loads auth.css, not landing.css:
   from the W5 switch until that day lalabase.com showed an unstyled "DE / EN" in
   the middle of the sign-up top row. Guard: spec/system/signup_form_chrome_spec.rb.

   A segmented control since the redesign: one frame in the edge of a control, the
   current language filled lime. The current language is still a span, not a link
   (static/_language_switch), so it carries no hover rule; the separator the partial
   renders becomes the divider between the two halves, in the colour of the frame. */
.lp-nav-lang {
  display: inline-flex;
  align-items: stretch;
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--lp-white);
}

.lp-nav-lang a,
.lp-nav-lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  padding: 4px 8px;
  color: var(--lp-ink);
}

.lp-nav-lang a { transition: background 120ms ease; }
.lp-nav-lang a:hover { background: var(--lp-paper-muted); }
.lp-nav-lang-current { background: var(--lp-accent); }
.lp-nav-lang-sep { width: 2px; background: var(--lp-control-line); color: transparent; font-size: 0; }

/* ---------- bot trap ---------- */
/* shared/_bot_trap_fields. This rule lived in the core's views.css and did not
   come along when the sign-up form moved here (W3.4): the trap was VISIBLE on
   lalabase.com until 21.09.2026. That is not cosmetic -- a password manager or
   autofill fills a visible input, and the trap answers a filled field with a
   pretended success, so a real customer is told they signed up and no account
   exists.

   Deliberately NOT display:none and not hidden: simple scripts skip exactly
   those two signals, and then nobody falls in anymore. Pushing it off-screen
   keeps the field looking normal in the DOM. Deliberately NOT under .lp either:
   a trap has to hide wherever a form renders it. */
.bot-trap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
/*
 * The public pages: calm since 22.11.2026, with the "brutalism light" of 05.11.2026 as
 * punctuation (doc/design/DESIGN.md).
 *
 * The vocabulary is taken from the app rather than invented for the website: the lime
 * logo tile with its hard shadow, the 2px ink frame, the offset shadow. It stands at a
 * few fixed places now and nowhere else (landing_tokens.css names them); everything
 * else is a white surface on a hairline. One accent, hard shadows without blur, Geist
 * for headings and text, Geist Mono for the label above a heading and for code.
 * Sections are separated by space and by a numbered label, not by a change of ground.
 *
 * Not done, on purpose: full-bleed colour heroes, rotated stickers (the "before"
 * cards of the before/after switch are the one exception, the mess IS the point
 * there), animated marquees, a second accent, gradients, soft shadows, emoji. The
 * logo is never changed.
 *
 * Scope: every rule lives under the .lp anchor that wraps the public pages. Tokens
 * live in landing_tokens.css, shared building blocks (buttons, eyebrow, language
 * switch) in lp_base.css. Deliberately no dark-mode variants: the landing layout has
 * no dark mode.
 *


 */

.lp-mono { font-family: var(--lp-font-mono); }
/* Mono only where it means something: the label above a heading (.lp-kicker,
   .lp-eyebrow) and code. Everything else sets in the text face. */
.lp :is(code, pre, kbd) { font-family: var(--lp-font-mono); }

/* `hidden` hides, whatever display a component sets. Tailwind's preflight rule has the
   same specificity as a component class and loads first, so `.lp-ba-after { display:
   grid }` would win over the attribute and show a panel the controller just hid. */
.lp [hidden] { display: none !important; }

/* Every heading face in one place. Headings are Geist; a card title that is a div
   rather than an h3 still is one. :where() keeps the element part at zero, so a
   heading with a face of its own wins by its class. */
.lp :where(h1, h2, h3, h4),
.lp-h1, .lp-h2, .lp-card-title, .lp-feature-title, .lp-tile-title,
.lp-plan-title, .lp-plan-amount, .lp-redmine-title, .lp-offer-headline,
.lp-vs-strength-title, .lp-vs-step-title, .lp-ft-title, .lp-ft-card-title,
.lp-ft-detail-h2, .lp-ft-ai-title, .lp-ft-pager-name, .lp-lg-h1, .lp-lg-h2, .lp-lg-h3,
.lp-pfaq-q, .lp-win-title, .lp-sh-commands-label {
  font-family: var(--lp-font-display);
}

/* ---------- sections ---------- */

/* One ground for every band. The old pages alternated paper, a muted tone and ink,
   and the change of tone WAS the structure; here the structure is the numbered label
   above each heading and the space around it. */
.lp-sec { position: relative; }

/* The set-off surface: for the ONE band a page wants to stand apart ("fairly first"
   on the comparison pages, the founder discount on the price page). Framed top and
   bottom like the trust strip, so it reads as a deliberate tray, not as a tint. */
.lp-sec--muted {
  background: var(--lp-paper-muted);
  border-block: 2px solid var(--lp-line-light);
}
.lp-sec--muted + .lp-sec--muted { border-top: 0; }
/* Straight under the trust strip its own bottom rule is the band's top edge. */
.lp-trust-strip + .lp-sec--muted { border-top: 0; }

/* Ein Band ohne eigenen Abstand nach unten: die Krume gehoert zum Kopf, den sie
   beschriftet. */
.lp-sec--flush { padding-bottom: 0; }

/* On ink the hairline is a faint white one, and every frame that takes it follows. */
.lp-sec--dark {
  --lp-line-light: rgba(255, 255, 255, 0.12);
  --lp-border: 1px solid var(--lp-line-light);
  --lp-border-fine: 1.5px solid var(--lp-line-light);
  background: var(--lp-ink);
  color: var(--lp-on-dark);
}
.lp-sec--dark .lp-kicker { color: #B9BCC2; }
.lp-sec--dark .lp-body,
.lp-sec--dark .lp-lead { color: var(--lp-on-dark-2); }

/* Der seitliche Innenabstand sitzt HIER, nicht an den einzelnen Baendern: dort wurde
   er dreimal vergessen (Kartenraster der Funktionsseite, Kontaktband der FAQ,
   Weiterfuehrungen der Rollenseiten), und der Text klebte an der Spaltenkante.
   1200px content plus the gutter on both sides. */
.lp-in {
  max-width: calc(1200px + 2 * var(--lp-gutter));
  margin: 0 auto;
  padding-inline: var(--lp-gutter);
}

/* Anchor targets sit below the sticky nav. */
.lp [id] { scroll-margin-top: 92px; }

/* ---------- typography ---------- */

.lp-h1 {
  margin: 0;
  font-size: var(--lp-fs-hero);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.lp-h2 {
  margin: 0;
  font-size: var(--lp-fs-title);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.lp-h2--founder { font-size: var(--lp-fs-title); }
.lp-h2--cta { font-size: var(--lp-fs-title); line-height: 1.02; letter-spacing: -0.035em; }

.lp-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--lp-text-2);
  max-width: 34em;
  text-wrap: pretty;
}

.lp-body {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--lp-text-2);
  max-width: 40em;
  text-wrap: pretty;
}

/* The section label above every h2: "01 — WARUM LALABASE". The number is COUNTED,
   not typed: a CSS counter per page, so a section that is added, removed or only
   rendered on some pages renumbers the rest by itself. A typed number is right
   exactly until the next section moves. The number is decoration for sighted
   readers; the alternative text after the slash keeps screen readers from reading
   "zero one dash" before every heading (browsers without it keep the first
   declaration). */
.lp main { counter-reset: lp-section; }

.lp-kicker {
  font-family: var(--lp-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

/* The number stands in a small lime tile, the logo tile in miniature: framed in ink
   on a hard shadow like the few things a page still frames. It repeats down the page
   and holds it together. */
.lp-kicker--num { display: flex; align-items: center; gap: 10px; }

.lp-kicker--num::before {
  counter-increment: lp-section;
  content: counter(lp-section, decimal-leading-zero);
  content: counter(lp-section, decimal-leading-zero) / "";
  padding: 4px 6px 3px;
  background: var(--lp-accent);
  color: var(--lp-ink);
  border: 1.5px solid var(--lp-black);
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--lp-black);
  line-height: 1;
  letter-spacing: 0;
}
.lp-sec--dark .lp-kicker--num::before { box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.35); }

/* A page with ONE numbered label has nothing to count; the layout marks it
   (HeadingHelper#lone_section_label?) and the label keeps its words, not the number. */
.lp-one-section .lp-kicker--num::before { content: none; }

/* The one highlighted key term of a page, in its hero heading. Not more than once
   per page: a second block would make the first one ordinary. Padding in em, so the
   block keeps its proportions on every step of the heading scale. Room above and
   below enough for a term that wraps onto two lines ("Knowledge stays." in the
   English hero, 16.11.2026): with 0.03em the words touched the frame. */
.lp-mark {
  display: inline-block;
  margin-top: 0.18em;
  padding: 0.12em 0.24em 0.16em;
  line-height: 0.98;
  background: var(--lp-accent);
  color: var(--lp-ink);
  border: var(--lp-border-ink);
  border-radius: 6px;
  box-shadow: var(--lp-shadow-m);
}

/* Text link: ink with an ink underline, lime and thicker under the pointer. */
.lp-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 120ms ease;
}

.lp-link:hover { text-decoration-color: var(--lp-accent); text-decoration-thickness: 4px; }
.lp-link--small { font-size: 14px; }
.lp-sec--dark .lp-link { color: var(--lp-on-dark); }

/* ---------- nav ---------- */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--lp-white);
  border-bottom: 2px solid var(--lp-line-light);
}

.lp-nav-in {
  max-width: calc(1200px + 2 * var(--lp-gutter));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--lp-gutter);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
}

/* ---------- Menuepunkt: Trefferflaeche und Hover ----------
   Bis zum 21.08.2026 war der Menuepunkt genau so gross wie sein Wort: der Zeiger
   musste die Buchstaben treffen. Der senkrechte Innenabstand vergroessert die
   Flaeche, ohne die Zeile hoeher zu machen. Die Linie liegt auf einem Pseudo-Element
   statt auf dem Rahmen, weil sie sonst die Flaeche mitwuechse. Hover und aktive Seite
   tragen dieselbe 2px-Linie; die aktive behaelt sie. */
.lp-nav-links a {
  position: relative;
  padding: 10px 0;
  cursor: pointer;
}

.lp-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--lp-ink);
  opacity: 0;
  transition: opacity 120ms ease;
}

.lp-nav-links a:hover::after { opacity: 1; }

/* Der Pfeil gehoert zum Punkt: wer ihn ansteuert, sieht den Punkt reagieren. */
.lp-nav-drop:hover > a::after { opacity: 1; }

.lp-nav-links .lp-nav-active::after,
.lp-nav-drop:hover > .lp-nav-active::after { opacity: 1; }

/* ---------- header submenu (N2, 20.08.2026) ----------

   Only the HEIGHT moves: the panel is a grid whose single row goes 0fr -> 1fr, so
   the box grows instead of sliding or fading. Opening 180ms, closing 130ms.

   Border and background sit on the INNER element, not on the panel: a bordered box
   at height 0 would leave a hairline hanging under the nav. visibility is delayed by
   the closing duration so the panel is still paintable while it collapses and
   unreachable for keyboard and pointer once it is closed. */

.lp-nav-drop { position: relative; display: inline-flex; align-items: center; gap: 3px; }

.lp-nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 0;
  background: none;
  color: var(--lp-text-3);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: color 100ms ease-out, transform 100ms ease-out;
}
.lp-nav-drop-toggle:hover { color: var(--lp-ink); }
.lp-nav-drop:has(.lp-nav-drop-panel.is-open) .lp-nav-drop-toggle { transform: rotate(180deg); }

.lp-nav-drop-panel {
  position: absolute;
  /* The 14px below the entry are PADDING, not a gap in the top offset. As a gap they
     belonged to neither the entry nor the panel: a pointer moving down from
     "Funktionen" left .lp-nav-drop for those 14px, x-on:mouseleave fired, and the
     panel closed before it could be reached. */
  top: 100%;
  padding-top: 14px;
  left: -14px;
  z-index: 50;
  display: grid;
  grid-template-rows: 0fr;
  /* The inner box clips its content, which takes the shrink-to-fit width of this
     absolutely positioned hull down to nothing. The width therefore belongs HERE. */
  width: max-content;
  min-width: 220px;
  visibility: hidden;
  pointer-events: none;
  transition: grid-template-rows 130ms ease-in, visibility 0s linear 130ms;
}
.lp-nav-drop-panel.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  pointer-events: auto;
  transition: grid-template-rows 180ms cubic-bezier(0.2, 0, 0, 1), visibility 0s;
}

.lp-nav-drop-panel--wide { left: auto; right: -14px; }

/* The shadow is drawn by the panel's own frame only once it is open: on a box that is
   still collapsing a hard shadow would hang under the nav as a black stripe. */
.lp-nav-drop-in {
  min-height: 0;
  overflow: hidden;
  background: var(--lp-white);
  border: 0 solid var(--lp-black);
  border-radius: var(--lp-r-card);
}
.lp-nav-drop-panel.is-open .lp-nav-drop-in { border-width: 2px; box-shadow: var(--lp-shadow-card); }

.lp-nav-drop-list { display: flex; flex-direction: column; padding: 8px 0; }

/* Two groups side by side (N5): the "Für wen" menu asks the visitor to place
   themselves, and stacking seven entries in one column hides the second question
   below the fold of the panel. */
.lp-nav-drop-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 4px 10px;
  padding: 10px 0;
}
.lp-nav-drop-col { display: flex; flex-direction: column; }

.lp-nav-drop-col-label,
.lp-menu-sub-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}
.lp-nav-drop-col-label { padding: 6px 18px 6px; }
.lp-menu-sub-label { margin: 10px 0 2px; }

.lp-nav-drop-list a {
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 100ms ease-out;
}
.lp-nav-drop-list a:hover { background: var(--lp-accent-tint); }

@media (prefers-reduced-motion: reduce) {
  .lp-nav-drop-panel, .lp-nav-drop-panel.is-open { transition: visibility 0s; }
  .lp-nav-drop-toggle { transition: color 100ms ease-out; }
  .lp-nav-drop:has(.lp-nav-drop-panel.is-open) .lp-nav-drop-toggle { transform: none; }
}

/* Mobile overlay: the same entries, one level indented, folded until the caret next
   to their entry opens them. */
.lp-menu-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 10px 14px;
  padding-left: 14px;
  border-left: 2px solid var(--lp-line-light);
}
.lp-menu-sub a { font-size: 15px; color: var(--lp-text-2); padding: 8px 0; }

.lp-nav-auth { display: flex; align-items: center; gap: 18px; }

/* The repository link in the top row: a word with its icon, the last of the menu
   entries. Named "Quellcode auf GitHub" for screen readers, which contains the word
   that is shown. */
.lp-nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
}
.lp-nav-github i { font-size: 16px; line-height: 1; }
.lp-nav-github:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Im Mobil-Overlay steht der Umschalter allein in einer Zeile und darf groesser sein:
   dort konkurriert er mit nichts, und ein Daumen braucht die Flaeche. */
.lp-menu .lp-nav-lang { align-self: flex-start; font-size: 14px; margin-top: 12px; }
.lp-menu .lp-nav-lang a,
.lp-menu .lp-nav-lang-current { min-width: 48px; min-height: 44px; }

.lp-nav-login { font-size: 14px; font-weight: 600; padding: 10px 0; }
.lp-nav-login:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* The register door of the header is the primary button, a size down. */
.lp-nav-cta { min-height: 44px; padding: 9px 16px; font-size: 14px; }

/* Burger + mobile overlay (hidden on desktop). A square with the grey edge of every
   control, two bars inside. */
.lp-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--lp-white);
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  cursor: pointer;
}

.lp-burger span:not(.sr-only) { width: 20px; height: 2px; background: var(--lp-ink); }

/* Das Panel MUSS scrollen koennen. Es fuellt den Bildschirm (inset: 0), und sein
   Inhalt ist mit dem Umbau vom 20.08.2026 von fuenf Eintraegen auf 25 gewachsen:
   gemessen 1355px Inhalt in einem 844px hohen Fenster. Ohne overflow-y lagen zehn
   Eintraege ausserhalb und waren durch nichts erreichbar. overscroll-behavior haelt
   das Wischen im Panel, statt es auf die Seite darunter durchzureichen.
   Guard: spec/system/mobile_menu_spec.rb */
.lp-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--lp-paper);
  display: flex;
  flex-direction: column;
  padding: 14px var(--lp-gutter) 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Nothing in the panel shrinks: it is taller than a phone, and a flex column that may
   shrink its children squeezed the language switch (overflow: hidden, so no minimum
   height) to a 2px line instead of letting the panel scroll. */
.lp-menu > * { flex-shrink: 0; }

.lp-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--lp-line-light);
}

.lp-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--lp-white);
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  font-size: 18px;
  line-height: 1;
  color: var(--lp-ink);
  cursor: pointer;
}

.lp-menu-links { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
/* A class, not `.lp-menu-links a`: that selector also matched the subentries, came
   later than .lp-menu-sub a with the same specificity, and set them in 20px bold like
   the entries they belong to (until 12.10.2026). */
.lp-menu-top { font-family: var(--lp-font-display); font-size: 21px; font-weight: 700; padding: 10px 0; }
.lp-menu-row { display: flex; align-items: center; justify-content: space-between; }
.lp-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--lp-ink);
  font-size: 18px;
}
.lp-menu-toggle i { display: inline-block; transition: transform 150ms ease-out; }
.lp-menu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.lp-menu-ctas { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.lp-menu-github { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  gap: 48px;
  padding-block: var(--lp-band-hero) var(--lp-band-md);
  align-items: center;
}

.lp-hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

.lp-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.lp-hero .lp-actions .lp-btn { min-height: 48px; padding: 13px 22px; }

/* Above the hero heading: the label of the page as plain mono text with the lime
   square, and no frame. The open-source badge that stood above it went on 22.11.2026;
   the label says it now. */
.lp-eyebrow--dot { gap: 8px; font-size: 12px; letter-spacing: 0.04em; color: var(--lp-ink); }
.lp-eyebrow--dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lp-accent);
  border: 1px solid var(--lp-black);
  flex: none;
}

/* Two parts of one label, joined by the same dash as the numbered section labels. */
.lp-eyebrow--pair { gap: 0; }
.lp-eyebrow--pair span + span::before {
  content: "\00a0\2014\00a0";
  content: "\00a0\2014\00a0" / "";
}

/* The repository under the two doors: a line of its own (the full basis breaks it out
   of their row), a proof and not a third door. */
.lp-star-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  min-height: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text-2);
}
.lp-star-link:hover { color: var(--lp-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* The stars the repository has, like the count beside GitHub's own star button. */
.lp-star-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: var(--lp-border-fine);
  border-radius: var(--lp-r-control);
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-ink);
}
.lp-star-count .bi { font-size: 11px; }

/* The reassurance line under the doors, small and quiet, dot-separated. */
.lp-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 12px;
  color: var(--lp-text-3);
}
/* Every item brings its dot, and the line clips the first 20px of each row: a dot that
   would start a wrapped row is cut away, so four items may wrap at any width. */
.lp-assure { margin-left: -20px; clip-path: inset(0 0 0 20px); }
.lp-assure span::before {
  content: '\00b7';
  content: '\00b7' / '';
  display: inline-block;
  width: 20px;
  text-align: center;
}

/* ---------- schematic app window (static, no function) ----------
   HTML, not a picture: it changes language with the page, stays sharp and is kept in
   the locale files. Schematic like the real app, not pixel-true. Demo data consistent
   with the screenshots: the client Deichblick and the same five people. */

/* A window of the product, drawn or photographed: the grey shadow sets it apart from
   the cards around it (landing_tokens.css, --lp-shadow-window). */
.lp-win {
  /* A window is a drawing at its own scale: its corner stays, and a card inside it
     takes the window's corner, not the page's. */
  --lp-r-card: var(--lp-r-window);
  border: var(--lp-border-ink);
  border-radius: var(--lp-r-window);
  overflow: hidden;
  background: var(--lp-white);
  box-shadow: var(--lp-shadow-window);
  margin: 0;
}

.lp-win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--lp-paper-muted);
  border-bottom: 2px solid var(--lp-black);
}

.lp-win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--lp-black);
  background: var(--lp-white);
  flex: none;
}

.lp-win-url { margin-left: 8px; font-size: 11px; color: var(--lp-text-3); }

.lp-win-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }

.lp-win-side {
  background: var(--lp-paper-muted);
  border-right: var(--lp-border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--lp-text-2);
}

.lp-win-nav { padding: 5px 8px; }
.lp-win-nav:last-of-type { margin-bottom: 8px; }

.lp-win-side-label {
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* The label tone, not the grey of the dashed outlines: on the muted sidebar that grey
     measures 4.1:1 since the ground turned darker, this one 5.3:1. */
  color: var(--lp-text-3);
}

.lp-win-proj { padding: 5px 8px; border-radius: var(--lp-r-control); }
.lp-win-proj--open { font-weight: 700; color: var(--lp-ink); }
.lp-win-proj--active { margin-left: 10px; background: var(--lp-white); font-weight: 600; color: var(--lp-ink); }

.lp-win-main { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp-win-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lp-win-head-copy { display: flex; flex-direction: column; }
.lp-win-title { font-size: 18px; font-weight: 700; }
.lp-win-sub { font-size: 11px; color: var(--lp-text-3); }

/* The green plus of the app, in the logo's style. */
.lp-win-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--lp-r-control);
  border: var(--lp-border);
  background: var(--lp-accent);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  flex: none;
}

.lp-win-cols,
.lp-win-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 100px 24px;
  gap: 12px;
  align-items: center;
}

.lp-win-cols {
  padding: 0 2px 6px;
  border-bottom: var(--lp-border);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--lp-border-strong);
}

.lp-win-rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.lp-win-row { padding: 6px 2px 8px; border-bottom: 1px solid var(--lp-line-light); font-size: 12px; }
.lp-win-no { font-size: 10px; color: var(--lp-border-strong); }
.lp-win-row-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-win-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--lp-text-2); white-space: nowrap; }
.lp-win-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-border-strong); flex: none; }
.lp-win-status--new::before { background: var(--lp-status-new); }
.lp-win-status--wip::before { background: var(--lp-status-wip); }
.lp-win-status--done::before { background: var(--lp-status-done); }

.lp-win-who {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  border-radius: 3px;
  background: var(--lp-line-light);
  border: var(--lp-border);
  font-size: 8.5px;
  font-weight: 700;
}

/* The assistant's answer: the one element of the window that must never be cut, it
   is the differentiator the whole page argues for. */
.lp-ai {
  margin-top: 6px;
  border: var(--lp-border);
  border-radius: 6px;
  padding: 12px;
  background: var(--lp-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-ai-q {
  align-self: flex-end;
  max-width: 90%;
  background: #F0F0EC;
  border-radius: var(--lp-r-frame);
  padding: 6px 12px;
  font-size: 11.5px;
}
.lp-ai-a { font-size: 12px; line-height: 1.55; color: var(--lp-ink); }
.lp-ai-sources { display: flex; gap: 6px; flex-wrap: wrap; }

.lp-chip {
  font-size: 9.5px;
  background: var(--lp-white);
  border: var(--lp-border);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--lp-ink);
}

/* Hero demo (hero_demo_controller): the window plays the question and the answer.
   .lp-win--demo is set only by the controller, so without JavaScript nothing here
   applies. Everything waiting for its turn keeps its place and is only invisible: the
   window keeps its height while it plays, the page beside it never jumps. */
.lp-win--demo .lp-ai-q { opacity: 0; transition: opacity 200ms ease-out; }
.lp-win--asking .lp-ai-q { opacity: 1; }
.lp-win--demo .lp-ai-q .lp-demo-bit { visibility: hidden; }
.lp-win--demo .lp-ai-q .lp-demo-bit.is-shown { visibility: visible; }
/* The caret: a line behind the last letter typed, taken back out of the width so the
   text does not wrap differently while it blinks. */
.lp-win--demo .lp-ai-q .is-caret {
  border-right: 1.5px solid var(--lp-ink);
  margin-right: -1.5px;
  animation: lp-demo-caret 900ms steps(1) infinite;
}

.lp-win--demo .lp-ai-a { position: relative; }
.lp-win--demo .lp-ai-a .lp-demo-bit { opacity: 0; transition: opacity 180ms ease-out; }
.lp-win--demo .lp-ai-a .lp-demo-bit.is-shown { opacity: 1; }
/* The assistant thinking: three dots where the answer will begin. */
.lp-win--thinking .lp-ai-a::before {
  content: "\25CF\2009\25CF\2009\25CF";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--lp-text-3);
  animation: lp-demo-think 900ms ease-in-out infinite;
}

.lp-win--demo .lp-ai-sources .lp-chip {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.lp-win--demo .lp-ai-sources .lp-chip.is-shown { opacity: 1; transform: none; }

/* The ticket the answer cites as [1] lights up in the list while the answer stands. */
.lp-win--demo .lp-win-row { transition: background 300ms ease-out; }
.lp-win--demo .lp-win-row--cited { background: var(--lp-accent-tint); }

.lp-win--clearing .lp-ai-q,
.lp-win--clearing .lp-ai-a,
.lp-win--clearing .lp-ai-sources { opacity: 0; transition: opacity 400ms ease-out; }
/* Behind the faded box the pieces go at once; with their own fade they would flash up
   when the box comes back for the next round. */
.lp-win--clearing .lp-demo-bit,
.lp-win--clearing .lp-ai-sources .lp-chip { transition: none; }

@keyframes lp-demo-caret { 50% { border-right-color: transparent; } }
@keyframes lp-demo-think { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- trust strip ----------
   Straight under the hero, full width, static. It replaced the animated marquee: the
   same five claims (static.marquee), one line, nothing that moves. */

.lp-trust-strip { background: var(--lp-white); border-block: 2px solid var(--lp-line-light); }

.lp-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin-block: 0;
  padding-block: 18px;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-trust-list li { display: flex; align-items: center; gap: 10px; }
.lp-trust-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--lp-accent);
  border: 1px solid var(--lp-black);
  flex: none;
}

/* ---------- section heads ---------- */

/* Label, heading and lead of a section, stacked. */
.lp-head { display: flex; flex-direction: column; gap: 22px; }
.lp-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.lp-head--split > div { display: flex; flex-direction: column; gap: 22px; }

/* ---------- "five tools become one": before / after ----------
   One question of a client, shown twice: without Lalabase as five tilted cards (the
   only rotated things on the site, the disorder is the statement), with Lalabase as
   the assistant's answer. Without JavaScript both halves stand one under the other
   and the switch stays hidden: before_after_controller.js shows it and folds. */

.lp-swap { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }

.lp-ba {
  margin-top: 14px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow: hidden;
}

.lp-ba-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 2px solid var(--lp-line-light);
}

.lp-ba-case { font-size: 12px; font-weight: 700; }

.lp-ba-switch {
  display: flex;
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  overflow: hidden;
}

.lp-ba-btn {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  background: var(--lp-white);
  font-family: var(--lp-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-ink);
  cursor: pointer;
}
.lp-ba-btn + .lp-ba-btn { border-left: 2px solid var(--lp-control-line); }
.lp-ba-btn[aria-pressed="true"] { background: var(--lp-line-light); }
.lp-ba-btn--after[aria-pressed="true"] { background: var(--lp-accent); }

.lp-ba-stage { background: var(--lp-paper-muted); padding: 40px 28px; display: flex; flex-direction: column; gap: 40px; }
/* On the muted band the stage takes the page ground, or it melts into the band. */
.lp-sec--muted .lp-ba-stage { background: var(--lp-paper); }
/* With the switch both halves share one cell, the hidden one invisible but still in
   the layout: the box takes the height of the taller half and keeps it, so turning
   from "without" to "with" (by hand or by itself) never moves the page below. */
.lp-ba-stage--switching { min-height: 380px; display: grid; align-items: center; }
.lp-ba-stage--switching > * { grid-area: 1 / 1; }
.lp .lp-ba-stage--switching > .lp-ba-before[hidden] { display: flex !important; visibility: hidden; }
.lp .lp-ba-stage--switching > .lp-ba-after[hidden] { display: grid !important; visibility: hidden; }

.lp-ba-before { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.lp-ba-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each tool a window of its own: the bar of a window, the tool's sign and name, a
   sketch of its screen (static/_tool_sketch), then the question it cannot answer on its
   own. Five of these read as five programs; five plain cards read as five notes.

   And each in a colour of its own, the one place on the site with colours besides
   lime: they are the colours of five foreign programs, and the mess of them is the
   point (doc/design/DESIGN.md allows the "before" cards their disorder). Lime stays
   ours, on the other half of the switch. The bar takes the colour in full, the card a
   tint of it, the sketch its bars; the text stays ink on the tint. */
.lp-ba-tool.lp-ba-tool--tickets { --lp-tool: #2563EB; }
.lp-ba-tool.lp-ba-tool--time { --lp-tool: #D97706; }
.lp-ba-tool.lp-ba-tool--wiki { --lp-tool: #7C3AED; }
.lp-ba-tool.lp-ba-tool--chat { --lp-tool: #DB2777; }
.lp-ba-tool.lp-ba-tool--sheet { --lp-tool: #059669; }

.lp-ba-tool {
  --lp-tool: var(--lp-border-strong);
  width: 200px;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--lp-tool) 10%, var(--lp-white));
  border: var(--lp-border);
  border-radius: 6px;
  overflow: hidden;
}
.lp-ba-tool:nth-child(1) { transform: rotate(-2deg); }
.lp-ba-tool:nth-child(2) { transform: rotate(1.5deg); }
.lp-ba-tool:nth-child(3) { transform: rotate(-1deg); }
.lp-ba-tool:nth-child(4) { transform: rotate(2deg); }
.lp-ba-tool:nth-child(5) { transform: rotate(-1.5deg); }

/* The bar and the dots take the light rule here: the ink ones belong to the product's
   window, and these five are somebody else's. */
.lp-ba-tool .lp-win-bar { padding: 6px 10px; gap: 5px; background: var(--lp-tool); border-bottom-color: var(--lp-line-light); }
.lp-ba-tool .lp-win-dot { width: 8px; height: 8px; border-color: var(--lp-line-light); }

.lp-ba-tool-app { display: flex; align-items: center; gap: 7px; padding: 10px 12px 0; }
.lp-ba-tool-app .bi { font-size: 15px; line-height: 1; color: var(--lp-tool); }
.lp-ba-tool-label { font-size: 11px; font-weight: 700; line-height: 1.3; color: var(--lp-ink); text-transform: uppercase; }

.lp-ba-tool-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.lp-ba-tool-q { font-weight: 700; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.lp-ba-tool-note { font-size: 13px; line-height: 1.4; color: var(--lp-text-3); }

/* The sketches: grey bars and dots, no words but the numbers of the hours. */
.lp-ba-sk {
  margin: 10px 12px 0;
  min-height: 54px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--lp-white);
  border: 1px solid color-mix(in srgb, var(--lp-tool) 35%, var(--lp-white));
  border-radius: 3px;
}
.lp-ba-sk-row { display: flex; align-items: center; gap: 6px; }
.lp-ba-sk-bar { display: block; flex: 1; height: 6px; border-radius: 2px; background: color-mix(in srgb, var(--lp-tool) 30%, var(--lp-white)); }
.lp-ba-sk-bar--head { flex: none; width: 70%; height: 8px; background: var(--lp-tool); }
.lp-ba-sk-bar--short { flex: none; width: 40%; }
.lp-ba-sk-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; }
.lp-ba-sk-dot--new { background: var(--lp-status-new); }
.lp-ba-sk-dot--wip { background: var(--lp-status-wip); }
.lp-ba-sk-dot--done { background: var(--lp-status-done); }
.lp-ba-sk-num { font-size: 9.5px; line-height: 1; color: var(--lp-text-2); }
.lp-ba-sk-tags { display: flex; gap: 3px; margin-left: auto; }
.lp-ba-sk-tags span { padding: 0 3px; border: var(--lp-border); border-radius: 2px; font-size: 8.5px; line-height: 1.4; color: var(--lp-text-2); }
.lp-ba-sk--chat { gap: 5px; }
.lp-ba-sk-bubble { display: block; width: 72%; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--lp-tool) 30%, var(--lp-white)); }
.lp-ba-sk-bubble--own { align-self: flex-end; background: var(--lp-white); border: 1px solid var(--lp-tool); }
.lp-ba-sk-bubble--short { width: 46%; }
.lp-ba-sk--sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; background: var(--lp-white); }
.lp-ba-sk-cell { height: 13px; border-right: 1px solid color-mix(in srgb, var(--lp-tool) 35%, var(--lp-white)); border-bottom: 1px solid color-mix(in srgb, var(--lp-tool) 35%, var(--lp-white)); }
.lp-ba-sk-cell:nth-child(4n) { border-right: 0; }
.lp-ba-sk-cell:nth-child(n + 9) { border-bottom: 0; }
.lp-ba-sk-cell:nth-child(-n + 4) { background: color-mix(in srgb, var(--lp-tool) 25%, var(--lp-white)); }

.lp-ba-verdict {
  margin: 0;
  padding: 8px 14px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  font-weight: 700;
  text-align: center;
}

.lp-ba-after { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.lp-ba-after .lp-win { border-radius: 6px; }
.lp-ba-answer { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lp-ba-answer p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--lp-text-2); }

.lp-ba-answer-badge {
  padding: 6px 12px;
  background: var(--lp-accent);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  font-weight: 700;
}

/* The assistant's answer on the "with" half: drawn in HTML after the screenshot it
   replaced (screens/<locale>/assistant), so the switch can type it. */
.lp-ba-chat { background: var(--lp-white); }
.lp-ba-chat-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--lp-text-2); }
.lp-ba-chat-q {
  align-self: flex-end;
  max-width: 85%;
  margin: 0 0 6px;
  padding: 9px 16px;
  background: #F0F0EC;
  border-radius: var(--lp-r-frame);
  color: var(--lp-ink);
}
.lp-ba-chat-meta { display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 12px; color: var(--lp-text-3); }
.lp-ba-chat-meta .bi { font-size: 13px; }
.lp-ba-chat-a { margin: 0; line-height: 1.7; }
.lp-ba-chat-ref { font-weight: 600; color: var(--lp-ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-ba-chat-toggle { align-self: flex-end; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--lp-text-2); }
.lp-ba-chat-toggle .bi { font-size: 11px; }
.lp-ba-chat-sources { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.lp-ba-chat-sources li { display: flex; align-items: center; gap: 8px; }
.lp-ba-chat-sources .bi { font-size: 14px; color: var(--lp-text-3); }
.lp-ba-chat-num { font-size: 12px; color: var(--lp-text-3); }
.lp-ba-chat-link { font-weight: 600; color: var(--lp-ink); text-decoration: underline dotted; text-underline-offset: 4px; }

/* The switch playing itself (before_after_controller). .lp-ba--demo is set only while
   it plays, so without JavaScript, with reduced motion and after a click none of this
   applies. A waiting tool is a grey placeholder of the same size and tilt: its colour
   grey, its words grey bars, no shadow, a little smaller. Nothing changes size, so the
   box keeps its height while the tools come alive. */
@property --lp-tool {
  syntax: '<color>';
  inherits: true;
  initial-value: #6B6F79;
}

.lp-ba--demo .lp-ba-tool {
  transition: --lp-tool 450ms ease-out, opacity 300ms ease-out, box-shadow 300ms ease-out,
              scale 450ms cubic-bezier(0.3, 1.5, 0.6, 1);
}
.lp-ba--demo .lp-ba-tool.is-pending {
  --lp-tool: #B4B7BD;
  opacity: 0.75;
  box-shadow: none;
  scale: 0.95;
}

.lp-ba--demo :is(.lp-ba-tool-q, .lp-ba-tool-note) { align-self: flex-start; }
.lp-ba--demo .lp-ba-tool :is(.lp-ba-tool-app .bi, .lp-ba-tool-label, .lp-ba-tool-q, .lp-ba-tool-note,
                              .lp-ba-sk-num, .lp-ba-sk-tags span) {
  border-radius: 3px;
  transition: color 300ms ease-out 150ms, background-color 300ms ease-out 150ms, border-color 300ms ease-out;
}
.lp-ba--demo .lp-ba-tool.is-pending :is(.lp-ba-tool-app .bi, .lp-ba-tool-label, .lp-ba-tool-q, .lp-ba-tool-note,
                                         .lp-ba-sk-num) {
  color: transparent;
  background-color: color-mix(in srgb, var(--lp-tool) 40%, var(--lp-white));
}
.lp-ba--demo .lp-ba-tool.is-pending .lp-ba-sk-tags span { color: transparent; border-color: var(--lp-tool); }

.lp-ba--demo .lp-ba-verdict { transition: opacity 400ms ease-out, translate 400ms ease-out; }
.lp-ba--demo .lp-ba-verdict.is-pending { opacity: 0; translate: 0 8px; }

/* The "with" half while it plays: the question typed letter by letter into the bubble,
   three dots for the thinking, the answer word by word, then its sources and the badge
   beside it. Every piece keeps its place, as the tools above. */
.lp-ba--demo .lp-ba-chat-q { opacity: 0; transition: opacity 200ms ease-out; }
.lp-ba--asking .lp-ba-chat-q { opacity: 1; }
.lp-ba--demo .lp-ba-chat-q .lp-demo-bit { visibility: hidden; }
.lp-ba--demo .lp-ba-chat-q .lp-demo-bit.is-shown { visibility: visible; }
.lp-ba--demo .lp-ba-chat-q .is-caret {
  border-right: 1.5px solid var(--lp-ink);
  margin-right: -1.5px;
  animation: lp-demo-caret 900ms steps(1) infinite;
}

.lp-ba--demo .lp-ba-chat-a { position: relative; }
.lp-ba--demo .lp-ba-chat-a .lp-demo-bit { opacity: 0; transition: opacity 180ms ease-out; }
.lp-ba--demo .lp-ba-chat-a .lp-demo-bit.is-shown { opacity: 1; }
.lp-ba--thinking .lp-ba-chat-a::before {
  content: "\25CF\2009\25CF\2009\25CF";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--lp-text-3);
  animation: lp-demo-think 900ms ease-in-out infinite;
}

.lp-ba--demo :is(.lp-ba-chat-meta, .lp-ba-chat-toggle, .lp-ba-chat-sources li, .lp-ba-answer) {
  transition: opacity 250ms ease-out, translate 250ms ease-out;
}
.lp-ba--demo :is(.lp-ba-chat-meta, .lp-ba-chat-toggle, .lp-ba-chat-sources li, .lp-ba-answer).is-pending {
  opacity: 0;
  translate: 0 4px;
}

@keyframes lp-demo-caret { 50% { border-right-color: transparent; } }
@keyframes lp-demo-think { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* While the verdict stands, a line runs out under "Mit Lalabase": the box is about to
   turn there, and the button is where to click for it. */
.lp-ba-btn { position: relative; }
.lp-ba-btn--after.is-counting::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--lp-ink);
  transform-origin: left;
  animation: lp-ba-count var(--lp-ba-read, 4s) linear forwards;
}
.lp-ba--paused .lp-ba-btn--after.is-counting::after { animation-play-state: paused; }

/* A half comes in, it does not cut in: also when the visitor switches. */
.lp-ba-stage--switching > :not([hidden]) { animation: lp-ba-in 350ms ease-out; }

@keyframes lp-ba-count { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp-ba-in { from { opacity: 0; translate: 0 8px; } }

@media (prefers-reduced-motion: reduce) {
  .lp-ba-stage--switching > :not([hidden]) { animation: none; }
}

/* ---------- cards ----------
   White on a hairline, flat. The ground under a card is dark enough for it to stand
   without a frame (22.11.2026); a card throws no shadow at rest since the review of
   05.11.2026, when with a shadow on every card nothing stood out any more (DESIGN.md,
   "Hervorhebungen staffeln"). A card that is a link takes the ink frame and lifts
   under the pointer. */

.lp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.lp-card {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}
.lp-card-title { margin: 0; font-size: var(--lp-fs-card); font-weight: 700; line-height: 1.25; }
.lp-card-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lp-text-2); }

/* The way on from a card to its page, kept on the card's bottom edge. */
.lp-card-more { margin-top: auto; padding-top: 6px; }

/* ---------- a card that leads somewhere ----------
   Two builds, one behaviour. On the overview pages the card IS the link (.lp-ft-card:
   features, "for whom"). On the home page it holds a link whose ::after covers the
   whole card (.lp-card-more), because there the card carries a heading and a text of
   its own. A visitor cannot tell the two apart and must not have to: both rest flat
   like every card, take the ink frame and the card shadow and lift under the pointer,
   go down and flat while pressed like a button, and slide the arrow of their link line
   (.lp-aud-link below). Until 22.11.2026 each build had rules of its own and they had
   drifted: one lifted and the other did not, one went down when pressed and the other
   stayed. spec/assets/link_cards_guard_spec.rb keeps both selectors in the same rules. */
.lp-ft-card,
.lp-card:has(> .lp-card-more) {
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.lp-card > .lp-card-more::after { content: ''; position: absolute; inset: 0; }
.lp-ft-card:hover,
.lp-card:has(> .lp-card-more):hover {
  border-color: var(--lp-black);
  box-shadow: var(--lp-shadow-card);
  transform: translate(-2px, -2px);
}
.lp-ft-card:active,
.lp-card:has(> .lp-card-more):active {
  box-shadow: 0 0 0 var(--lp-black);
  transform: translate(2px, 2px);
}
/* The ring of the keyboard goes around the card, as it does where the card is the link,
   not around the words of the link inside. */
.lp-card:has(> .lp-card-more:focus-visible) { outline: 2px solid var(--lp-ink); outline-offset: 3px; }
.lp-card > .lp-card-more:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-ft-card,
  .lp-card:has(> .lp-card-more) { transition: none; }
  .lp-ft-card:hover,
  .lp-card:has(> .lp-card-more):hover,
  .lp-ft-card:active,
  .lp-card:has(> .lp-card-more):active { transform: none; }
}

/* "The problem" on the home page (01): the band's own spacing like every other band,
   then three cards side by side, under the text (28px from it with the gap). */
.lp-built { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-built-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }

/* "How a project runs" on the home page (02, 18.11.2026): spaced like "The problem",
   then the three stages as an ordered list of flat cards. The stage number is counted
   here, never typed, like the section numbers: the order is the statement. */
.lp-flow { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-flow-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: lp-flow-step;
}
.lp-flow-step { counter-increment: lp-flow-step; }
.lp-flow-step::before {
  content: counter(lp-flow-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lp-text-3);
}

/* ---------- what's inside (home) ----------
   Rows with a big picture, text and picture alternating (static/index), then two
   cards. The picture gets seven twelfths of the column: smaller, a screenshot shows
   nothing. */

.lp-bento { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }

.lp-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  margin-top: 28px;
}
.lp-feature-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-feature-row--flip .lp-feature-copy { order: 2; }

.lp-feature-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lp-feature-title { margin: 0; font-size: var(--lp-fs-sub); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

/* Three cards in a row, one per row on narrower screens (see the 1023px block). */
.lp-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

/* The rows are tabs on every screen since 22.11.2026 (on phones since 06.11.2026): one
   row at a time, chosen with the pills above them. feature_tabs_controller marks the
   section and the rows; until it has connected, and without JavaScript, the tabs stay
   hidden and every row shows. The label of a row goes, the tab says it. */
.lp-feature-tabs { display: none; }
.lp-bento--tabbed .lp-feature-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lp-bento--tabbed .lp-feature-row--off { display: none; }
.lp-bento--tabbed .lp-feature-row { margin-top: 18px; }
.lp-bento--tabbed .lp-feature-copy > .lp-card-label { display: none; }
/* Text left and picture right in every tab, so the layout does not flip from one tab to
   the next; only where the rows stand in two columns at all (below 1024px they stack).
   Each row keeps its own height. Reserving the height of the tallest picture was
   tried: it left a hole of 190px under the short ones, and the assistant, the tab a
   visitor sees first, is one of them. */
@media (min-width: 1024px) {
  .lp-bento--tabbed .lp-feature-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .lp-bento--tabbed .lp-feature-copy { padding-top: 12px; }
  .lp-bento--tabbed .lp-feature-row--flip .lp-feature-copy { order: 0; }
}

/* A tab is a pill with the grey edge of a control. The chosen one is lime in an ink
   frame and stands on a hard shadow, so the row reads as buttons before the pointer is
   anywhere near it; the others answer the pointer the same way. */
.lp-feature-tab {
  min-height: 44px;
  padding: 8px 18px;
  border: var(--lp-border-control);
  border-radius: var(--lp-r-pill);
  background: var(--lp-white);
  color: var(--lp-ink);
  font-family: var(--lp-font-body);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.lp-feature-tab:hover,
.lp-feature-tab[aria-pressed="true"] { border-color: var(--lp-black); box-shadow: var(--lp-shadow-s); }
.lp-feature-tab[aria-pressed="true"] { background: var(--lp-accent); }

/* Large, but no taller than they need to be (review of 05.11.2026): the three tall
   pictures stop at a line in the picture, as a window shows the top of a longer page.
   The values are pixel rows of the files (ScreensHelper::SCREENS), checked in both
   languages: the ticket below its first comment, the times below the last entry, the
   meeting after the first line of the transcript. Above the phone width only; the
   phone crops have their own bounds. Check the cuts after a new capture. */
@media (min-width: 768px) {
  .lp-feature-row .lp-shot-img--ticket_assistant,
  .lp-feature-row .lp-shot-img--time,
  .lp-feature-row .lp-shot-img--meeting { object-fit: cover; object-position: left top; }
  .lp-feature-row .lp-shot-img--ticket_assistant { aspect-ratio: 1600 / 850; }
  .lp-feature-row .lp-shot-img--time { aspect-ratio: 1600 / 1150; }
  .lp-feature-row .lp-shot-img--meeting { aspect-ratio: 1572 / 1205; }
}

/* ---------- real product pictures (ScreensHelper) ---------- */

.lp-shot { margin: 0; }
/* With a phone crop the image stands in a <picture> (ScreensHelper#screen_frame). */
.lp-shot-picture { display: block; }
.lp-shot-img { display: block; width: 100%; height: auto; }

/* ---------- prices on the home page / your server or ours ---------- */

.lp-choice { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding-top: 14px;
}
.lp-choice-note { margin: 0; font-size: 14px; color: var(--lp-text-3); }
.lp-choice-link { margin-top: auto; }

/* ---------- security (dark) ---------- */

.lp-security {
  padding-block: var(--lp-band-md);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}

.lp-security-copy { display: flex; flex-direction: column; gap: 22px; }

.lp-sec--dark .lp-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

/* Cards on ink: the faint hairline of the dark band, flat like every card. */
.lp-sec--dark .lp-card {
  background: transparent;
  padding: 20px;
  gap: 6px;
}
.lp-sec--dark .lp-card-title { font-size: 19px; }
.lp-sec--dark .lp-card-text { color: var(--lp-on-dark-2); }

/* ---------- voices and numbers (static/_proof) ----------
   Shown only once there is real content. Quotes as flat cards with the words large and
   the person under them; the numbers in one row between two rules like the trust strip. */
.lp-proof { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-proof-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 28px; padding-top: 14px; }
/* Stories (18.11.2026): flat cards that link the full story, side by side once there
   are two; a single one keeps a reading width instead of stretching over the column. */
.lp-proof-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 22px; padding-top: 6px; }
.lp-proof-story:only-child { max-width: 760px; }
.lp-proof-quote { margin: 0; padding: var(--lp-pad-card); background: var(--lp-white); border: var(--lp-border); border-radius: var(--lp-r-card); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.lp-proof-quote blockquote { margin: 0; }
.lp-proof-quote p { margin: 0; font-family: var(--lp-font-display); font-size: var(--lp-fs-card); font-weight: 600; line-height: 1.4; }
.lp-proof-quote figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: var(--lp-border-fine); }
.lp-proof-name { font-weight: 700; }
.lp-proof-role { font-size: 12px; letter-spacing: 0.02em; color: var(--lp-text-3); }
.lp-proof-facts { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 0; border-block: var(--lp-border); }
.lp-proof-fact { flex: 1 1 200px; display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 22px; }
.lp-proof-fact + .lp-proof-fact { border-left: var(--lp-border-fine); }
.lp-proof-fact dt { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lp-text-3); }
.lp-proof-fact dd { margin: 0; font-family: var(--lp-font-display); font-size: var(--lp-fs-sub); font-weight: 700; letter-spacing: -0.02em; }

/* The move offer at the end of the price section (static/_redmine_offer): a white box
   across both cards, flat, so the two price cards above stay the things to choose. */
.lp-redmine {
  margin-top: 14px;
  padding: 28px 32px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.lp-redmine-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-redmine-title { margin: 0; font-size: var(--lp-fs-sub); line-height: 1.2; font-weight: 700; }

/* ---------- founder ---------- */

.lp-founder {
  padding-block: var(--lp-band-md);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lp-founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
}

.lp-founder-copy { display: flex; flex-direction: column; gap: 20px; }
.lp-founder-contacts { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lp-founder-role { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-text-3); }

/* The phone as a button that also says when somebody answers. */
.lp-btn--phone { flex-direction: column; align-items: flex-start; gap: 0; padding-block: 8px; }
.lp-btn-sub { font-size: 11px; font-weight: 400; color: var(--lp-text-3); }

/* ---------- FAQ ----------
   One card, the questions on 2px rules. Each question is a button with its number,
   the question and a plus/minus box that turns lime when it is open. */

.lp-faq { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-faq-head { display: flex; flex-direction: column; gap: 22px; }

.lp-faq-items {
  margin-top: 10px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow: hidden;
}

.lp-faq-item { border-bottom: 2px solid var(--lp-line-light); }
.lp-faq-item:last-child { border-bottom: 0; }

.lp-faq-item > button {
  width: 100%;
  min-height: 64px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--lp-font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--lp-ink);
  cursor: pointer;
}

/* The numbers are counted here, not rendered (static/_faq_items): a question hidden on
   a phone does not count, so the list still starts at 01 and has no gaps. */
.lp-faq-items { counter-reset: faq; }
.lp-faq-item { counter-increment: faq; }
.lp-faq-no::before { content: counter(faq, decimal-leading-zero); }
.lp-faq-no { flex: none; min-width: 20px; font-size: 12px; color: var(--lp-text-3); }
.lp-faq-q { flex: 1; }

.lp-faq-chip {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  font-size: 16px;
  transition: background 120ms ease;
}
.lp-faq-item > button[aria-expanded="true"] .lp-faq-chip { background: var(--lp-accent); }
.lp-faq-chip i { -webkit-text-stroke: 0.5px; }

.lp-faq-panel { padding: 0 22px 22px 58px; }
.lp-faq-panel.hidden { display: none; }
.lp-faq-panel p,
.lp-faq-panel .faq-answer { margin: 0; font-size: 16px; line-height: 1.6; color: var(--lp-text-2); max-width: 820px; }
.lp-faq-panel ul { padding-left: 1.2em; margin: 0.5em 0; display: flex; flex-direction: column; gap: 0.4em; list-style: disc; }
.lp-faq-panel .mt-3 { margin-top: 12px; }

.lp-faq-note { font-size: 13px; color: var(--lp-text-3); }
.lp-faq-more { margin: 4px 0 0; }

/* ---------- closing block ----------
   The end of a page: a lime block, 2px framed, the large shadow. Heading and sentence
   on the left, the two doors stacked on the right. static/_closing_cta. */

.lp-closing { padding-block: var(--lp-band-md) var(--lp-band-lg); }

.lp-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: 56px 48px;
  background: var(--lp-accent);
  color: var(--lp-ink);
  border: var(--lp-border-ink);
  border-radius: var(--lp-r-frame);
  box-shadow: var(--lp-shadow-l);
}

.lp-cta-copy { display: flex; flex-direction: column; gap: 16px; }
.lp-cta .lp-kicker { color: var(--lp-ink); }
.lp-cta-sub { margin: 0; font-size: 18px; line-height: 1.6; max-width: 34em; color: var(--lp-ink); }

.lp-cta-actions { flex-direction: column; align-items: stretch; padding-top: 0; }
.lp-cta-actions .lp-btn { min-height: 52px; padding: 14px 24px; font-size: 17px; }

/* On lime the primary door throws a white shadow: a lime one would vanish. */
.lp-cta .lp-btn--primary { box-shadow: 4px 4px 0 var(--lp-white); }
.lp-cta .lp-btn--primary:hover { box-shadow: 6px 6px 0 var(--lp-white); }
.lp-cta .lp-btn--primary:active { box-shadow: 0 0 0 var(--lp-white); }

.lp-cta-note { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.lp-cta-byline { font-size: 12px; color: var(--lp-text-2); }
.lp-cta-link { color: var(--lp-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- footer ---------- */

.lp-footer { background: var(--lp-ink); color: var(--lp-on-dark-2); }

.lp-footer-in {
  max-width: calc(1200px + 2 * var(--lp-gutter));
  margin: 0 auto;
  padding: 56px var(--lp-gutter) 32px;
}

/* Marke plus FUENF Linkspalten seit dem 22.08.2026. */
.lp-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; }

.lp-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.lp-footer .lp-brand { color: var(--lp-on-dark); }
.lp-footer-desc { margin: 0; font-size: 14px; line-height: 1.5; max-width: 26em; color: #B9BCC2; }
.lp-footer-github { align-self: flex-start; font-size: 20px; line-height: 1; color: var(--lp-on-dark); }
.lp-footer-github:hover { color: var(--lp-accent); }

/* Column heads in lime capitals: the one place lime carries text, on ink, at 13:1. */
.lp-footer-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-accent);
}

/* The groups are <details> so they can fold on a phone; from the tablet width up the
   summary is a plain heading that does not toggle (footer_groups_controller). */
.lp-footer-group > summary { display: block; list-style: none; pointer-events: none; }
.lp-footer-group > summary::-webkit-details-marker { display: none; }

.lp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-footer ul a { font-size: 14px; color: var(--lp-on-dark); }
.lp-footer ul a:hover { text-decoration: underline; text-decoration-color: var(--lp-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Updates strip under the link columns (16.11.2026): the newest additions and the way to
   /de/updates. Text, not links, except the one link at the end. */
.lp-footer-updates {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--lp-text-2);
  display: grid;
  grid-template-columns: 1.6fr 4fr auto;
  gap: 28px;
  align-items: start;
}

.lp-footer-updates-head .lp-footer-title { margin-bottom: 6px; }
.lp-footer-updates-lead { margin: 0; font-size: 14px; color: var(--lp-on-dark); }
.lp-footer .lp-footer-updates-list { gap: 8px; }
.lp-footer-updates-list li { font-size: 14px; line-height: 1.5; color: #B9BCC2; }
.lp-footer-updates-all { font-size: 14px; font-weight: 700; color: var(--lp-on-dark); white-space: nowrap; }
.lp-footer-updates-all:hover { text-decoration: underline; text-decoration-color: var(--lp-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.lp-footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-text-2);
  font-size: 13px;
  color: #B9BCC2;
}

/* ============================================================
   Pricing page.
   ============================================================ */

/* ---------- page head ---------- */

.lp-phead {
  padding-block: var(--lp-band-hero) var(--lp-band-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.lp-ph1 { font-size: var(--lp-fs-display); line-height: 1.04; }
.lp-phead-lead { max-width: 36em; }
.lp-phead-lead strong { color: var(--lp-ink); }

/* Monthly/yearly toggle: a segmented control like the language switch, the chosen
   interval filled lime. */
.lp-toggle {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  overflow: hidden;
  background: var(--lp-white);
}

.lp-toggle-indicator {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--lp-accent);
  pointer-events: none;
  visibility: hidden;
}
.lp-toggle--animated .lp-toggle-indicator { visibility: visible; }
.lp-toggle--animated .lp-toggle-seg { background: transparent; }

.lp-toggle-seg {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  background: var(--lp-white);
  font-family: var(--lp-font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--lp-ink);
  cursor: pointer;
}
.lp-toggle-seg + .lp-toggle-seg { border-left: 2px solid var(--lp-control-line); }
/* Keep the keyboard outline inside the clipped control. */
.lp .lp-toggle-seg:focus-visible { outline-offset: -5px; }

.lp-toggle-on { background: var(--lp-accent); }
.lp-toggle-off { background: var(--lp-white); }

.lp-toggle-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border: var(--lp-border-fine);
  border-radius: 3px;
  background: var(--lp-white);
}

/* ---------- plan cards ----------
   A card with a head band: the head carries the name, the amount and its terms, the
   body what is in it and the door. The recommended card has the lime head, Self-Hosting
   the white one, exactly one is lime. */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-block: var(--lp-band-sm);
  align-items: stretch;
}
/* A price per person without a level for "Cloud mit KI" has ONE Cloud card next to
   Self-Hosting: two columns instead of a gap where the third card was. */
.lp-plans--pair { grid-template-columns: repeat(2, minmax(0, 480px)); }

/* Every card spans three rows of the grid it stands in and takes them over as its own
   (subgrid): head, what is in it, the door. Each row is as tall as the tallest of its
   kind in the row of cards, so the head bands end on one line and the doors stand on
   one, whatever the cards carry. The card's own row gap is zero, so its parts touch;
   the grid's gap still keeps the cards apart. */
.lp-plan {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: var(--lp-white);
  border: var(--lp-border-ink);
  border-radius: var(--lp-r-card);
}

/* The card does not clip (overflow: hidden would cut the flag on its top edge off), so
   the head follows the card's inner corners itself: the outer radius less the border. */
.lp-plan-head {
  padding: 26px 28px;
  border-bottom: 2px solid var(--lp-black);
  border-radius: calc(var(--lp-r-card) - 2px) calc(var(--lp-r-card) - 2px) 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-plan--team .lp-plan-head { background: var(--lp-accent); }
/* The one card with a shadow: the recommended plan (DESIGN.md, "Hervorhebungen
   staffeln": a shadow only where the eye should go first). */
.lp-plan--team { box-shadow: var(--lp-shadow-card); }

/* Self-Hosting is the honest alternative, not the offer: a muted card with a grey
   frame, as on the pages before the redesign (review of 05.11.2026). The cloud is
   what we sell; a white card as heavy as the cloud's steered as much to "0 €". */
.lp-plan--self { background: var(--lp-paper-muted); border-color: var(--lp-border-strong); }
.lp-plan--self .lp-plan-head { border-bottom-color: var(--lp-border-strong); }

/* The body is no box of its own: its two parts are rows of the card, so they can line
   up with their neighbours. The spacing it used to give them sits on them instead. */
.lp-plan-body { display: contents; }
/* Two classes deep, so the spacing beats the parts' own `padding: 0` (the feature list
   resets its list padding and comes later in this file). */
.lp-plan > .lp-plan-body > * { padding-inline: 28px; }
.lp-plan > .lp-plan-body > :first-child { padding-top: 22px; }
.lp-plan > .lp-plan-body > :last-child { padding-top: 20px; padding-bottom: 28px; }

.lp-plan-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-plan-kind { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* "Empfohlen" as a flag on the top edge of the card, as on the pages before the
   redesign: it marks the card without pushing its title down, so the titles of a row
   start on one line. Ink, so it stands out against the lime head it overlaps. */
.lp-plan-badge {
  position: absolute;
  top: -2px;
  right: 24px;
  transform: translateY(-50%);
  padding: 4px 10px;
  background: var(--lp-ink);
  color: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lp-plan-title { margin: 0; font-size: var(--lp-fs-sub); font-weight: 700; letter-spacing: -0.02em; }
.lp-plan-audience { margin: 0; font-size: 14.5px; color: var(--lp-text-2); }

.lp-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }

/* Both billing blocks occupy the same grid cell, reserving the taller one's
   height. Hidden terms stay invisible and out of the accessibility tree. */
.lp-plan-billing { display: grid; }
.lp-plan-billing > [data-interval] { grid-area: 1 / 1; min-width: 0; }
.lp .lp-plan-billing > [hidden] { display: block !important; visibility: hidden; }

.lp-plan-amount { position: relative; display: inline-block; font-size: 48px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-price-text { color: transparent; }
.lp-price-roll { position: absolute; inset: 0; display: inline-flex; white-space: pre; pointer-events: none; }
.lp-price-digit { position: relative; display: inline-block; height: 1.05em; overflow: clip; }
.lp-price-digit-track { display: flex; flex-direction: column; }
.lp-price-digit-track > span { flex: 0 0 1.05em; height: 1.05em; }
@media (prefers-reduced-motion: reduce) {
  .lp-price-text { color: inherit; }
  .lp-price-roll { visibility: hidden; }
}
.lp-plan-amount--accent { color: var(--lp-ink); }
.lp-plan-amount--text { font-size: 34px; letter-spacing: -0.02em; }
.lp-plan-per { font-size: 15px; font-weight: 600; color: var(--lp-text-2); }

.lp-plan-terms { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--lp-text-2); }

.lp-plan-escape { margin: 6px 0 0; font-size: 11.5px; color: var(--lp-text-2); }

/* Was eine Cloud-Karte von der anderen unterscheidet (Tarifarten cloud und cloud_ai):
   die Zeile unter dem Titel und das erste Merkmal, beide fett, damit die Antwort auf
   "welche nehme ich" vor dem Betrag steht. */
.lp-plan-diff { margin: 0; font-size: 15px; font-weight: 700; color: var(--lp-ink); }
.lp-plan-feature--key { font-weight: 700; color: var(--lp-ink); }

.lp-plan-founder-hint { margin: 10px 0 0; }
.lp-plan-sep { display: none; }

.lp-plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.lp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lp-text-2);
}

.lp-plan-features .lp-plan-features-intro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

/* The check: a small lime box like the trust strip's squares. */
.lp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--lp-accent);
  border: var(--lp-border-fine);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1;
  color: var(--lp-ink);
}
.lp-arrow { color: var(--lp-text-3); }

.lp-plan-cta { display: flex; flex-direction: column; gap: 10px; }
.lp-plan-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lp-text-3); }
/* The way to ask ("Sprich uns an") stands on a line of its own under the sentence that
   offers the help, and never breaks in two: split over two lines it read as two links. */
.lp-plan-note .lp-link { display: block; width: fit-content; margin-top: 4px; white-space: nowrap; }

/* ---------- founder offer band ---------- */

.lp-offer {
  padding-block: var(--lp-band-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.lp-offer-copy { display: flex; flex-direction: column; gap: 16px; }

.lp-offer-headline {
  margin: 0;
  font-size: var(--lp-fs-sub);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 30em;
}

.lp-offer-process { font-size: 16px; max-width: 44em; }

/* ---------- ladder section ---------- */

.lp-ladder {
  padding-block: var(--lp-band-md);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.lp-ladder-copy { display: flex; flex-direction: column; gap: 20px; }
.lp-h2--ladder { font-size: var(--lp-fs-section); }
.lp-ladder-copy .lp-body { font-size: 16.5px; }

.lp-ladder-rule {
  background: var(--lp-accent-tint);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: 16px 18px;
}

.lp-ladder-rule-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.lp-ladder-rule-body { margin: 0; font-size: 14px; line-height: 1.55; color: var(--lp-text-2); }

/* ---------- tables ----------
   A real <table> in a framed container that scrolls sideways when it does not fit:
   the frame carries the border, the table its rules. */

.lp-table-frame {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow-x: auto;
}

.lp-table { width: 100%; border-collapse: collapse; }

.lp-th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--lp-line-light);
}

.lp-td { padding: 14px 20px; font-size: 15px; border-bottom: var(--lp-border-fine); }
.lp-tr:last-child .lp-td { border-bottom: none; }
.lp-td--seats { font-weight: 600; white-space: nowrap; }
.lp-td--num { text-align: right; white-space: nowrap; }
.lp-tr--cap { background: var(--lp-accent-tint); }
.lp-tr--cap .lp-td { font-weight: 700; }
.lp-td--accent { font-weight: 700; }

.lp-ladder-note { margin: 16px 2px 0; font-size: 13px; color: var(--lp-text-3); }
.lp-ladder-best { margin: 10px 2px 0; font-size: 14px; font-weight: 700; color: var(--lp-ink); }

/* ---------- price FAQ ---------- */

.lp-pfaq { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-pfaq-head { display: flex; flex-direction: column; gap: 22px; }

/* Two by two: four questions in three columns left one hanging alone. */
.lp-pfaq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 22px; padding-top: 10px; }

.lp-pfaq-tile {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
}
.lp-pfaq-q { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.lp-pfaq-a { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lp-text-2); }

/* ---------- closing CTA extras ---------- */

.lp-h2--pcta { font-size: var(--lp-fs-title); letter-spacing: -0.035em; }

.lp-trust {
  display: flex;
  gap: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.lp-trust-sep { color: var(--lp-ink); }

.lp-cta-legal { margin: 0; font-size: 13px; line-height: 1.55; color: var(--lp-text-2); max-width: 60em; }

@media (max-width: 1023px) {
  .lp-plans, .lp-plans--pair { grid-template-columns: minmax(0, 1fr); }
  /* The recommended tier first when the cards stack. */
  .lp-plan--team { order: -1; }
  .lp-ladder { grid-template-columns: 1fr; gap: 32px; }
  .lp-offer { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 767px) {
  .lp-toggle { width: 100%; }
  .lp-toggle-seg { flex: 1; justify-content: center; font-size: 13.5px; padding-inline: 10px; }

  .lp-plans { gap: 22px; }
  .lp-plan-head, .lp-plan > .lp-plan-body > * { padding-inline: 20px; }
  .lp-plan-badge { right: 16px; }
  .lp-plan-amount { font-size: 40px; }

  /* Self-Hosting becomes a compact card on a phone: title and amount carry the
     message, the feature lists already sit in the Cloud card. */
  .lp-plan--duo .lp-plan-features,
  .lp-plan--self .lp-plan-features { display: none; }

  /* Ladder: drop the per-person column instead of scrolling sideways. */
  .lp-col-pp { display: none; }
  .lp-th, .lp-td { padding: 11px 14px; font-size: 13.5px; }
}

/* ============================================================
   Legal pages. One shared chrome: page head with date badge, sticky TOC sidebar,
   reusable blocks (value table, metadata bar, summary box), slim dark footer.
   No shadows and nothing of the signature: a legal text is read, not shown.
   ============================================================ */

.lp-lg-head {
  padding: 56px 56px 40px;
  border-bottom: 2px solid var(--lp-line-light);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.lp-lg-head-copy { display: flex; flex-direction: column; gap: 16px; }

.lp-lg-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-lg-h1 { margin: 0; font-size: var(--lp-fs-title); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.lp-lg-sub { margin: 0; font-size: 16px; color: var(--lp-text-2); }

/* Under the heading of an English legal page: it is a machine translation and the
   German original binds (static/legal/_translation_note). Information rather than a
   warning, so no colour: a rule on the left sets it off from the sub-heading above. */
.lp-lg-lang-note {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--lp-line-light);
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-text-2);
}

.lp-lg-stand-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-ink);
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  padding: 7px 12px;
  white-space: nowrap;
}

/* Row of the other legal pages -- visible only when the sidebar is gone. */
.lp-lg-pills { display: none; gap: 8px; flex-wrap: wrap; padding: 16px 18px 0; }

.lp-lg-pills a,
.lp-lg-pills .lp-lg-pill-active {
  font-size: 13px;
  font-weight: 600;
  background: var(--lp-white);
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  padding: 7px 12px;
}

.lp-lg-pills .lp-lg-pill-active { background: var(--lp-accent); border-color: var(--lp-black); }

.lp-lg-body { display: grid; grid-template-columns: 260px 1fr; align-items: start; }
.lp-lg-body--narrow { grid-template-columns: 240px 1fr; }

.lp-lg-side { padding: 44px 24px 44px 56px; border-right: 2px solid var(--lp-line-light); align-self: stretch; }
.lp-lg-side-in { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }

.lp-lg-side-label,
.lp-lg-mono-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-lg-toc { display: flex; flex-direction: column; gap: 2px; }

.lp-lg-toc a {
  font-size: 14px;
  padding: 6px 0 6px 12px;
  border-left: 4px solid transparent;
  color: var(--lp-text-2);
}

.lp-lg-toc a:hover { color: var(--lp-ink); border-left-color: var(--lp-line); }
.lp-lg-toc .lp-lg-toc-active { color: var(--lp-ink); font-weight: 700; border-left-color: var(--lp-accent); background: var(--lp-accent-tint); }
.lp-lg-side-sep { height: 2px; background: var(--lp-ink); }
.lp-lg-toc--cross a { color: var(--lp-text-3); }

.lp-lg-main {
  padding: 44px 56px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 880px;
  min-width: 0;
}

.lp-lg-main [id] { scroll-margin-top: 96px; }

.lp-lg-section { display: flex; flex-direction: column; gap: 14px; }

.lp-lg-h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lp-lg-h2 .lp-lg-no { font-size: 14px; font-weight: 700; color: var(--lp-text-3); margin-right: 10px; }
.lp-lg-h2--plain { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.lp-lg-h3 { margin: 0; font-size: 18px; font-weight: 700; }

.lp-lg-text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--lp-text-2); text-wrap: pretty; }
.lp-lg-text--narrow { max-width: 36em; }
.lp-lg-text a,
.lp-lg-value a { color: var(--lp-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.lp-lg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }

.lp-lg-list li { display: flex; gap: 11px; font-size: 15.5px; line-height: 1.6; color: var(--lp-text-2); }

.lp-lg-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lp-accent);
  border: 1px solid var(--lp-black);
  margin-top: 9px;
  flex: none;
}

/* Sub-clause (4.1, 4.2) */
.lp-lg-subsection {
  border-left: 3px solid var(--lp-line-light);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Value table (label/value pairs): label left in capitals, value right, fine rules
   between the rows. */
.lp-lg-table,
.lp-lg-meta,
.lp-lg-providers {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow: hidden;
}

.lp-lg-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: var(--lp-border-fine);
}

.lp-lg-row:last-child { border-bottom: none; }
.lp-lg-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lp-text-3); padding-top: 3px; }
.lp-lg-value { font-size: 15.5px; }
.lp-lg-value--mono { font-size: 14.5px; }
.lp-lg-value a { justify-self: start; }

/* Metadata bar (Zweck / Rechtsgrundlage / Speicherdauer) */
.lp-lg-meta-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 12px 18px;
  border-bottom: var(--lp-border-fine);
}

.lp-lg-meta-row:last-child { border-bottom: none; }

.lp-lg-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
  padding-top: 2px;
}

.lp-lg-meta-value { font-size: 14.5px; line-height: 1.55; color: var(--lp-text-2); }

/* Summary box ("Das Wichtigste in Kürze") */
.lp-lg-summary {
  background: var(--lp-paper-muted);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-panel);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-lg-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.lp-lg-summary-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.lp-lg-summary-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--lp-text-2); }
.lp-lg-summary-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lp-text-3); }

/* Highlight box (§ 5 training promise) */
.lp-lg-highlight {
  background: var(--lp-accent-tint);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
}

.lp-lg-highlight-lead { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; }
.lp-lg-highlight-rest { margin: 0; font-size: 15px; color: var(--lp-text-2); }
/* The objection switch of the audience measurement (privacy, section 8) */
.lp-lg-highlight .lp-btn { margin-top: 10px; }

/* Updates pages (/de/updates): the legal layout, with pages instead of anchors in the
   sidebar (static/updates.html.erb). */
.lp-up-toc a { display: flex; flex-direction: column; gap: 2px; }
.lp-up-toc-name { font-size: 14px; font-weight: 700; color: var(--lp-ink); }
.lp-up-toc-note { font-size: 12px; color: var(--lp-text-3); }

/* Entries open to a longer explanation. Light on purpose (owner's feedback, 16.11.2026):
   no frame, no rows, only a plus before the line that turns into a minus. */
.lp-up-hint { margin: -16px 0 0; font-size: 14px; color: var(--lp-text-3); }
.lp-up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.lp-up-summary {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 2px 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--lp-text-2);
  cursor: pointer;
  list-style: none;
}

.lp-up-summary::-webkit-details-marker { display: none; }
.lp-up-summary:hover { color: var(--lp-ink); }
.lp-up-summary:focus-visible { outline: 2px solid var(--lp-ink); outline-offset: 2px; }

.lp-up-toggle {
  flex: none;
  width: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text-3);
}

.lp-up-toggle::before { content: "+"; }
.lp-up-summary:hover .lp-up-toggle { color: var(--lp-ink); }
.lp-up-item details[open] .lp-up-summary { color: var(--lp-ink); }
.lp-up-item details[open] .lp-up-toggle { color: var(--lp-ink); }
.lp-up-item details[open] .lp-up-toggle::before { content: "\2212"; }
.lp-up-details { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; padding-left: 22px; font-size: 15px; line-height: 1.6; color: var(--lp-text-2); }
.lp-up-details dt { display: inline; font-weight: 700; color: var(--lp-ink); }
.lp-up-details dd { display: inline; margin: 0; text-wrap: pretty; }
.lp-up-shot { margin: 0 0 16px 22px; border: var(--lp-border); border-radius: var(--lp-r-control); overflow: hidden; background: var(--lp-white); }
.lp-up-shot img { display: block; width: 100%; height: auto; }

.lp-up-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-ink);
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  vertical-align: 1px;
}

.lp-up-pager { display: flex; gap: 16px; padding-top: 28px; border-top: 2px solid var(--lp-line-light); }

.lp-up-pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
}

.lp-up-pager-link:hover { background: var(--lp-accent-tint); }
.lp-up-pager-link--older { margin-left: auto; text-align: right; }
.lp-up-pager-name { font-size: 15px; font-weight: 700; color: var(--lp-ink); }
.lp-up-technical { font-size: 14px; color: var(--lp-text-3); }

/* Provider table (privacy, section 6) */
.lp-lg-providers table { width: 100%; border-collapse: collapse; }

.lp-lg-providers th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 2px solid var(--lp-line-light);
}

.lp-lg-providers td {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-text-2);
  border-bottom: var(--lp-border-fine);
  vertical-align: top;
}

.lp-lg-providers tr:last-child td { border-bottom: none; }
.lp-lg-providers .lp-lg-provider-name { font-weight: 600; color: var(--lp-ink); }
.lp-lg-providers .lp-lg-provider-eu { background: var(--lp-accent-tint); }
.lp-lg-providers .lp-lg-provider-eu .lp-lg-provider-basis { color: var(--lp-ink); font-weight: 700; }

.lp-lg-providers-foot {
  background: var(--lp-paper-muted);
  border-top: 2px solid var(--lp-line-light);
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--lp-text-2);
}

/* Rights table (privacy, section 8) */
.lp-lg-rights { display: flex; flex-direction: column; }

.lp-lg-right {
  display: grid;
  grid-template-columns: 90px 190px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: var(--lp-border-fine);
}

.lp-lg-right:last-child { border-bottom: none; }
.lp-lg-right-article { font-size: 12px; font-weight: 700; color: var(--lp-ink); padding-top: 3px; }
.lp-lg-right-name { font-size: 15px; font-weight: 700; }
.lp-lg-right-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--lp-text-2); }

/* Stand block + contact box */
.lp-lg-stand,
.lp-lg-contact {
  background: var(--lp-paper-muted);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
}

.lp-lg-stand { display: flex; flex-direction: column; gap: 8px; }
.lp-lg-stand p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--lp-text-2); }

.lp-lg-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.lp-lg-contact-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.lp-lg-contact-text { margin: 0; font-size: 14.5px; color: var(--lp-text-2); }

.lp-lg-footer {
  background: var(--lp-ink);
  color: var(--lp-on-dark-2);
  padding: 26px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
}

.lp-lg-footer-links { display: flex; gap: 26px; }
.lp-lg-footer a:hover { color: var(--lp-on-dark); text-decoration: underline; text-decoration-color: var(--lp-accent); text-underline-offset: 4px; }

/* Shared content column of the legal pages (20.08.2026). Every other public page lays
   its content into one column (.lp-in, .lp-nav-in, .lp-footer-in), the legal bands were
   built edge to edge, and the header jumped sideways the moment a visitor stepped from
   /pricing into /agb. The bands keep their full width and only the CONTENT moves into
   the shared column. Must stay BELOW the padding shorthands above (same specificity,
   later wins) and ABOVE the media queries below, which deliberately override it. */
.lp-lg-head,
.lp-lg-footer { padding-inline: max(var(--lp-gutter), (100% - 1200px) / 2); }
.lp-lg-body { padding-inline: max(0px, (100% - 1248px) / 2); }
.lp-lg-side { padding-left: var(--lp-gutter); }

@media (max-width: 1199px) {
  .lp-lg-body, .lp-lg-body--narrow { grid-template-columns: 210px 1fr; }
  .lp-lg-main { padding: 40px; }
}

@media (max-width: 1023px) {
  .lp-lg-body, .lp-lg-body--narrow { grid-template-columns: 1fr; }
  .lp-lg-side { display: none; }
  .lp-lg-pills { display: flex; }
  .lp-lg-main { max-width: 760px; }
}

@media (max-width: 767px) {
  .lp-lg-head { padding: 32px var(--lp-gutter) 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .lp-lg-pills { padding-inline: var(--lp-gutter); }
  .lp-lg-main { padding: 28px var(--lp-gutter) 40px; gap: 32px; }
  .lp-lg-text { font-size: 15px; }

  /* Value tables and metadata bars stack: label above value. */
  .lp-lg-row, .lp-lg-meta-row { grid-template-columns: 1fr; gap: 3px; padding: 12px 14px; }
  .lp-lg-summary-grid { grid-template-columns: 1fr; }
  .lp-lg-right { grid-template-columns: 1fr; gap: 3px; }
  .lp-lg-contact { flex-direction: column; align-items: flex-start; }
  .lp-lg-footer { flex-direction: column; padding: 22px var(--lp-gutter); text-align: center; }

  /* Provider table becomes cards: one per provider, label-value pairs. */
  .lp-lg-providers thead { display: none; }
  .lp-lg-providers table, .lp-lg-providers tbody { display: block; }
  .lp-lg-providers tr { display: block; padding: 14px; border-bottom: var(--lp-border-fine); }
  .lp-lg-providers td { display: block; padding: 0 0 6px; border-bottom: none; }
  .lp-lg-providers td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-text-3);
    margin-bottom: 1px;
  }
}

/* Print: legal pages go to legal counsel on paper. */
@media print {
  /* .lp-nav statt .lp-lg-nav seit dem 21.08.2026: die Rechtsseiten tragen die normale
     Kopfzeile, und die gehoert auf einem Ausdruck fuer den Anwalt genauso wenig aufs
     Papier wie die alte. */
  .lp-nav, .lp-lg-side, .lp-lg-footer, .lp-lg-pills, .lp-footer { display: none !important; }
  .lp-lg-body, .lp-lg-body--narrow { grid-template-columns: 1fr; }
  .lp-lg-main { max-width: none; padding: 0; }
  .lp-lg-table, .lp-lg-meta, .lp-lg-providers, .lp-lg-summary, .lp-lg-highlight { break-inside: avoid; }
}

/* ============================================================
   Comparison pages (static/_vergleich).
   ============================================================ */

.lp-vs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  padding-block: var(--lp-band-hero) var(--lp-band-md);
  align-items: center;
}

.lp-vs-hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.lp-vs-h1 { font-size: var(--lp-fs-display); line-height: 1.04; }
.lp-vs-lead { max-width: 32em; }

/* "In eigener Sache": the transparency note, disarming the sceptic BEFORE the table. */
.lp-vs-note {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-vs-note .lp-kicker { font-size: 12px; }
.lp-vs-note-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--lp-ink); }

.lp-vs-note-foot {
  border-top: var(--lp-border-fine);
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.lp-vs-note-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--lp-border);
  object-fit: cover;
  object-position: center top;
}

.lp-vs-block { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-vs-block-head { display: flex; flex-direction: column; gap: 22px; }

.lp-vs-strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; padding-top: 10px; }

.lp-vs-strength {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-vs-strength-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.lp-vs-strength-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lp-text-2); }

.lp-vs-table-head { display: flex; flex-direction: column; gap: 22px; }
.lp-vs-scope-note { margin: 0; font-size: 16px; line-height: 1.6; color: var(--lp-text-2); max-width: 46em; }

/* The comparison table: min-width 900px inside its scrolling frame, the Lalabase
   column tinted between two rules. Column heads in capitals, the two product names in
   the display face. */
.lp-vs-table { min-width: 900px; font-size: 15px; }
/* Head to head: the two products get the room, ours a little more than theirs, as in
   the draft. Without fixed shares the longer column of the rival took half the table. */
.lp-vs-table--pair { table-layout: fixed; }
.lp-vs-table--pair th:nth-child(1) { width: 20%; }
.lp-vs-table--pair th:nth-child(2) { width: 28%; }
.lp-vs-table--pair th:nth-child(3) { width: 30%; }
.lp-vs-table--pair th:nth-child(4) { width: 22%; }

.lp-vs-th {
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--lp-line-light);
  vertical-align: bottom;
}
.lp-vs-th + .lp-vs-th { border-left: var(--lp-border-fine); }

.lp-vs-th--label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-vs-td { padding: 16px 20px; vertical-align: top; line-height: 1.5; }
.lp-vs-td + .lp-vs-td { border-left: var(--lp-border-fine); }
/* The rule between two rows is drawn by the lower one, and only between two VISIBLE
   rows: a filtered table then never ends on a stray line, whichever row is last. */
.lp-vs-table tbody tr:not([hidden]) ~ tr:not([hidden]) > :is(th, td) { border-top: var(--lp-border-fine); }
.lp-vs-td--label { font-size: 15px; font-weight: 700; text-align: left; }
.lp-vs-td--rival { font-size: 15px; color: var(--lp-text-2); }
.lp-vs-td--lalabase { font-size: 15px; color: var(--lp-ink); }
.lp-vs-td--no { color: var(--lp-text-3); }

/* The Lalabase column: 2px frame on both sides, the tint, a mini logo in its head. */
.lp-vs-th--lalabase,
.lp-vs-table .lp-vs-td--lalabase {
  background: var(--lp-accent-tint);
  border-left: 2px solid var(--lp-line-light);
  border-right: 2px solid var(--lp-line-light);
}
.lp-vs-table .lp-vs-td--lalabase + .lp-vs-td,
.lp-vs-th--lalabase + .lp-vs-th { border-left: 0; }

.lp-vs-th-brand { display: inline-flex; align-items: center; gap: 6px; }
.lp-vs-th-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid var(--lp-black);
  background: var(--lp-accent);
  box-shadow: 2px 2px 0 var(--lp-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

/* Rows the filter took out. The rule above a row is drawn by the row that follows a
   visible one, so the last VISIBLE row never carries a stray line. */
.lp-vs-tr[hidden] { display: none; }

/* The parts of the phone list (the last block of this file). They stand in the markup
   on every screen and show only there: the short form of a verdict, the button that
   opens a row, the head of the list and the button over it. */
.lp-vs-verdict-short,
.lp-vs-row-toggle,
.lp-vs-list-head,
.lp-vs-list-tools { display: none; }

/* Filter over the table: all rows, our advantage, theirs, depends on you. Shown by
   comparison_filter_controller.js; without JavaScript the table simply shows all. */
.lp-vs-filter { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

.lp-vs-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--lp-white);
  color: var(--lp-ink);
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  font-family: var(--lp-font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lp-vs-filter-btn:hover { border-color: var(--lp-black); box-shadow: var(--lp-shadow-s); }
.lp-vs-filter-btn[aria-pressed="true"] { background: var(--lp-ink); color: var(--lp-white); border-color: var(--lp-black); box-shadow: 3px 3px 0 var(--lp-accent); }
.lp-vs-filter-count { font-size: 12px; border: var(--lp-border-fine); border-radius: 3px; padding: 0 5px; }

/* ---------- Einordnung je Tabellenzeile (20.08.2026) ----------
   Drei Zustaende, kein Sterne-Rating, und unterscheidbar auch ohne Farbe: unser
   Vorteil gefuellt (seit dem 22.11.2026 ohne Rahmen und Schatten), der fremde weiss mit
   durchgezogenem grauem Rahmen, "kommt auf euch an" weiss mit gestricheltem grauem
   Rahmen. Jede Zelle nennt die Einordnung auch als Wort. Der fremde Vorteil ist
   deutlich markiert: eine Seite, die nur die eigenen Punkte einfaerbt, ist wieder ein
   Verkaufsgespraech. Darum behalten die beiden weissen ihren grauen Rahmen und stehen
   nicht auf der Haarlinie der Flaechen: ohne ihn waere der fremde Vorteil das
   unauffaelligste der drei. Bis zum Review vom 05.11.2026 war er ein schwarzer Block
   und damit das dunkelste Element der Tabelle, das den Blick zuerst auf den Wettbewerber
   zog. */

.lp-vs-th--verdict { white-space: nowrap; }
.lp-vs-td--verdict { white-space: nowrap; }

.lp-vs-verdict {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--lp-r-control);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--lp-white);
  color: var(--lp-text-2);
  border: 2px dashed var(--lp-border-strong);
}

.lp-vs-verdict--lalabase .lp-vs-verdict {
  background: var(--lp-accent);
  color: var(--lp-ink);
  border: var(--lp-border);
}
.lp-vs-verdict--rival .lp-vs-verdict {
  background: var(--lp-white);
  color: var(--lp-ink);
  border: 2px solid var(--lp-border-strong);
}

/* ---------- the honesty pair ----------
   "When the rival stays the better choice" and "when switching is worth it" as two
   cards with a head band side by side: ink head for the first, lime for the second.
   Same markup (static/_vergleich_karten), only the head changes, so the two lists read
   as one pair. */

.lp-vs-honest {
  padding-block: var(--lp-band-sm) var(--lp-band-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  align-items: start;
}

.lp-vs-pair-card:only-child { max-width: 760px; }

.lp-vs-pair-card {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow: hidden;
}

.lp-vs-pair-head {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 2px solid var(--lp-line-light);
}
.lp-vs-pair-card--honest .lp-vs-pair-head { background: var(--lp-ink); color: var(--lp-on-dark); }
.lp-vs-pair-card--honest .lp-kicker { color: #B9BCC2; }
.lp-vs-pair-card--switch .lp-vs-pair-head { background: var(--lp-accent); }
.lp-vs-pair-card--switch .lp-kicker { color: var(--lp-ink); }

.lp-vs-pair-title { margin: 0; font-size: var(--lp-fs-sub); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

.lp-vs-pair-list { list-style: none; margin: 0; padding: 8px 26px 20px; }
.lp-vs-pair-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: var(--lp-border-fine); }
.lp-vs-pair-item:last-child { border-bottom: 0; }
.lp-vs-pair-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--lp-text-2); }

.lp-vs-no { font-size: 13px; font-weight: 700; color: var(--lp-ink); padding-top: 2px; }
.lp-vs-no--accent { color: var(--lp-ink); }

/* Personal-experience section: single readable column, no card frame. It is the
   founder speaking, so it must not look like another feature tile. */
.lp-vs-story { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 22px; }
.lp-vs-story-body { display: flex; flex-direction: column; gap: 16px; max-width: 44em; }
.lp-vs-story-source {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-text-3);
  border-left: 3px solid var(--lp-line-light);
  padding-left: 14px;
}

/* The move offer: copy and door on the left, the three steps as a card on the right. */
.lp-vs-migration {
  padding-block: var(--lp-band-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lp-vs-migration-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.lp-vs-steps {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  overflow: hidden;
}

.lp-vs-step { display: flex; gap: 16px; padding: 20px 22px; border-bottom: var(--lp-border-fine); }
.lp-vs-step .lp-vs-no {
  align-self: flex-start;
  padding: 1px 7px;
  background: var(--lp-accent);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
}

.lp-vs-step-title { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.lp-vs-step-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--lp-text-2); }

.lp-vs-steps-foot {
  background: var(--lp-paper-muted);
  border-top: 2px solid var(--lp-line-light);
  padding: 14px 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lp-text-2);
}

@media (max-width: 1023px) {
  .lp-vs-hero { grid-template-columns: 1fr; gap: 32px; }
  .lp-vs-migration { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Breakpoints of the shared building blocks (1279 / 1023 / 767).
   ============================================================ */

@media (max-width: 1279px) {
  .lp-footer-in { padding: 48px var(--lp-gutter) 28px; }
  .lp-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-footer-updates { grid-template-columns: 1fr 2fr; }
  .lp-footer-updates-all { grid-column: 2; }
  .lp-footer-grid > :first-child { grid-column: span 3; }
}

@media (max-width: 1100px) {
  .lp-nav-links { gap: 18px; }
  .lp-nav-auth { gap: 14px; }
}

/* Between the stacked hero (below 1024px) and the full column (from 1280px) the window
   in the hero is too narrow for its sidebar: with it, the ticket titles shrank to
   "Login-...". The list and the answer are what the window is for; the sidebar goes,
   as it does on a phone. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .lp-hero .lp-win-body { grid-template-columns: minmax(0, 1fr); }
  .lp-hero .lp-win-side { display: none; }
}

@media (max-width: 1023px) {
  .lp-nav-links, .lp-nav-auth { display: none; }
  .lp-burger { display: flex; }

  .lp-hero { grid-template-columns: 1fr; gap: 48px; }
  .lp-security { grid-template-columns: 1fr; gap: 32px; }
  .lp-founder { grid-template-columns: 1fr; gap: 32px; }
  .lp-founder-photo { max-width: 300px; }
  .lp-ba-after { grid-template-columns: 1fr; }
  .lp-feature-row, .lp-feature-row--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-feature-row--flip .lp-feature-copy { order: 0; }
  .lp-feature-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-cta { grid-template-columns: 1fr; }
  .lp-cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .lp-nav-in { padding: 12px var(--lp-gutter); }

  .lp-hero { gap: 40px; }
  .lp-hero-copy { gap: 20px; }
  .lp-lead { font-size: 17px; }
  .lp-body { font-size: 16px; }

  .lp-actions { flex-direction: column; align-items: stretch; }
  .lp-actions .lp-btn { width: 100%; min-height: 48px; }
  .lp-actions .lp-star-link { justify-content: center; }

  /* The doors take the whole width: the copy column hugs its content, so without this
     the row of doors (and with it each door) was only as wide as its longest label. */
  .lp-hero-copy > .lp-actions { align-self: stretch; }

  /* The window is a reminder on a phone, not the product: three tickets and the answer
     (second review, 05.11.2026). The answer with its sources is the point. */
  .lp-hero .lp-win-row:nth-child(n + 4) { display: none; }

  /* The window keeps its list and its answer on a phone; the sidebar goes, it would
     leave the ticket list a strip of 150px. */
  .lp-win-body { grid-template-columns: 1fr; }
  .lp-win-side { display: none; }
  .lp-win-cols, .lp-win-row { grid-template-columns: 26px minmax(0, 1fr) 92px; }
  .lp-win-cols > :last-child, .lp-win-who { display: none; }

  .lp-trust-list { justify-content: flex-start; font-size: 12px; gap: 10px 20px; }

  /* The before/after switch (.lp-ba) has no rules here: its section is not shown on a
     phone (static/index, 22.11.2026). */

  /* The cards of "The problem" (01) and the stages of "How a project runs" (02) have no
     rules here: a phone shows neither (static/index, 22.11.2026). */
  .lp-cards { grid-template-columns: 1fr; }
  .lp-choice-grid { grid-template-columns: minmax(0, 1fr); }

  /* The phone version of 06.11.2026 (DESIGN.md 5): the home page measured 15 screens at
     390 px for some 750 words. Blocks that repeat a statement made elsewhere on the
     page give way to a short form (.lp-phone-only) or go (.lp-desktop-only); what
     follows shapes the short forms. */

  /* Hero window: only the question and the answer with its sources. */
  .lp-hero .lp-win-head, .lp-hero .lp-win-cols, .lp-hero .lp-win-rows { display: none; }

  /* "Was drinsteckt": one row at a time, chosen with the chips (feature_tabs_controller).
     The row's label repeats the chip, so it goes while the chips stand. */
  .lp-bento--tabbed .lp-feature-tabs:not([hidden]) { margin-top: 6px; }
  .lp-bento--tabbed .lp-feature-row { margin-top: 6px; gap: 20px; }

  .lp-choice-grid { gap: 20px; }

  /* Security: four ticks, title only. */
  .lp-security-cards { display: flex; flex-direction: column; gap: 12px; }
  .lp-security .lp-security-cards .lp-card { flex-direction: row; align-items: center; gap: 12px; padding: 0; border: 0; }
  .lp-security .lp-security-cards .lp-card::before {
    content: "\2713";
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    background: var(--lp-accent);
    color: var(--lp-ink);
    font-weight: 700;
    font-size: 14px;
  }
  .lp-security .lp-security-cards .lp-card-title { font-size: 17px; }
  .lp-security .lp-security-cards .lp-card-text { display: none; }

  /* Founder: a small portrait beside the greeting instead of a large one above it.
     The copy column dissolves into the band's grid, so the heading can sit beside the
     picture; label first, body and contacts under both. */
  .lp-founder { gap: 24px; }
  .lp-founder-photo { max-width: 180px; }
  #founder .lp-founder { grid-template-columns: 76px minmax(0, 1fr); gap: 18px 16px; align-items: center; }
  #founder .lp-founder-copy { display: contents; }
  #founder .lp-founder-copy > * { grid-column: 1 / -1; }
  #founder .lp-founder-copy > .lp-kicker { grid-row: 1; }
  #founder .lp-founder-photo { grid-row: 2; grid-column: 1; width: 76px; max-width: 76px; aspect-ratio: 1; }
  #founder .lp-h2--founder { grid-row: 2; grid-column: 2; }

  .lp-redmine { padding: 24px 20px; }

  .lp-faq-item > button { padding: 16px; gap: 12px; font-size: 16px; }
  .lp-faq-panel { padding: 0 16px 18px; }

  .lp-cta { padding: 32px 22px; }
  .lp-cta-actions { flex-direction: column; }
  .lp-cta-actions .lp-btn { width: 100%; }

  .lp-footer-in { padding: 40px var(--lp-gutter) 24px; }
  /* The groups fold on a phone (footer_groups_controller): one per line, the heading a
     row to tap with a plus or minus; "Rechtliches" never folds. */
  .lp-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-footer-updates { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-footer-updates-all { grid-column: auto; }
  .lp-up-pager { flex-direction: column; }
  .lp-up-pager-link--older { margin-left: 0; text-align: left; }
  .lp-footer-grid > :first-child { grid-column: auto; }
  .lp-footer-brand { margin-bottom: 20px; }
  .lp-footer-group { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .lp-footer-group > summary,
  .lp-footer-group > .lp-footer-title { padding-block: 14px; }
  .lp-footer-group > summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
  .lp-footer-group > summary::after { content: "+"; color: var(--lp-accent); font-weight: 700; font-size: 16px; }
  .lp-footer-group[open] > summary::after { content: "\2212"; }
  .lp-footer-group .lp-footer-title { margin: 0; }
  .lp-footer-group > ul { padding-bottom: 16px; }

  /* The bar with the trial and a call, on a phone from the first moment on: the hero's
     own two buttons are off here (static/index). sticky_cta_controller hides it while
     the closing band is in view. */
  .lp-sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 10px var(--lp-gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--lp-white);
    border-top: var(--lp-border);
  }
  .lp-sticky-cta .lp-btn { min-height: 44px; justify-content: center; }
  .lp-sticky-cta .lp-btn--primary { flex: 1; }
  .lp-sticky-cta[hidden] { display: none !important; }
  /* So the bar never covers the last lines of the footer. */
  .lp:has(.lp-sticky-cta:not([hidden])) .lp-footer { padding-bottom: 72px; }
}

/* ---------- phone and desktop forms (06.11.2026, DESIGN.md 5) ----------
   Both forms stand in the HTML; one of them is off. !important because the elements
   carry their own display (buttons, flex rows), and the switch must win over them. */
@media (max-width: 767px) {
  .lp-desktop-only { display: none !important; }
}
@media (min-width: 768px) {
  .lp-phone-only { display: none !important; }
}

/* ============================================================
   Features page and chapter pages.
   Eight-plus numbered chapters, two layouts in alternation (A = copy left / list
   right, B = copy + list left / mock right). The chat chapter is the only dark band
   in the middle: it is the payoff and gets the optical weight for it.
   ============================================================ */

/* ---------- hero ---------- */

.lp-ft-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  padding-block: var(--lp-band-hero) var(--lp-band-md);
  align-items: center;
}

.lp-ft-hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.lp-ft-h1 { font-size: var(--lp-fs-display); line-height: 1.04; }
.lp-ft-lead { font-size: 18px; max-width: 32em; }

/* The five sources feeding one question. */
.lp-ft-diagram { display: flex; flex-direction: column; gap: 14px; }
.lp-ft-sources { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.lp-ft-source {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lp-ft-arrow { display: flex; justify-content: center; font-size: 22px; font-weight: 700; color: var(--lp-ink); }

.lp-ft-win-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.lp-ft-prompt {
  align-self: flex-end;
  max-width: 90%;
  background: #F0F0EC;
  border-radius: var(--lp-r-frame);
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- "why at all" ---------- */

.lp-ft-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding-block: var(--lp-band-md);
  align-items: start;
}

.lp-ft-why-copy { display: flex; flex-direction: column; gap: 22px; }
.lp-ft-why-text { display: flex; flex-direction: column; gap: 16px; padding-top: 38px; }

/* ---------- overview cards, breadcrumb, pager ---------- */

/* Every chapter has its own page, so /de/funktionen is an overview: one card per
   chapter. The card IS .lp-card -- only what a card-as-a-link needs is added here. */
.lp-ft-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: var(--lp-band-sm) var(--lp-band-md); }

/* How it answers the pointer, the press and the keyboard: "a card that leads
   somewhere", with the cards of the home page. */
.lp-ft-card { gap: 14px; color: inherit; }

.lp-ft-card-title { font-size: var(--lp-fs-card); font-weight: 700; line-height: 1.3; }

/* margin-top: auto keeps the link line on the bottom edge across cards whose titles
   run to different lengths. Its look is the one of every such line (.lp-aud-link). */
.lp-ft-card-more { margin-top: auto; }

.lp-ft-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: var(--lp-band-xs) 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-ft-crumb-back { display: inline-flex; align-items: center; gap: 7px; color: var(--lp-text-2); }
.lp-ft-crumb-back:hover { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-ft-crumb-sep { color: var(--lp-line); }
.lp-ft-crumb-current { color: var(--lp-ink); }

.lp-ft-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lp-ft-pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  color: inherit;
}

.lp-ft-pager-link:hover { border-color: var(--lp-black); box-shadow: var(--lp-shadow-m); }
.lp-ft-pager-link--next { text-align: right; align-items: flex-end; }

.lp-ft-pager-dir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-ft-pager-name { font-size: 17px; font-weight: 700; }

/* ---------- role page ---------- */

.lp-aud-hero { padding-block: var(--lp-band-hero) var(--lp-band-sm); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.lp-aud-h1 { font-size: var(--lp-fs-title); line-height: 1.05; max-width: 20em; }
.lp-aud-lead { max-width: 40em; }

.lp-aud-onward-links { display: flex; flex-wrap: wrap; gap: 14px 24px; }

/* The cards of the directory: the same card as on /funktionen, without a number. */
.lp-aud-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 10px; }

/* Kontaktseite: drei Wege nebeneinander. */
.lp-contact-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: var(--lp-band-sm) var(--lp-band-md); }
.lp-contact-ways .lp-card { gap: 12px; align-items: flex-start; }
.lp-contact-ways .lp-card .lp-btn { margin-top: auto; }

.lp-contact-elsewhere { display: flex; flex-direction: column; gap: 22px; padding-block: var(--lp-band-md); }
.lp-contact-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }

.lp-faq-contact { display: flex; flex-direction: column; gap: 22px; padding-block: var(--lp-band-md); align-items: flex-start; }
.lp-aud-card { gap: 12px; }

.lp-aud-card-link { color: inherit; }
.lp-aud-card-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- chapter bar at the foot of a chapter page ---------- */

.lp-ft-chapternav { padding-block: var(--lp-band-md) var(--lp-band-sm); display: flex; flex-direction: column; gap: 18px; }
.lp-ft-chapternav-list { display: flex; flex-wrap: wrap; gap: 10px; }

.lp-ft-chapternav-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  background: var(--lp-white);
  border: var(--lp-border-control);
  border-radius: var(--lp-r-control);
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

a.lp-ft-chapternav-item:hover { transform: translate(-1px, -1px); border-color: var(--lp-black); box-shadow: var(--lp-shadow-m); }

/* Das aktuelle Kapitel ist kein Link: ein Link auf die Seite, auf der man steht, ist
   fuer die Tastaturbedienung eine Sackgasse. aria-current sagt dasselbe ohne einen. */
.lp-ft-chapternav-item--current { background: var(--lp-accent); border-color: var(--lp-black); }

.lp-ft-chapternav-no { font-size: 11px; font-weight: 700; color: var(--lp-text-3); }
.lp-ft-chapternav-item--current .lp-ft-chapternav-no { color: var(--lp-ink); }

/* ---------- in-depth block of a chapter page ----------
   Three bands, each its own <section>: flow, limits, questions. */

.lp-ft-detail { padding-block: var(--lp-band-md); display: flex; flex-direction: column; gap: 32px; }
.lp-ft-detail-intro { display: flex; flex-direction: column; gap: 22px; }
.lp-ft-detail-h2 { margin: 0; font-size: var(--lp-fs-section); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.lp-ft-detail-lead { margin: 0; font-size: 17px; line-height: 1.6; max-width: 62ch; color: var(--lp-text-2); }

/* Heading and figure side by side. The figure holds a fixed height rather than a
   width: the stock mixes upright poses (210x200) and wide scenes (900x470), and only
   by height do both look the same size next to the same line. */
.lp-ft-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.lp-ft-figure { flex-shrink: 0; }
.lp-ft-figure-img { display: block; height: 132px; width: auto; }

/* The four steps as cards. The number sits above the title. */
/* Two by two: every flow has four steps of 130 to 390 characters, and in four columns
   they ran at about 30 characters a line (review of 05.11.2026). One column on phones. */
.lp-ft-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 767px) { .lp-ft-steps { grid-template-columns: minmax(0, 1fr); } }
.lp-ft-step { gap: 8px; }

.lp-ft-step-index {
  align-self: flex-start;
  padding: 1px 7px;
  background: var(--lp-accent);
  border: var(--lp-border);
  border-radius: var(--lp-r-control);
  font-size: 12px;
  font-weight: 700;
}

/* Limits band on ink: the greys beside the text have to follow, --lp-text-2 on ink
   would be unreadable. */
.lp-ft-limits .lp-ft-detail-lead { color: var(--lp-on-dark-2); }
.lp-ft-limit-list { display: flex; flex-direction: column; gap: 14px; max-width: 78ch; }

.lp-ft-limit {
  padding-left: 18px;
  border-left: 4px solid var(--lp-accent);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-on-dark);
}

/* Questions: question left, answer right, grouped as pairs. */
.lp-ft-faq { display: flex; flex-direction: column; margin: 0; border-top: 2px solid var(--lp-line-light); }
.lp-ft-faq-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 20px 0; border-bottom: var(--lp-border-fine); }
.lp-ft-faq-q { font-size: 17px; font-weight: 700; }
.lp-ft-faq-a { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--lp-text-2); }

/* ---------- chapters ---------- */

.lp-ft-chapter {
  padding-block: var(--lp-band-md);
  display: grid;
  gap: 56px;
  align-items: start;
}

.lp-ft-chapter--a { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.lp-ft-chapter--b { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; row-gap: 48px; }

/* Layout B, second row: the list over the full width, the line of difference under it. */
.lp-ft-wide { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 22px; }
.lp-ft-wide .lp-ft-quote { max-width: 60em; }
.lp-ft-chapter--muted { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.lp-ft-copy { display: flex; flex-direction: column; gap: 20px; }

/* Chapter head: number, rule, area name, set like the numbered section label. */
.lp-ft-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-ft-num-index { color: var(--lp-text-3); }
.lp-ft-num-rule { width: 16px; height: 2px; background: currentColor; }
.lp-ft-num-area { color: var(--lp-text-3); }

.lp-ft-title {
  margin: 0;
  font-size: var(--lp-fs-title);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.lp-ft-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--lp-text-2); text-wrap: pretty; }
.lp-ft-text--narrow { max-width: 38em; }

/* The recurring element: a numbered list on fine rules, inside a white card. Marked
   up as an <ol>; the grid is layout only. */
.lp-ft-list {
  list-style: none;
  margin: 0;
  padding: 6px 22px;
  display: flex;
  flex-direction: column;
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
}

/* Two columns in one card, read row by row; the rule sits above every row but the
   first. */
.lp-ft-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  padding: 6px 28px;
}
.lp-ft-list--cols .lp-ft-li { border-bottom: 0; border-top: var(--lp-border-fine); }
.lp-ft-list--cols .lp-ft-li:nth-child(-n + 2) { border-top: 0; }

.lp-ft-li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: var(--lp-border-fine);
}
.lp-ft-li:last-child { border-bottom: 0; }


.lp-ft-li-index { font-size: 12px; font-weight: 700; color: var(--lp-text-3); padding-top: 2px; }
.lp-ft-li-index--accent { color: var(--lp-ink); }
.lp-ft-li-text { font-size: 15.5px; line-height: 1.55; color: var(--lp-text-2); }
.lp-ft-li-text b { color: var(--lp-ink); }

.lp-ft-quote {
  margin: 6px 0 0;
  border-left: 4px solid var(--lp-accent);
  padding-left: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--lp-text-2);
}

.lp-ft-quote b { color: var(--lp-ink); }

/* Status chips (chapter 02): the dots of the schematic window, as a row that ends in
   a dashed "add your own". */
.lp-ft-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.lp-ft-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--lp-white);
  border: var(--lp-border-fine);
  border-radius: var(--lp-r-control);
  font-size: 11px;
  font-weight: 700;
}
.lp-ft-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.lp-ft-pill--wip::before { background: var(--lp-status-wip); }
.lp-ft-pill--review::before { background: var(--lp-status-new); }
.lp-ft-pill--urgent::before { background: var(--lp-ink); }
.lp-ft-pill--custom { border: 1.5px dashed var(--lp-border-strong); color: var(--lp-text-3); font-weight: 400; }
.lp-ft-pill--custom::before { display: none; }

/* ---------- mocks (all static, no live data) ---------- */

.lp-ft-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--lp-paper-muted);
  border-bottom: 2px solid var(--lp-line-light);
  font-size: 11px;
  color: var(--lp-text-3);
}

/* Documentation tree (chapter 03) */
.lp-ft-tree {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: var(--lp-text-2);
}

.lp-ft-tree-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-ft-tree-row--indent { padding-left: 14px; }

.lp-ft-new {
  font-size: 9.5px;
  font-weight: 700;
  background: var(--lp-accent);
  border: var(--lp-border-fine);
  color: var(--lp-ink);
  padding: 1px 6px;
  border-radius: 3px;
}

.lp-ft-mock-sep { height: 1px; background: var(--lp-line); margin: 4px 0; }
.lp-ft-mock-foot { font-family: var(--lp-font-body); font-size: 11.5px; line-height: 1.5; color: var(--lp-text-3); }

/* Session list with billing state (chapter 04) */
.lp-ft-sessions { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }

.lp-ft-session {
  display: flex;
  align-items: center;
  gap: 10px;
  border: var(--lp-border);
  border-radius: 6px;
  padding: 10px 11px;
}

.lp-ft-session--open { border: var(--lp-border); background: var(--lp-accent-tint); }
.lp-ft-session-date { font-size: 10.5px; color: var(--lp-text-3); }
.lp-ft-session--open .lp-ft-session-date { color: var(--lp-ink); font-weight: 700; }
.lp-ft-session-title { font-size: 12.5px; flex: 1; }
.lp-ft-session-hours { font-size: 11px; color: var(--lp-ink); }

.lp-ft-session-tag {
  font-size: 9.5px;
  font-weight: 700;
  background: var(--lp-line-light);
  color: var(--lp-text-2);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.lp-ft-session-tag--open { background: var(--lp-accent); border: var(--lp-border-fine); color: var(--lp-ink); }

/* Suggested task (chapter 05) */
.lp-ft-suggest {
  margin-top: 6px;
  border: var(--lp-border);
  background: var(--lp-white);
  border-radius: var(--lp-r-card);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-ft-mono-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-ft-suggest-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--lp-ink); }
.lp-ft-suggest-actions { display: flex; gap: 8px; margin-top: 2px; }

/* Both are pictures of buttons, not buttons -- the mock is static. */
.lp-ft-fake-btn { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--lp-r-control); border: var(--lp-border-fine); }
.lp-ft-fake-btn--primary { background: var(--lp-ink); color: var(--lp-white); }
.lp-ft-fake-btn--ghost { background: var(--lp-white); color: var(--lp-ink); }

/* ---------- chapter 06, the dark one ---------- */

.lp-ft-chapter--dark .lp-ft-num,
.lp-ft-chapter--dark .lp-ft-num-index,
.lp-ft-chapter--dark .lp-ft-num-area { color: #B9BCC2; }
.lp-ft-chapter--dark .lp-ft-text { color: var(--lp-on-dark-2); }

/* No card on the dark ground: the list stands on its own rules. */
.lp-ft-list--dark { background: transparent; border: 0; border-top: 2px solid var(--lp-line-light); border-radius: 0; box-shadow: none; padding: 16px 0 0; margin-top: 10px; gap: 10px; }
.lp-ft-list--dark .lp-ft-li { padding: 0; border-bottom: none; }
.lp-ft-list--dark .lp-ft-li-index { color: var(--lp-accent); }
.lp-ft-list--dark .lp-ft-li-text { font-size: 15.5px; color: var(--lp-on-dark-2); }

.lp-ft-questions { display: flex; flex-direction: column; gap: 12px; }
.lp-ft-questions-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #B9BCC2; }
.lp-ft-question-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.lp-ft-question {
  border: 2px solid var(--lp-line-light);
  border-radius: var(--lp-r-control);
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lp-on-dark);
}

/* The third question is the one the answer below belongs to: the chosen one, so it
   keeps its frame and its shadow, off-white and lime because black would vanish here. */
.lp-ft-question--active { border-color: var(--lp-on-dark); box-shadow: 4px 4px 0 var(--lp-accent); }

.lp-ft-answer {
  background: var(--lp-white);
  color: var(--lp-ink);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.lp-ft-answer-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--lp-ink); }

/* ---------- chapter 07, the two ways to get a model ---------- */

.lp-ft-ai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.lp-ft-ai-card {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-ft-ai-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-3);
}

.lp-ft-ai-title { font-size: var(--lp-fs-card); font-weight: 700; line-height: 1.25; }
.lp-ft-ai-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lp-text-2); }

.lp-ft-ai-note {
  grid-column: span 2;
  border: 2px dashed var(--lp-border-strong);
  border-radius: var(--lp-r-card);
  padding: 16px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lp-text-2);
}

/* ---------- chapter 08, jurisdiction ---------- */

.lp-ft-sov { display: flex; flex-direction: column; gap: 22px; }

.lp-ft-scale {
  background: var(--lp-white);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  padding: var(--lp-pad-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-ft-scale-bars { display: flex; align-items: center; gap: 6px; }
.lp-ft-scale-bar { flex: 1; height: 8px; border-radius: 2px; border: var(--lp-border); }

/* Five tones for the five tiers, strongest control first: from ink to the finest
   line, one scale of grey, because a second colour would be a second accent. Order and
   wording follow AiPackage::JURISDICTIONS, not the other way round. */
.lp-ft-scale-bar--1 { background: var(--lp-ink); }
.lp-ft-scale-bar--2 { background: var(--lp-text-2); }
.lp-ft-scale-bar--3 { background: var(--lp-border-strong); }
.lp-ft-scale-bar--4 { background: #B9BCC2; }
.lp-ft-scale-bar--5 { background: var(--lp-line-light); }

.lp-ft-scale-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--lp-text-2);
}

.lp-ft-scale-item { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.lp-ft-scale-index { color: var(--lp-text-3); font-weight: 700; }

/* ---------- closing CTA ---------- */

.lp-ft-cta-legal { margin: 0; font-size: 14px; line-height: 1.6; color: var(--lp-ink); max-width: 44em; }
.lp-ft-cta-link { color: var(--lp-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- breakpoints (1279 / 1023 / 767) ---------- */

@media (max-width: 1279px) {
  .lp-ft-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-aud-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-contact-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-ft-faq-item { gap: 28px; }
}

@media (max-width: 1023px) {
  .lp-ft-hero { grid-template-columns: 1fr; gap: 40px; }
  .lp-ft-why { grid-template-columns: 1fr; gap: 24px; }
  .lp-ft-why-text { padding-top: 0; }
  .lp-ft-chapter { grid-template-columns: 1fr; gap: 32px; }
  .lp-ft-chapter--a, .lp-ft-chapter--b, .lp-ft-chapter--muted { grid-template-columns: 1fr; }
  .lp-ft-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-aud-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-contact-ways { grid-template-columns: minmax(0, 1fr); }
  /* Steps and questions in one column: side by side every cell would carry three
     words per line on a phone. */
  .lp-ft-faq-item { grid-template-columns: 1fr; gap: 8px; }
  /* On the phone the figure stands above the heading and smaller. */
  .lp-ft-detail-head { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .lp-ft-figure-img { height: 104px; }
  .lp-ft-detail { gap: 26px; }
  .lp-ft-pager { grid-template-columns: 1fr; }
  .lp-ft-pager-link--next { text-align: left; align-items: flex-start; }
}

@media (max-width: 767px) {
  .lp-ft-hero { gap: 24px; }
  .lp-ft-hero-copy { gap: 18px; }
  .lp-ft-lead { font-size: 16px; }

  /* The source diagram is the desktop version of the argument; on a phone the chat
     window in chapter 06 carries it instead. */
  .lp-ft-diagram { display: none; }

  .lp-ft-tree-row--optional, .lp-ft-session--optional { display: none; }

  .lp-ft-chapter { gap: 24px; }
  .lp-ft-text { font-size: 16px; }
  .lp-ft-li-text { font-size: 15px; }
  .lp-ft-list { padding-inline: 16px; }
  .lp-ft-list--cols { grid-template-columns: minmax(0, 1fr); }
  .lp-ft-list--cols .lp-ft-li:nth-child(2) { border-top: var(--lp-border-fine); }

  .lp-ft-ai-cards { grid-template-columns: 1fr; }
  .lp-ft-ai-note { grid-column: auto; }
  .lp-ft-cta-legal { font-size: 13.5px; }
}

/* ---------- comparison overview table (N3) ----------
   Reuses .lp-vs-table of the detail pages and only adds the fourth column, the one
   that carries the link onward. */

.lp-ov-th--go { width: 1%; white-space: nowrap; }
.lp-ov-td--go { white-space: nowrap; }

/* The line that leads on, in a table or on a card: the same words in the same size
   everywhere, and the arrow slides when the pointer is on it or on its card. */
.lp-ov-go,
.lp-aud-link,
.lp-ft-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: gap 100ms ease-out;
}
.lp-ov-go:hover,
.lp-aud-link:hover,
.lp-ft-card:hover .lp-ft-card-more { gap: 10px; text-decoration-color: var(--lp-accent); }
.lp-sec--dark .lp-aud-link { color: var(--lp-on-dark); }

.lp-ov-missing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: var(--lp-band-md);
}
.lp-ov-missing > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.lp-ov-missing-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .lp-ov-go, .lp-ov-go:hover, .lp-aud-link, .lp-aud-link:hover { transition: none; gap: 6px; }
  .lp-ft-chapternav-item { transition: none; }
  a.lp-ft-chapternav-item:hover { transform: none; }
}

@media (max-width: 767px) {
  .lp-ov-missing { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- audience page ---------- */

.lp-aud-group { padding-block: var(--lp-band-sm); display: flex; flex-direction: column; gap: 22px; }

/* Sprungziele duerfen nicht unter der klebenden Kopfzeile verschwinden. */
.lp-aud-card { scroll-margin-top: 92px; }

/* Die Weiterfuehrungen am Fuss einer Rollen- oder Sicherheitsseite. */
.lp-aud-onward { display: flex; flex-direction: column; gap: 22px; padding-block: var(--lp-band-md); }

/* The links and the full-width picture of the terminal chapter. */
.lp-ft-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.lp-ft-shot { padding-block: 0 var(--lp-band-md); }

/* ---------- self-hosting page ---------- */

.lp-sh-needs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lp-sh-list { margin: 8px 0 0; padding-left: 0; display: flex; flex-direction: column; gap: 10px; list-style: none; }
.lp-sh-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--lp-text-2); }
.lp-sh-list li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; background: var(--lp-accent); border: 1px solid var(--lp-black); flex: none; }
.lp-sh-commands { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-sh-commands-label { font-weight: 700; font-size: var(--lp-fs-card); }
.lp-sh-commands-note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--lp-text-2); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* A long command scrolls inside its box instead of widening the page. */
.lp-code {
  margin: 0;
  padding: 16px 18px;
  background: var(--lp-ink);
  color: var(--lp-on-dark);
  border: var(--lp-border);
  border-radius: var(--lp-r-card);
  font-family: var(--lp-font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

@media (max-width: 900px) {
  .lp-sh-needs { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- open-source comparison ---------- */

.lp-oss-table .lp-vs-td { font-size: 14.5px; line-height: 1.5; vertical-align: top; }
/* Our own row is framed and tinted like our column on the head-to-head pages: the
   table measures us like the others, the frame only says where we stand. */
.lp-vs-table tbody tr.lp-oss-tr--own:not([hidden]) > .lp-vs-td { background: var(--lp-accent-tint); border-block: 2px solid var(--lp-line-light); }
.lp-oss-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-oss-picks .lp-card-title { margin: 0; }
.lp-oss-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; margin: 8px 0 20px; }
.lp-oss-sources dt { font-family: var(--lp-font-display); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.lp-oss-sources dd { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.lp-oss-sources a { color: var(--lp-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lp-ov-oss { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 15px; color: var(--lp-text-2); }

@media (max-width: 1023px) {
  .lp-oss-picks, .lp-oss-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .lp-oss-picks, .lp-oss-sources { grid-template-columns: minmax(0, 1fr); }
  .lp-nav-drop-list--cols { grid-template-columns: 1fr; }
}

/* ---------- comparison tables on narrow screens ----------
   Below 1024px a table of four or six columns cannot be read: in its frame it scrolls
   sideways, and the column that matters most to the reader starts off screen. The
   guide asked for exactly that scrolling (DESIGN.md 3.9); in use it was a strip of the
   first two columns. So every row becomes a block: the feature as its title, then each
   cell under the name of its column (data-label in the markup), two or three side by
   side where there is room, one under the other on a phone. Our column keeps its tint
   and frame as a box, the verdict stays a badge. The rule between two rows is drawn by
   the lower one, as on the desktop, so a filtered table still ends clean.

   Last in the file on purpose: it has to beat the desktop rules of the open-source
   table, which come after the comparison block. */
@media (max-width: 1023px) {
  .lp-vs-table { min-width: 0; table-layout: auto; }
  .lp-vs-table thead { display: none; }
  .lp-vs-table, .lp-vs-table tbody { display: block; }

  .lp-vs-tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px 20px;
    padding: 18px 18px 20px;
  }

  .lp-vs-table tbody tr:not([hidden]) ~ tr:not([hidden]) { border-top: var(--lp-border-fine); }
  .lp-vs-table tbody tr:not([hidden]) ~ tr:not([hidden]) > :is(th, td) { border-top: 0; }

  .lp-vs-td,
  .lp-vs-td + .lp-vs-td { display: block; padding: 0; border: 0; }
  .lp-vs-table--pair th:nth-child(n) { width: auto; }

  .lp-vs-td--label,
  .lp-vs-td--verdict,
  .lp-ov-td--go { grid-column: 1 / -1; }

  .lp-vs-td--label { font-family: var(--lp-font-display); font-size: 17px; font-weight: 700; line-height: 1.3; }
  .lp-vs-td--verdict { white-space: normal; }

  .lp-vs-td[data-label]:not(.lp-vs-td--verdict)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-text-3);
  }

  /* In a row with our column, every value sits in the same box, the others with an
     invisible frame: so the column names and the texts start on one line next to the
     tinted one. Rows without it (self-hosting, the open-source table) need no boxes. */
  .lp-vs-tr:has(.lp-vs-td--lalabase) > .lp-vs-td[data-label]:not(.lp-vs-td--verdict) {
    padding: 10px 12px;
    border: 2px solid transparent;
    border-radius: var(--lp-r-control);
  }

  .lp-vs-tr:has(.lp-vs-td--lalabase) > .lp-vs-td--lalabase[data-label]:not(.lp-vs-td--verdict) {
    background: var(--lp-accent-tint);
    border-color: var(--lp-line-light);
  }

  .lp-vs-td[data-label] + .lp-vs-td[data-label] { margin-top: 2px; }
  .lp-vs-table .lp-vs-td--lalabase::before { color: var(--lp-ink); }

  /* Our row in the open-source table: the whole block tinted and framed, its cells plain. */
  .lp-vs-table tbody tr.lp-oss-tr--own:not([hidden]) {
    background: var(--lp-accent-tint);
    outline: 2px solid var(--lp-black);
    outline-offset: -2px;
  }
  .lp-vs-table tbody tr.lp-oss-tr--own:not([hidden]) > .lp-vs-td { background: transparent; border: 0; }
}

/* ---------- a rival's table on a phone: a list that opens (22.11.2026) ----------
   One card per row (above) is right for a tablet. On a phone twelve of them ran over
   four and a half screens: never more than two topics in view, and no way to see which
   ones the table holds. So a phone gets every topic on one line with the word that
   says who is ahead beside it, about a screen in all, and a tap opens the two answers
   as the card showed them.

   .lp-vs-list is set by comparison_rows_controller.js on a phone only, so without
   JavaScript the cards stay. Open and closed hang on aria-expanded of the row's button;
   the script sets nothing else.

   The filter is off on a phone: the list shows at a glance what it sorted, and four
   buttons broke into three lines above it. A filter chosen on a wider screen hides no
   row here, there would be no control left to bring it back. */
@media (max-width: 767px) {
  .lp-vs-filter { display: none; }

  .lp-vs-list .lp-vs-list-tools { display: flex; justify-content: flex-end; margin-block: -6px; }
  .lp-vs-list-all { padding: 6px 0; background: none; border: 0; font-family: inherit; font-size: 15px; cursor: pointer; }

  .lp-vs-list .lp-vs-list-head {
    display: flex;
    justify-content: space-between;
    padding: 9px 52px 9px 16px;
    border-bottom: var(--lp-border-fine);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-text-3);
  }

  /* One row: the topic, who is ahead, the button. The head cell spans all three and
     lends its columns to its children (subgrid), so the button inside it can cover the
     whole line while the verdict, a cell of its own, sits in the middle column. */
  .lp-vs-list .lp-vs-tr,
  .lp-vs-list .lp-vs-tr[hidden] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    gap: 0 10px;
    padding: 0 14px 0 16px;
  }
  .lp-vs-list .lp-vs-table tbody tr ~ tr { border-top: var(--lp-border-fine); }

  .lp-vs-list .lp-vs-td--label {
    position: relative;
    grid-row: 1;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    min-height: 54px;
    padding: 11px 0;
    font-size: 16px;
  }
  /* A word longer than its column breaks rather than run into the verdict. No automatic
     hyphens: they cut short words too ("wa-ren"). */
  .lp-vs-list .lp-vs-topic { grid-column: 1; min-width: 0; overflow-wrap: break-word; }

  .lp-vs-list .lp-vs-row-toggle {
    grid-column: 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: var(--lp-white);
    color: var(--lp-ink);
    border: var(--lp-border-control);
    border-radius: var(--lp-r-control);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .lp-vs-list .lp-vs-row-toggle::before { content: "+"; }
  /* Open, the box turns lime and keeps its grey edge, like the one of a question. */
  .lp-vs-list .lp-vs-row-toggle[aria-expanded="true"] { background: var(--lp-accent); }
  .lp-vs-list .lp-vs-row-toggle[aria-expanded="true"]::before { content: "\2212"; }
  /* The whole line opens the row, not only the small box. */
  .lp-vs-list .lp-vs-row-toggle::after { content: ""; position: absolute; inset: 0; }
  .lp-vs-list .lp-vs-row-toggle:focus-visible { outline: none; }
  .lp-vs-list .lp-vs-td--label:has(.lp-vs-row-toggle:focus-visible) { outline: 2px solid var(--lp-ink); outline-offset: -3px; }

  /* The verdict in the middle column of the same line. Taps go through it to the
     button beneath. */
  .lp-vs-list .lp-vs-tr > .lp-vs-td--verdict[data-label] {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin: 0;
    pointer-events: none;
  }
  .lp-vs-list .lp-vs-verdict { white-space: nowrap; }
  .lp-vs-list .lp-vs-verdict-short { display: inline; }
  /* Out of sight, still read out: the short word is hidden from screen readers. */
  .lp-vs-list .lp-vs-verdict-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  /* Phones narrower than 360px: a little less air and two sizes smaller, so that the
     longest topic words ("Auslastungsplanung") still fit beside the verdict. Measured
     on all sixteen pages; from 360px up every word has room at the full size. */
  @media (max-width: 359px) {
    .lp-vs-list .lp-vs-tr,
    .lp-vs-list .lp-vs-tr[hidden] { gap: 0 8px; padding: 0 12px; }
    .lp-vs-list .lp-vs-td--label { font-size: 14px; }
    .lp-vs-list .lp-vs-list-head { padding-inline: 12px 48px; }
  }

  /* The two answers under the line, as the card had them; gone while the row is closed. */
  .lp-vs-list .lp-vs-tr > .lp-vs-td[data-label]:not(.lp-vs-td--verdict) { grid-column: 1 / -1; }
  .lp-vs-list .lp-vs-tr > .lp-vs-td--lalabase[data-label] { margin-bottom: 16px; }
  .lp-vs-list .lp-vs-tr:not(:has(.lp-vs-row-toggle[aria-expanded="true"])) > .lp-vs-td[data-label]:not(.lp-vs-td--verdict) { display: none; }
}
