/* ═══════════════════════════════════════════════════════════════════════════
   Kontor: landing hero (stage animation, mobile chapters) and standards band
   ───────────────────────────────────────────────────────────────────────────
   Port of prototype v17 (brief v4, 2026-09-30). Engine in /hero-stage.js,
   screens in /hero/{de,en}/.

   Everything is scoped under .kh (hero), .kh-band (standards band) and .kh-rules
   (section 3, automation rules), because
   landing.css already owns .btn, .eyebrow and .hero, and sets img max-width.

   Colours are the site tokens from theme.css, not the prototype's own palette:
     prototype --bg / --surface / --ink   ->  --bg / --card / --text
     prototype --ink-2 and --muted        ->  --text-2
     prototype --line                     ->  --border-lt
     prototype --navy (buttons, bars)     ->  --blue, hover --blue-hover
   Sizes, weights, spacing and the grid layout are the prototype's. Stage
   internals (frame ring, shadows) are the prototype's values unchanged.

   The stage is authored in world pixels (2710 x 1640) and scaled as one piece
   by the engine. Do not convert its numbers to percentages or rems.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero section and backdrop ──────────────────────────────────────────────
   line-height: normal as in the prototype; landing.css sets 1.65 on body.
   The fixed nav sits over the top of the hero, so the top padding is the
   prototype's header height (81px with Geist loaded) plus its hero padding (72px). The faint
   grid fades out towards the bottom, so the sections below meet plain --bg. */
.kh { position: relative; padding: 153px 0 96px; color: var(--text); font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; line-height: normal; -webkit-font-smoothing: antialiased; }
.kh::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    linear-gradient(rgba(14,24,48,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,24,48,.035) 1px, transparent 1px);
  background-size: 100% 900px, 48px 48px, 48px 48px;
  background-repeat: no-repeat, repeat, repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
}
.kh a { color: inherit; text-decoration: none; }
.kh button { font: inherit; color: inherit; }
.kh :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Gate 14 (as Rillet): headline left, lede and buttons right in one row; below, over the full width, the stage on
   a photo backdrop, the chapters as a pill on the water under the window. */
.kh-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 96px);
           grid-template-areas: "head lede" "bd bd"; align-items: end; }
.kh-head { grid-area: head; }
.kh-lede-wrap { grid-area: lede; }
.kh-eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-wrap: balance; }
.kh-title { margin: 0; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-optical-sizing: auto; font-weight: 380; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; color: var(--text); }
.kh-title span { display: block; white-space: nowrap; }
.kh-lede { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.kh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kh-btn { display: inline-flex; align-items: center; justify-content: center; font: 500 16px/1 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.kh .kh-btn-primary { background: var(--blue); color: #fff; }
.kh .kh-btn-primary:hover { background: var(--blue-hover); }
.kh .kh-btn-outline { background: var(--card); color: var(--text); border-color: var(--border-lt); }

/* ── Chapters: a frosted pill on the water below the window (gate 14, all widths) ──────────────────────
   Three segments; the active one is lit and carries its progress as a thin line (--p, set by the engine).
   The descriptions stay in the DOM for screen readers; the caption above the window says what is shown. */
.kh-chapters { position: relative; z-index: 2; display: flex; width: max-content; max-width: calc(100% - 24px); margin: clamp(16px, 2.2%, 30px) auto clamp(18px, 2.6%, 36px);
  padding: 5px; gap: 4px; border-radius: 999px; background: rgba(18, 24, 38, .44); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.kh-chap { position: relative; display: block; padding: 10px 22px 11px; border: 0; border-radius: 999px; background: none; cursor: pointer; overflow: hidden; transition: background-color .3s ease; }
.kh-chap .kh-name { display: block; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.kh-chap[aria-current="step"] { background: rgba(255, 255, 255, .16); }
.kh-chap[aria-current="step"] .kh-name, .kh-chap:hover .kh-name { color: #fff; }
.kh-chap .kh-bar { position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; }
.kh-chap[aria-current="step"] .kh-bar { background: rgba(255, 255, 255, .22); }
.kh-chap .kh-bar i { position: absolute; left: 0; top: 0; height: 100%; width: var(--p, 0%); background: #fff; }
.kh-chap:not([aria-current="step"]) .kh-bar i { opacity: 0; }
.kh-chap .kh-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kh .kh-chap:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Stage: world coordinates 2710 x 1640, scaled to the column width ─────── */
.kh-stage { position: relative; z-index: 1; width: 78%; margin: 0 auto; aspect-ratio: 2710 / 1640; overflow: hidden; }
.kh-world { position: absolute; left: 0; top: 0; width: 2710px; height: 1640px; transform-origin: 0 0; }
.kh-world img { max-width: none; }
/* Screens keep the height of the loaded resolution step, as in the prototype; the width and
   height attributes only reserve the aspect ratio until it loads. Without height: auto the
   height attribute pins the full image's height, and the page sits up to half a screen pixel
   off its lift-out, whose background follows the step. */
.kh-pan img { height: auto; }
.kh-track { position: absolute; left: 80px; top: 0; height: 1640px; width: 5340px; will-change: transform; }
.kh-slot { position: absolute; top: 0; width: 2550px; height: 1640px; }
/* Scene caption above each window: app name (600, --text), then what is happening (400, --text-2).
   No separator character; weight and colour carry the separation. Text changes per scene in hero-stage.js. */
.kh-label { position: absolute; left: 0; top: 18px; padding: 18px 40px 20px; border-radius: 60px; font: 400 58px/1 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
             color: rgba(255,255,255,.88); letter-spacing: -0.005em; white-space: nowrap; background: rgba(18,24,38,.46); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.kh-label b { font-weight: 600; color: #fff; margin-right: .3em; }
.kh-win { position: absolute; left: 0; top: 150px; width: 2550px; height: 1398px; }
.kh-frame { position: absolute; inset: 0; background: #fff; border-radius: 30px; overflow: hidden;
            box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 80px 160px -60px rgba(10,16,32,.6); }
.kh-page { position: absolute; inset: 0; opacity: 0; }
.kh-page > img.kh-chrome { position: absolute; left: 0; top: 0; width: 2550px; height: 1398px; pointer-events: none; }
.kh-vp { position: absolute; left: 77px; right: 0; bottom: 0; overflow: hidden; background: #fff; }
.kh-pan { position: absolute; left: 0; top: 0; width: 2477px; will-change: transform; }
.kh-pan img { display: block; width: 2477px; }
/* Gate 11: reveal covers. Each cover lies over a value in the screen, in the colour of the
   ground under it, and is wiped away by a moving mask (hero-stage.js, rv*()). Nothing is retyped:
   what appears is the capture itself. */
.kh-rv { position: absolute; display: block; pointer-events: none; background: #fff; }
.kh-rv[data-g="bs"], .kh-rv[data-g="hgb"] { background: var(--rv-bg); }
/* Gate 14: the row tint of the app on the equity row of the group balance sheet (end of scene 2). */
.kh-tint { position: absolute; left: 40px; width: 2397px; display: block; pointer-events: none; opacity: 0; background: #e9eef6; mix-blend-mode: multiply; border-radius: 10px; }

/* Phones and touch devices: no GPU layers inside the scaled world (iPhone crash at the move from
   scene 0 to scene 1, 2026-10-11). Safari rasters a layer at its layout size, not at the size the
   world's scale shows it at: at DPR 3 and scale 0.13 one page is about 7400 x 4800 device px, and the
   move to window 1 brings two more pages into view at once. Without will-change and with 2D
   translate() (hero-stage.js, FLAT) the stage paints at its real size into the page. The label's
   blur would make it a layer too and is about 2 px there, so a denser ground replaces it.
   The query must stay the same as FLAT_Q in hero-stage.js and sol-stage.js. */
@media (max-width: 1000px), (pointer: coarse) {
  .kh-track, .kh-pan { will-change: auto; }
  .kh-label { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18,24,38,.62); }
}

/* ── Excerpt figures (used by section 3 on phones) ─────────────────────────── */
.kh-st-shot, .kh-st-win { min-width: 0; }
.kh-st-shot { margin: 0; }
.kh-st-app { margin: 0 0 8px 2px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.kh-st-win { position: relative; background: #fff; border: 1px solid var(--border-lt); border-radius: 14px; overflow: hidden;
             box-shadow: 0 1px 2px rgba(14,24,48,.05), 0 12px 32px -18px rgba(14,24,48,.28); }
.kh-st-scroll img { display: block; width: 100%; height: auto; max-width: none; }

/* ── Up to 1000px: one column; the stage runs full width above the chapter list (gate 7) ── */
@media (max-width: 1000px) {
  .kh { padding-top: 137px; }
  .kh-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "lede" "bd"; }
  .kh-lede { margin-top: 24px; }
  .kh-stage { width: 92%; }
  .kh-chap { padding: 9px 13px 10px; }
  .kh-chap .kh-name { font-size: 14px; }
  .kh-chap .kh-bar { left: 12px; right: 12px; bottom: 4px; }
}
@media (max-width: 720px) { .kh { padding-top: 133px; } }   /* prototype header 4px shorter up to 720px */
@media (max-width: 480px) { .kh-title span { white-space: normal; } }
/* Claim as on the sign-in page (2026-11-07): "Zeit für Entscheidungen." / "Time for the calls that count.".
   The English second line is up to 12.3em wide (Fraunces widens at small optical sizes), wider than the head
   column at the usual size: the size follows the column (container query, 10.9em German, 12.6em English) so no
   line runs into the lede. On phones the English lines wrap balanced at
   up to 36px, like the German ones (replaces Gate 8c, two lines at 9.75em). */
.kh-head { container-type: inline-size; }
.kh-title { font-size: min(clamp(40px, 4.6vw, 72px), calc(100cqi / 10.9)); }
:lang(en) .kh-title { font-size: min(clamp(40px, 4.6vw, 72px), calc(100cqi / 12.6)); }
@media (max-width: 480px) { .kh-title { font-size: min(40px, calc((100vw - 40px) / 8.7)); } :lang(en) .kh-title { font-size: min(36px, calc((100vw - 40px) / 9.4)); } .kh-title span { text-wrap: balance; } }

/* ── Large screens: zoom steps (gate 4b) ──────────────────────────────────────
   From 1800px the nav, hero and standards band containers grow like the page's
   other sections (.feat3 uses 1.12 and 1.25), plus a step at 2800px.
   The nav only on the home pages (.nav-home), where it sits over this hero.
   hero-stage.js reads the hero container's zoom for fit() and the image steps.
   The hero's top padding grows with the nav: 153px is 104px plus the 49px nav
   container, and only the nav container is zoomed (as the prototype's header).
   Gate 8d: section 3 takes the same steps, so its window keeps the hero window's width. */
@media (min-width: 1800px) { .nav-home .nav-inner, .kh .kh-grid, .kh-band .wrap-landing, .kh-rules .wrap-landing { zoom: 1.12; } .kh { padding-top: calc(104px + 49px * 1.12); } }
@media (min-width: 2240px) { .nav-home .nav-inner, .kh .kh-grid, .kh-band .wrap-landing, .kh-rules .wrap-landing { zoom: 1.25; } .kh { padding-top: calc(104px + 49px * 1.25); } }
@media (min-width: 2800px) { .nav-home .nav-inner, .kh .kh-grid, .kh-band .wrap-landing, .kh-rules .wrap-landing { zoom: 1.4; } .kh { padding-top: calc(104px + 49px * 1.4); } }

/* ── Standards band, directly below the hero ─────────────────────────────── */
.kh-band { padding: 0 0 88px; color: var(--text); font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; line-height: normal; -webkit-font-smoothing: antialiased; }
.kh-band .kh-std { border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); }
.kh-band .kh-std-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; align-items: center; padding: 24px 0; }
.kh-band .kh-std-row + .kh-std-row { border-top: 1px solid var(--border-lt); }
.kh-band .kh-std-label { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.kh-band .kh-std-items { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; list-style: none; margin: 0; padding: 0; }
.kh-band .kh-std-code { font-size: 18px; font-weight: 500; letter-spacing: -0.005em; color: var(--text); }
.kh-band .kh-std-item { display: flex; align-items: center; gap: 11px; font-size: 16px; color: var(--text-2); }
/* Divider between IFRS and the local standards: an ordinary flex item, also on mobile. */
.kh-band .kh-std-sep { width: 1px; height: 28px; background: var(--border-lt); }
.kh-band .kh-std-item svg { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(14,24,48,.08); }
@media (max-width: 1000px) {
  .kh-band .kh-std-row { grid-template-columns: 1fr; row-gap: 16px; }
  .kh-band .kh-std-items { gap: 12px 28px; }
}
/* ── Section 3: automation rules (gate 6, new screen and layout gate 7) ──────────
   Its own block: a tinted band across the full width, #EDF0F5, a deeper tone of the
   page background and deliberately not white because the Kontor screens are white,
   with a line at top and bottom. The section carries the anchor of the hero's second
   button. Since gate 7 the screen (the automation policy with its step funnel) runs
   across the full container width below the heading, because the funnel needs the
   width. The window scrolls within the same page: sidebar and header stand still
   (.kh-rules-chrome), the content (.kh-rules-pan) rests on the result and the funnel,
   glides down to the confidence thresholds and limits, rests, and glides back. The
   animation only runs while the section is in view (hero-stage.js) and not at all
   with reduced motion. Since gate 7b the window and the three rules sit side by side
   (8:4), so the section fits a notebook screen. Up to 1000px the window gives way to
   three fixed excerpts: the headline figure, the two confidence sliders and the funnel
   tiles stacked from top to bottom. */
.kh-rules { padding: 104px 0 112px; background: #EDF0F5; border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); color: var(--text); font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: normal; -webkit-font-smoothing: antialiased; }
.kh-rules-head { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); column-gap: clamp(40px, 4vw, 72px); align-items: end; }
.kh-rules h2 { margin: 0; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-optical-sizing: auto; font-weight: 380; font-size: clamp(32px, 2.9vw, 44px); line-height: 1.08; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; }
.kh-rules-lede { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
/* Gate 7b: window and rules side by side, so the section fits a notebook screen.
   Gate 8d: the window is exactly as wide as the hero window, so the screen in section 3 is never
   larger than the one in the hero (it was 14 % wider at 1280 and 1440). Same gap as the hero; the
   first column is the hero's stage column (7.5 of 12) times the window's share of the stage
   (2550 of 2710 world pixels) = 7.0572 of 12. */
.kh-rules-body { display: grid; grid-template-columns: minmax(0, 7.0572fr) minmax(0, 4.9428fr); column-gap: clamp(40px, 4vw, 72px); align-items: center; margin-top: 48px; }
.kh-rules-shot { position: relative; min-width: 0; }
/* The screen fades out at the bottom, so it reads as a page that goes on (gate 8b: 76 to 100 %,
   was 91 to 100 %, which looked like the end of the page; gate 8d: 84 to 100 % in the shorter
   window, so the step funnel stays clear of the fade). */
.kh-rules-win { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px #DDE2EA, 0 40px 80px -40px rgba(14,24,48,.45);
                -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); }
.kh-rules-win { position: relative; }
/* Gate 8d: the window also has the hero window's format (2550 x 1398), so section 3 is never larger
   than the hero, neither wider nor taller. The capture is taller (3880 x 2480); the bottom of the
   frame and of the page is cut off and lies in the fade anyway. */
.kh-rules-shot .kh-rules-win { aspect-ratio: 2550 / 1398; }
.kh-rules-chrome { position: relative; z-index: 1; }
/* Content area of the window below the header (180 px) and right of the sidebar (162 px) of the 3880 px
   capture: left 162 / 3880 of the width; top 180 / 3880 of the width, as a share of the window height
   (1398 / 2550 of the width), = 8.4621 % (gate 8d; was 7.2581 % of the full capture height). */
.kh-rules-vp { position: absolute; left: 4.1753%; top: 8.4621%; right: 0; bottom: 0; overflow: hidden; background: #fff; }
.kh-rules-pan { transform: translateY(-7.309%); animation: kh-rules-pan 13s ease-in-out infinite; animation-play-state: paused; will-change: transform; }
.kh-rules-shot.is-on .kh-rules-pan { animation-play-state: running; }
/* -50.559 % = 2352 px of the 4652 px page: from the funnel to the confidence card. Gate 8d: the first
   stop is -7.309 % = 340 px, so in the shorter window the result card and the whole step funnel sit
   above the fade (funnel bottom at page y 1937, fade from 1607 px of the viewport). */
/* Gate 16 (Stefan, 2026-10-08): the move down came too late, visitors scrolled past before it. It now starts after
   about 1 s instead of 4.5 s (13 s loop: top 1 s, down 1.6 s, rules 7.8 s, up 1.6 s, top 1 s), and the shot starts
   playing when 15 % of it is in view instead of 30 % (hero-stage.js). */
@keyframes kh-rules-pan { 0%, 8% { transform: translateY(-7.309%); } 20%, 80% { transform: translateY(-50.559%); } 92%, 100% { transform: translateY(-7.309%); } }
@media (prefers-reduced-motion: reduce) { .kh-rules-pan { animation: none; } }
.kh-rules-win img { display: block; width: 100%; height: auto; max-width: none; }
.kh-rules-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.kh-rules-list li { font-size: 16px; line-height: 1.55; color: var(--text-2); padding-left: 18px; border-left: 2px solid var(--border-lt); text-wrap: pretty; }
.kh-rules-list b { display: block; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.kh-rules-mob { display: none; min-width: 0; }
.kh-rules-mob .kh-st-shot + .kh-st-shot { margin-top: 20px; }
.kh-rules-stack { padding: 14px; }
@media (max-width: 1000px) {
  .kh-rules { padding: 64px 0 72px; }
  .kh-rules-head { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .kh-rules-body { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .kh-rules-shot { display: none; }
  .kh-rules-mob { display: block; }
  .kh-rules-list { margin-top: 36px; }
}

.kh-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 4. Plattform (gate 10, 2026-10-05) ─────────────────────────────────────
   Dark band: list of modules left, the active module right (title, two sentences, its real screen on a
   painted backdrop). The backdrop takes the dullness off the accounting screen. Auto-advances every
   5 s while in view; the pointer on the module list or keyboard focus pauses; a click selects. Up to 1000px all modules stack. */
.pf { position: relative; padding: 120px 0 128px; color: #fff; font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
      background-color: #0F1D38;
      background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.6px), linear-gradient(180deg, #0F1D38 0%, #142A52 100%);
      background-size: 18px 18px, 100% 100%; -webkit-font-smoothing: antialiased; }
.pf-eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.pf h2 { margin: 0; max-width: 18ch; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-optical-sizing: auto; font-weight: 380;
         font-size: clamp(34px, 3.2vw, 50px); line-height: 1.06; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.pf-lede { margin: 22px 0 0; max-width: 52ch; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.72); }
.pf-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(32px, 4vw, 72px); margin-top: 64px; }
.pf-tabs { display: grid; align-content: start; gap: 2px; padding-top: 6px; }
.pf-tab { position: relative; display: grid; grid-template-columns: 2px 1fr; column-gap: 16px; align-items: center; text-align: left;
          padding: 12px 0; border: 0; background: none; cursor: pointer; font: 500 17px/1.3 inherit; font-family: inherit;
          color: rgba(255,255,255,.55); transition: color .25s ease; }
.pf-tab:hover { color: rgba(255,255,255,.85); }
.pf-tab[aria-selected="true"] { color: #fff; }
.pf-bar { align-self: stretch; position: relative; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.pf-bar i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: #fff; }
.pf-tab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
/* All panels share one grid cell, so the block keeps the height of the tallest one and the screen of every
   module starts at the same height (the copy sits at the bottom of its row). */
.pf-panels { display: grid; }
.pf-panel { grid-area: 1 / 1; display: grid; grid-template-rows: 1fr auto; }
.pf-panel.pf-anim { animation: pf-in .5s ease both; }   /* only on a change, never on load */
.pf-panel[hidden] { display: grid; visibility: hidden; animation: none; }
.pf-copy { align-self: end; }
@keyframes pf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pf-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
.pf-copy h3 { grid-column: 1; margin: 0; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.2vw, 34px);
              line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.pf-copy p { grid-column: 1; margin: 12px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.74); }
.pf-link { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap;
           padding: 12px 18px; border-radius: 999px; background: #fff; color: #0F1D38; font-size: 15px; font-weight: 500; text-decoration: none; }
.pf-link:hover { background: #E8EDF6; }
.pf-stage { position: relative; margin-top: 32px; border-radius: 16px; overflow: hidden;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 40px 90px -50px rgba(0,0,0,.55);
            background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));   /* gate 10: no photo behind the screen */
            padding: 5.5% 7% 0; aspect-ratio: 16 / 10; }
.pf-shot { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 30px 80px -30px rgba(5,12,28,.6); }
/* Real screens in section 4 (Stefan 2026-10-20: no camera move): the whole screen stands in the window, at the
   window's width, anchored at the top. The bank reconciliation and the period close are 3504 capture px wide
   (DPR 2; 544 px of empty columns cut out, in the card row a quarter in each card, so the four cards stay equally
   wide), the tax return 3400 (648 px cut). The window reaches down to the lower edge of the stage (the stage has
   no bottom padding) and takes its height from it; only the bottom, where the page is cut, fades out lightly,
   towards white (a fade to transparent would show the dark section through it). Below the image the window is
   white, inside the fade. With the image sizes (`sizes`, the window width) the capture covers the device pixels
   on every size. */
.pf-win { position: relative; overflow: hidden; background: #fff; }
.pf-stage:has(> .pf-win) { display: flex; flex-direction: column; }
.pf-stage > .pf-win { flex: 1 1 auto; min-height: 0; }
.pf-win::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 1; pointer-events: none;
                 background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.9)); }
.pf-win img { display: block; width: 100%; height: auto; }
/* Dual GAAP: the same consolidated balance sheet of the group under the parent's local accounting standard (HGB)
   and under IFRS (Stefan 2026-10-21): the HGB sheet stands, then slides out to the left while the IFRS sheet comes
   in from the right; in a loop the HGB sheet comes back from the right the same way. 8 s cycle: 2.4 s HGB, 0.6 s
   slide, 4 s IFRS, 0.6 s slide back, 0.4 s HGB. A panel is shown for 5 s, so with tabs the IFRS sheet stands for
   2 s and is there when the next module comes. A hidden panel is only invisible and its animations keep running, so
   hero-stage.js sets both back to their start whenever the panel is shown: it always starts with HGB. The jump of
   a sheet from the left back to the right happens while it is out of the window (step-end). Stacked panels
   (phones) loop. Reduced motion: HGB only. */
.pf-dual img { will-change: transform; animation: pf-dual-a 8s infinite; }
.pf-dual .pf-alt { position: absolute; left: 0; top: 0; transform: translateX(100%); animation-name: pf-dual-b; }
@keyframes pf-dual-a {
  0%, 30% { transform: translateX(0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  37.5% { transform: translateX(-100%); animation-timing-function: step-end; }
  37.6%, 87.5% { transform: translateX(100%); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  95%, 100% { transform: translateX(0); } }
@keyframes pf-dual-b {
  0%, 30% { transform: translateX(100%); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  37.5%, 87.5% { transform: translateX(0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  95% { transform: translateX(-100%); animation-timing-function: step-end; }
  95.1%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .pf-dual img, .pf-dual .pf-alt { animation: none; } }
@media (min-width: 1800px) { .pf .wrap-landing { zoom: 1.12; } }
@media (min-width: 2240px) { .pf .wrap-landing { zoom: 1.25; } }
@media (min-width: 2800px) { .pf .wrap-landing { zoom: 1.4; } }
@media (max-width: 1000px) {
  .pf { padding: 72px 0 80px; }
  .pf-body { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .pf-tabs { display: none; }
  .pf-panels { display: block; }
  .pf-panel, .pf-panel[hidden] { display: block; visibility: visible; animation: none; }
  .pf-panel + .pf-panel { margin-top: 56px; }
  .pf-copy { grid-template-columns: minmax(0, 1fr); }
  .pf-link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
  .pf-stage { margin: 24px calc(-1 * var(--landing-gutter)) 0; border-radius: 0; padding: 7% 6% 0; }
}

/* Section 5 (gate 12): light closing band after the dark section 4. Heading in the serif of sections 3 and 4,
   the call to action, then the trust facts as one row with a hairline above (no cards, no dark ground). */
.fin { background: var(--bg); padding: clamp(80px, 9vw, 136px) 0 clamp(64px, 7vw, 104px); font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; }
.fin-main { max-width: 780px; margin: 0 auto; text-align: center; }
.fin h2 { margin: 0; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-optical-sizing: auto; font-weight: 380; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; }
.fin-lede { margin: 20px auto 0; max-width: 56ch; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.fin-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fin .fin-primary { background: var(--blue); color: #fff; }
.fin .fin-primary:hover { background: var(--blue-hover); }
.fin .fin-outline { background: var(--card); color: var(--text); border-color: var(--border-lt); }
.fin .fin-outline:hover { border-color: color-mix(in srgb, var(--text) 25%, var(--border-lt)); }
.fin-trust { list-style: none; max-width: 1080px; margin: clamp(56px, 6vw, 88px) auto 0; padding: 32px 0 0; border-top: 1px solid var(--border-lt);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.fin-trust li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; align-content: start; }
.fin-trust svg { grid-row: span 2; color: var(--blue); }
.fin-trust b { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--text); }
.fin-trust span { font-size: 14px; line-height: 1.55; color: var(--text-2); text-wrap: balance; }
.fin-more { margin: 32px 0 0; text-align: center; font-size: 15px; }
.fin-more a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fin-more a:hover { color: var(--blue-hover); }
@media (max-width: 1000px) { .fin-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fin-trust { grid-template-columns: minmax(0, 1fr); } .fin-lede { font-size: 16px; } }
@media (min-width: 1800px) { .fin .wrap-landing { zoom: 1.12; } }
@media (min-width: 2240px) { .fin .wrap-landing { zoom: 1.25; } }
@media (min-width: 2800px) { .fin .wrap-landing { zoom: 1.4; } }
