/*
 * Kontor landing: scroll stories (2026-11-07). One sticky stage per section; the script /story.js drives
 * every section with class ks and a data-story name, the story modules /story-*.js draw the stage.
 * Without JavaScript and with reduced motion the static block (.ks-static) shows the end of the story.
 */
/* One tone per story (2026-11-07, more contrast 2026-11-08, muted 2026-11-10): navy, petrol, steel blue, indigo,
   and green for the close as the last one; slate blue for the group story of the Dual GAAP page. All dark enough for white text and the white panels. Each story slides over
   the end of the one before (story.js lengthens the earlier track by one screen), so there is never an empty screen
   between two stories. */
.ks { --ks-bg: #1D2F47; position: relative; color: #fff; background-color: var(--ks-bg);
  background-image: radial-gradient(rgba(255,255,255,.17) 1.25px, transparent 1.7px);
  background-size: 22px 22px; font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; }
/* Muted tones of the platform family, blue and green in turn (Stefan 2026-11-10, 02:20): five stories in a row on the start
 * page must not run into one grey stretch, and none of them is louder than the slate of the hero cards. */
.ks[data-story="auto"] { --ks-bg: #1E3556; }
.ks[data-story="bank"] { --ks-bg: #174049; }
.ks[data-story="mahn"] { --ks-bg: #1E4A44; }  /* Stefan 2026-11-11 (7); since 2026-11-12 the hero card of the page takes the same green */
.ks[data-story="steuer"] { --ks-bg: #2B2D5C; }
.ks[data-story="abschluss"] { --ks-bg: #1B4239; }
.ks[data-story="konzern"] { --ks-bg: #1D3B57; }
.ks + .ks { border-top: 1px solid rgba(255,255,255,.08); }
.ks.is-live + .ks.is-live { margin-top: -100vh; margin-top: -100lvh; box-shadow: 0 -22px 44px -10px rgba(3,8,20,.5); }
.ks-track { position: relative; }
.ks-sticky { position: relative; }

.ks-kicker { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.6); }
.ks-ex { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.22); font-weight: 400; color: rgba(255,255,255,.42); }
.ks-h { font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.08;
  letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.ks-p { margin: 16px 0 0; max-width: 40ch; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.74); text-wrap: pretty; }
.ks-link { display: inline-flex; align-items: center; margin-top: 24px; padding: 12px 20px; border-radius: 999px; background: #fff; color: #0F1D38;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ks-link:hover { background: #E8EDF6; }
.ks-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* A product page with a story: its hero content starts near the top, the eyebrow 64 px below the navigation (about
   140 px from the top of the window); the screen in the hero starts at the same height and shows more of itself on tall
   screens (up to 600 px instead of 470). The hero ends below that screen with the spacing of the page's
   sections (88 to 124 px) and the story follows (Stefan 2026-11-08: the hero filling the whole first screen left too
   much empty space, 64 px below the screen too little). */
@media (min-width: 1001px) {
  body.mk:has(.ks) .mk-hero.mk-hero-page { display: flex; align-items: flex-start; padding-top: 64px; padding-bottom: clamp(88px, 8.5vw, 124px); }
  body.mk:has(.ks) .mk-hero.mk-hero-page > .wrap-landing { width: 100%; }
  body.mk:has(.ks) .mk-hero-page .mk-grid { grid-template-rows: 0 auto auto auto 1fr; }
  body.mk:has(.ks) .mk-hero-page .mk-vis:has(.mk-peek) { align-self: start; align-items: flex-start; }
  body.mk:has(.ks) .mk-hero-page .mk-peek { max-height: clamp(470px, 60vh, 600px); }
}

/* ---------- Static: no JavaScript, or reduced motion ---------- */
.ks-static .ks-inner { max-width: 1200px; margin: 0 auto; padding: 96px 24px 104px; }
.ks-sheet { margin: 36px 0 0; max-width: 640px; background: #fff; color: #0F1D38; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(5,12,28,.6); }
.ks-sheet-head { display: flex; align-items: baseline; gap: 8px; padding: 16px 20px 12px; font-size: 15px; font-weight: 500; border-bottom: 1px solid #E8ECF2; }
.ks-sheet-head span { color: #6B7486; font-weight: 400; font-variant-numeric: tabular-nums; }
.ks-sheet ol, .ks-sheet ul { margin: 0; padding: 0; list-style: none; }
.ks-srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; padding: 12px 20px; border-top: 1px solid #EEF1F5; }
.ks-srow:first-child { border-top: 0; }
.ks-srow b { font-size: 15px; font-weight: 500; min-width: 0; }
.ks-srow em { font-style: normal; font-size: 15px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks-srow small { grid-column: 1 / -1; font-size: 13.5px; color: #4A5568; }

/* ---------- Live ---------- */
.ks.is-live .ks-static { display: none; }
.ks-live { display: none; height: 100%; }
.ks.is-live .ks-live { display: block; }
.ks.is-live .ks-track { height: var(--len, 300vh); }
/* The stage is as tall as the screen with the browser bars hidden, as they are while one scrolls down (lvh). */
.ks.is-live .ks-sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.ks-grid { height: 100%; max-width: 1320px; margin: 0 auto; padding: var(--top, 96px) 24px 28px; display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.ks-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding-bottom: 6vh; }
.ks-beats { position: relative; min-height: var(--beats-h, 260px); }
.ks-beat { position: absolute; left: 0; right: 0; top: 0; opacity: 0; will-change: opacity, transform; }
.ks-beat:first-child { position: relative; }
.ks-cap { position: relative; height: 3.2em; margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.8); }
.ks-cap span { position: absolute; left: 0; top: 0; max-width: 36ch; opacity: 0; }

.ks-count { display: flex; gap: clamp(20px, 2.6vw, 36px); margin-top: 28px; }
.ks-count div { display: flex; flex-direction: column; gap: 2px; }
.ks-count small { font-size: 15px; color: rgba(255,255,255,.58); }
/* The counters size with the copy column, so they stay left of the stage from 761 px on (2026-11-08). */
.ks-count b { font-weight: 500; font-size: clamp(24px, 3.3vw, 32px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks-count b i { font-style: normal; color: rgba(255,255,255,.5); font-weight: 400; }

.ks-stage { position: relative; height: 100%; min-height: 0; }
.ks-stage > * { position: absolute; left: 0; top: 0; }
.ks-label { font-size: 15px; color: rgba(255,255,255,.58); white-space: nowrap; }

/* Lines: the shared vocabulary of the stories (a statement line, a booking, an invoice). */
.ks-ln { height: 4px; color: rgba(255,255,255,.42); will-change: transform, opacity; }
.ks-ln i { position: absolute; top: 50%; height: min(100%, 7px); transform: translateY(-50%); border-radius: 2px; background: currentColor; }
.ks-ln .b1 { left: 0; width: 7%; }
.ks-ln .b2 { left: 11%; }
.ks-ln .b3 { right: 0; }
.ks-beam { height: 1px; background: linear-gradient(90deg, rgba(157,190,250,0), rgba(157,190,250,.9)); transform-origin: 0 50%; }
.ks-glow { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(157,190,250,.38), rgba(157,190,250,0) 65%); pointer-events: none; }

/* The white sheet: where a story arrives in the product. */
.ks-panel { background: #fff; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(5,12,28,.65); }
.ks-phead { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 500; color: #0F1D38; white-space: nowrap; }
.ks-phead span { color: #6B7486; font-weight: 400; font-variant-numeric: tabular-nums; }
.ks-pmore { font-size: 13px; color: #6B7486; white-space: nowrap; }
.ks-row { color: #fff; }
.ks-row .bars { position: absolute; inset: 0; }
.ks-row .txt { position: absolute; inset: 0; opacity: 0; color: #0F1D38; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px;
  align-content: center; row-gap: 3px; padding: 0 4px; border-top: 1px solid #EEF1F5; }
.ks-row.first .txt { border-top-color: transparent; }
.ks-row .ok-bg { position: absolute; inset: 0; background: #E9F4EC; opacity: 0; border-radius: 6px; }
.ks-row .dt { grid-row: 1 / span 2; font-size: 13px; color: #6B7486; font-variant-numeric: tabular-nums; padding-top: 1px; align-self: start; }
.ks-row .nm { font-size: 15px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-row .am { font-size: 15px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks-row .ht { font-size: 13.5px; color: #4A5568; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-row .act { position: relative; justify-self: end; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ks-bt { display: inline-block; border: 1px solid #C9D2E0; border-radius: 8px; padding: 4px 11px; color: #0F1D38; background: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ks-ok { color: #1E6B3A; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ks-row .ok { position: absolute; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.ks-ok svg { width: 14px; height: 14px; }
.ks-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ks-flag { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px; display: block; }

.ks-stage .ks-link { margin-top: 0; }
.ks-cta-m { display: none; }

/* Phones: text on top, the stage below. */
@media (max-width: 760px) {
  .ks-static .ks-inner { padding: 72px 20px 80px; }
  .ks-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); row-gap: 20px; padding: var(--top, 76px) 20px 20px; }
  .ks-copy { justify-content: flex-start; padding-bottom: 0; }
  .ks-beats { min-height: 0; height: var(--beats-h, 190px); }
  .ks-h { font-size: clamp(27px, 7.6vw, 32px); }
  .ks-p, .ks-cap { font-size: 15.5px; }
  .ks-cap { height: 3.1em; margin-top: 12px; }
  .ks-count { gap: 28px; margin-top: 16px; }
  .ks-count b { font-size: 22px; }
  .ks-row .txt { grid-template-columns: minmax(0, 1fr) auto; padding: 0 2px; }
  .ks-row .dt { display: none; }
  .ks-row .nm, .ks-row .am { font-size: 14.5px; }
  .ks-row .ht { font-size: 13px; }
  .ks-srow { padding: 12px 16px; }
  .ks-cta-d { display: none; }
  .ks-stage .ks-cta-m { display: inline-flex; }
}

/* Phones keep the sizes the stories were drawn for (the larger ones above are for the desktop, 2026-11-08). */
@media (max-width: 760px) {
  .ks-kicker { font-size: 14px; }
  .ks-count small, .ks-label, .ks-docs-cap { font-size: 13px; }
  .ks-big small { font-size: 14px; }
  .ks-switch { font-size: 13px; }
  .km-todayl, .km-days { font-size: 13px; }
  .km-name { font-size: 14px; }
  .km-thead, .kt-legend { font-size: 12.5px; }
  .kc-calhead { font-size: 14px; }
  .kc-tiles small { font-size: 12.5px; }
  .kc-seal small { font-size: 13px; }
}

/* Short phones: the copy takes less height, so the stage keeps more of the screen (story.js scales it to fit). */
@media (max-width: 760px) and (max-height: 760px) {
  .ks-grid { row-gap: 14px; }
  .ks-kicker { margin-bottom: 8px; font-size: 13px; }
  .ks-h { font-size: clamp(24px, 6.6vw, 28px); }
  .ks-p, .ks-cap { font-size: 14.5px; line-height: 1.45; }
  .ks-p { margin-top: 8px; }
  .ks-cap { margin-top: 8px; height: 2.9em; }
  .ks-count { margin-top: 10px; }
  .ks-count b { font-size: 20px; }
  .kt-row { padding-top: 7px; padding-bottom: 7px; }
  .kt-sub div { padding-top: 4px; padding-bottom: 4px; }
  .kt-head { padding-top: 9px; padding-bottom: 8px; }
}

/* Documents: a small stack of paper (bank story). */
.ks-docs { width: 120px; height: 150px; }
.ks-docs i { position: absolute; left: 0; right: 0; height: 100%; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.ks-docs i::before, .ks-docs i::after { content: ""; position: absolute; left: 14%; right: 30%; height: 3px; border-radius: 2px; background: #D5DCE7; top: 22%; }
.ks-docs i::after { right: 46%; top: 34%; }
.ks-docs i b { position: absolute; left: 14%; right: 14%; bottom: 18%; height: 3px; border-radius: 2px; background: #E4E9F0; }
.ks-docs-cap { font-size: 15px; color: rgba(255,255,255,.58); text-align: center; }

/* A plain bar (automation story). */
.ks-bar { height: 3px; border-radius: 2px; background: currentColor; color: rgba(255,255,255,.42); will-change: transform, opacity; }
.ks-colhead { display: flex; flex-direction: column; justify-content: flex-end; font-size: 15px; line-height: 1.3; color: rgba(255,255,255,.62); }
.ks-colhead b { display: block; font-weight: 500; font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; margin-top: 2px; }
.ks-big { padding: 18px 22px 20px; margin: -18px 0 0 -22px; border-radius: 24px; background: radial-gradient(ellipse at 40% 45%, color-mix(in srgb, var(--ks-bg) 92%, transparent) 35%, transparent 75%); font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-weight: 400; font-size: clamp(64px, 9vw, 120px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.ks-big small { display: block; line-height: 1.4; font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; letter-spacing: 0; color: rgba(255,255,255,.66); margin-top: 10px; white-space: normal; }
.ks-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 15px; font-weight: 500; }
.ks-switch span { position: relative; z-index: 1; padding: 6px 14px; border-radius: 999px; color: rgba(255,255,255,.75); transition: color .2s; }
.ks-switch i { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: #fff; }
.ks-switch span.on { color: #0F1D38; }
@media (max-width: 760px) {
  .ks-colhead { font-size: 11.5px; }
  .ks-colhead b { font-size: 15px; }
  .ks-big { font-size: 64px; }
}

/* Dunning story. */
.km-axis { height: 1px; background: rgba(255,255,255,.28); }
.km-tick { width: 1px; height: 7px; background: rgba(255,255,255,.3); }
.km-tick.big { height: 11px; background: rgba(255,255,255,.5); }
.km-today { width: 1px; background: linear-gradient(180deg, #fff, rgba(255,255,255,.15)); }
.km-todayl { font-size: 15px; font-weight: 500; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.km-name { font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap; }
.km-bar { height: 6px; z-index: 2; }
.km-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.km-open { left: 0; background: rgba(255,255,255,.42); }
.km-late { background: rgb(243,163,144); }
.km-due { background: rgba(255,255,255,.85); border-radius: 1px; }
.km-days { font-size: 15px; color: rgb(243,163,144); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.km-sheet { color: #0F1D38; overflow: hidden; }
.km-shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid #E8ECF2; font-size: 15px; font-weight: 500; }
.km-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 14px; align-items: center; padding: 11px 18px; border-top: 1px solid #EEF1F5; }
.km-row:first-of-type { border-top: 0; }
.km-row b { display: block; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.km-row small { display: block; font-size: 13px; color: #6B7486; margin-top: 2px; white-space: nowrap; }
.km-right { text-align: right; }
.km-row .sf { display: none; }
.km-more b { color: #4A5568; }
.km-st2 { position: relative; }
.km-st2 .b { position: absolute; right: 0; top: 0; opacity: 0; }
.km-chip { background: #F1F4F8; color: #33405A; }
.km-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 18px 14px; border-top: 1px solid #E8ECF2; font-size: 14px; color: #4A5568; }
.km-total b { font-size: 16px; color: #0F1D38; font-weight: 500; font-variant-numeric: tabular-nums; }
.km-letter { color: #0F1D38; padding: 18px 20px 16px; }
.km-lhead small { display: block; font-size: 13px; color: #6B7486; }
.km-lhead b { display: block; margin: 6px 0 12px; font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.2; color: #14306B; }
.km-lline, .km-lsum { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; border-top: 1px solid #EEF1F5; }
.km-lline b, .km-lsum b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.km-lsum { border-top: 1px solid #0F1D38; margin-top: 4px; padding-top: 9px; font-size: 15px; font-weight: 500; }
.km-table { font-size: 14px; }
.km-thead, .km-trow { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 64px; column-gap: 10px; align-items: center; }
.km-thead { grid-template-columns: minmax(0, 1fr) auto 64px; padding: 0 0 8px; font-size: 14px; color: rgba(255,255,255,.6); }
.km-thead span:nth-child(n+2), .km-trow b { text-align: right; }
.km-trow { padding: 7px 0; border-top: 1px solid rgba(255,255,255,.12); }
.km-trow span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-trow b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) {
  .km-row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 14px; }
  .km-mid { display: none; }
  .km-row .sf { display: inline; }
  .km-row .no { display: none; }
  .km-shead { padding: 12px 14px 10px; }
  .km-total { padding: 10px 14px 12px; }
  .km-letter { padding: 14px 16px 12px; }
  .km-lhead b { font-size: 17px; margin-bottom: 8px; }
  .km-lline, .km-lsum { font-size: 13.5px; padding: 6px 0; }
  .km-table { font-size: 13.5px; }
  .km-trow { padding: 5px 0; }
}

/* VAT story. */
.kt-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; }
.kt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.kt-legend i { width: 10px; height: 4px; border-radius: 2px; }
.kt-sheet { color: #0F1D38; overflow: hidden; container-type: inline-size; }
.kt-head { padding: 14px 18px 12px; border-bottom: 1px solid #E8ECF2; font-size: 15px; font-weight: 500; }
.kt-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 92px 84px; column-gap: 12px; align-items: baseline; padding: 12px 18px; border-top: 1px solid #EEF1F5; }
.kt-head + .kt-row { border-top: 0; }
.kt-cols { padding-top: 8px; padding-bottom: 6px; }
.kt-cols span { font-size: 12px; color: #6B7486; font-weight: 400; }
.kt-kz { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; padding: 2px 0 2px 8px; border-left: 3px solid var(--c, #0F1D38); }
.kt-lab { font-size: 14px; min-width: 0; }
.kt-lab small { display: block; font-size: 12.5px; color: #6B7486; margin-top: 2px; font-variant-numeric: tabular-nums; opacity: 0; }
.kt-base, .kt-tax { font-size: 14.5px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kt-base { color: #4A5568; font-weight: 400; }
.kt-row.hot .kt-base, .kt-row.hot .kt-tax { color: #2F5FD0; }
.kt-res { border-top: 1px solid #0F1D38; }
.kt-res .kt-tax { font-size: 16px; }
.kt-sub { overflow: hidden; background: #F7F9FC; }
.kt-sub div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 18px 8px 70px; font-size: 13.5px; border-top: 1px solid #EEF1F5; }
.kt-sub b { font-weight: 500; font-variant-numeric: tabular-nums; }
.kt-more span { color: #6B7486; }
.kt-forms { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: #fff; }
.kt-forms span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
/* Two lines per field on every screen: label, then the base on the left and the tax on the right. */
@container (min-width: 0px) {
  .kt-row { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 3px; padding: 10px 14px; }
  .kt-lab { grid-column: 2 / 4; font-size: 13.5px; }
  .kt-base { grid-column: 2; text-align: left; font-size: 13.5px; }
  .kt-tax { grid-column: 3; font-size: 14px; }
  .kt-kz { grid-row: 1 / span 2; align-self: start; margin-top: 1px; }
  .kt-cols { padding-top: 6px; padding-bottom: 4px; }
  .kt-cols .kt-lab { display: none; }
  .kt-cols .kt-base, .kt-cols .kt-tax { grid-row: 1; font-size: 12px; }
  .kt-head { padding: 12px 14px 10px; }
  .kt-sub div { padding: 6px 14px 6px 60px; font-size: 13px; }
}
@media (max-width: 760px) {
  .kt-forms { gap: 6px 14px; font-size: 13px; }
}

/* Close story. */
.kc-dot { border-radius: 1.5px; }
.kc-calhead { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: rgba(255,255,255,.66); }
.kc-calhead b { font-weight: 500; color: #fff; font-size: 15px; }
.kc-calhead em { font-style: normal; color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.kc-day { font-size: 12px; }
.kc-beam { background: linear-gradient(180deg, rgba(157,190,250,0), rgba(157,190,250,1), rgba(157,190,250,0)); border-radius: 1px; }
.kc-sheet { color: #0F1D38; overflow: hidden; }
.kc-head { display: flex; justify-content: space-between; padding: 13px 18px 11px; border-bottom: 1px solid #E8ECF2; font-size: 15px; font-weight: 500; }
.kc-hn { color: #6B7486; font-weight: 400; font-variant-numeric: tabular-nums; }
.kc-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 7px 18px; border-top: 1px solid #EEF1F5; font-size: 14px; }
.kc-head + .kc-row { border-top: 0; }
.kc-nm { color: #8A93A5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.kc-pr { font-size: 12.5px; color: #6B7486; white-space: nowrap; opacity: 0; }
.kc-ic svg { display: block; width: 18px; height: 18px; }
.kc-ic .r { stroke: #C9D2E0; }
.kc-ic .f, .kc-ic .k { opacity: 0; }
.kc-ic .f { fill: #1E8A4C; }
.kc-row.run .kc-nm { color: #0F1D38; }
.kc-row.run .r { stroke: #5B8DEF; stroke-dasharray: 30 22; animation: kc-spin .9s linear infinite; transform-origin: 10px 10px; }
.kc-row.ok .kc-nm { color: #0F1D38; }
.kc-row.ok .f, .kc-row.ok .k { opacity: 1; }
.kc-row.ok .r { opacity: 0; }
@keyframes kc-spin { to { transform: rotate(360deg); } }
.kc-info { display: flex; gap: 10px; align-items: flex-start; height: 0; overflow: hidden; padding: 0 18px; background: #F4F6FA; font-size: 13px; color: #4A5568; border-top: 1px solid #E8ECF2; }
.kc-info > span:last-child { padding: 10px 0; }
.kc-info b { font-weight: 500; color: #0F1D38; }
.kc-i { flex: 0 0 18px; height: 18px; margin-top: 10px; border-radius: 50%; border: 1.5px solid #8A93A5; color: #6B7486; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.kc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kc-tiles div { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); }
.kc-tiles b { display: block; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.kc-tiles small { display: block; font-size: 14px; color: rgba(255,255,255,.66); margin-top: 2px; }
.kc-seal { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; }
.kc-seal svg { width: 26px; height: 26px; flex: 0 0 26px; }
.kc-seal b { display: block; font-size: 16px; font-weight: 500; }
.kc-seal small { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-top: 1px; }
@media (max-width: 760px) {
  .kc-row { padding: 4px 14px; font-size: 13px; column-gap: 10px; }
  .kc-pr { display: none; }
  .kc-head { padding: 11px 14px 9px; }
  .kc-info { padding: 0 14px; font-size: 12.5px; }
  .kc-info > span:last-child { padding: 8px 0; }
  .kc-i { margin-top: 8px; }
  .kc-tiles b { font-size: 18px; }
  .kc-tiles small { font-size: 11.5px; }
  .kc-seal b { font-size: 14.5px; }
  .kc-seal small { font-size: 12px; }
}

/* A document number does not break at its hyphens (2026-11-08). */
.ks .nw { white-space: nowrap; }

/* Group story (Dual GAAP page, 2026-11-08): one row per company, then elimination and group; the two group balance sheets. */
.kk-head { display: flex; justify-content: space-between; align-items: baseline; }
.kk-head em { font-style: normal; color: #fff; font-weight: 500; }
/* The bar column has 14 px on each side (8 on phones), so the amounts end where the heading ends. */
.kk-row { display: grid; align-items: center; column-gap: 14px; }
.kk-row + .kk-row { border-top: 0; }
.kk-lab { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center; min-width: 0; }
.kk-lab .ks-flag { grid-row: 1 / span 2; }
.kk-lab b { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-lab small { font-size: 13.5px; color: rgba(255,255,255,.6); white-space: nowrap; }
.kk-lab .s { display: none; }
.kk-m .kk-lab .l { display: none; }
.kk-m .kk-lab .s { display: inline; }
.kk-cur { position: relative; display: inline-block; min-width: 3.1em; }
.kk-cur i { font-style: normal; }
.kk-cur .b { position: absolute; left: 0; top: 0; color: #fff; }
.kk-elim .kk-lab, .kk-grp .kk-lab { grid-template-columns: minmax(0, 1fr); }
.kk-elim small { position: relative; display: block; height: 1.3em; }
.kk-elim small span { position: absolute; left: 0; top: 0; }
.kk-track { position: relative; height: 10px; }
.kk-seg { position: absolute; top: 0; height: 10px; }
.kk-base { left: 0; background: rgba(255,255,255,.42); border-radius: 2px 0 0 2px; }
.kk-ifrs { border-radius: 0 2px 2px 0; }
.kk-hit { background: rgb(243,163,144); border-radius: 2px; box-shadow: 0 0 0 2px rgba(243,163,144,.25); }
.kk-neg { left: 0; background: rgb(243,163,144); border-radius: 2px; }
.kk-tot { left: 0; height: 12px; top: -1px; background: #fff; border-radius: 2px; }
.kk-am { font-size: 15.5px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kk-elim .kk-am { color: rgb(243,163,144); }
.kk-grp .kk-lab b, .kk-grp .kk-am { font-size: 17px; }
.kk-rule { background: rgba(255,255,255,.22); }
.kk-note { white-space: normal; font-size: 14px; line-height: 1.45; }
.kk-note b { color: #fff; font-weight: 500; }
.kk-sheet { color: #0F1D38; overflow: hidden; container-type: inline-size; }
.kk-shead { padding: 14px 18px 12px; border-bottom: 1px solid #E8ECF2; font-size: 15px; font-weight: 500; }
.kk-srow { display: grid; grid-template-columns: minmax(0, 1fr) 128px 128px; column-gap: 12px; align-items: baseline; padding: 9px 18px; border-top: 1px solid #EEF1F5; font-size: 14.5px; }
.kk-shead + .kk-srow { border-top: 0; }
.kk-srow b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kk-cols { padding-top: 10px; padding-bottom: 6px; }
.kk-cols b { font-size: 12.5px; color: #6B7486; font-weight: 500; white-space: normal; line-height: 1.25; align-self: end; }
/* A long label breaks instead of running into the amounts: Chrome does not hyphenate every German word, so the data
   carries a soft hyphen where it is needed (Leasing&shy;verbindlichkeiten, 2026-11-08); on phones the amount columns
   are 80 px, so the label column keeps room for its longest word. */
.kk-srow span { min-width: 0; hyphens: manual; -webkit-hyphens: manual; }
/* Very narrow sheets (phones of 320 px): the label takes its own line, the two amounts sit below it. */
@container (max-width: 300px) {
  .kk-sheet .kk-srow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 2px; }
  .kk-srow span { grid-column: 1 / -1; }
  .kk-cols span { display: none; }
}
.kk-srow.sum { border-top: 1px solid #0F1D38; font-weight: 500; }
.kk-srow.sum span { font-weight: 500; }
.kk-srow.only b:first-of-type { color: #2F5FD0; }
.kk-sfoot { padding: 10px 18px 13px; border-top: 1px solid #E8ECF2; font-size: 13px; color: #6B7486; text-align: right; }
@media (max-width: 760px) {
  .kk-row { column-gap: 8px; }
  .kk-lab { column-gap: 8px; padding-right: 0; }
  .kk-lab b { font-size: 13.5px; }
  .kk-lab small { font-size: 12px; }
  .kk-am { font-size: 13.5px; }
  .kk-grp .kk-lab b, .kk-grp .kk-am { font-size: 14.5px; }
  .kk-track, .kk-seg { height: 8px; }
  .kk-tot { height: 10px; }
  .kk-note { font-size: 12.5px; }
  .kk-shead { padding: 12px 14px 10px; font-size: 14px; }
  .kk-srow { grid-template-columns: minmax(0, 1fr) 80px 80px; column-gap: 6px; padding: 7px 12px; font-size: 12.5px; }
  .kk-cols b { font-size: 11.5px; }
  .kk-sfoot { padding: 8px 14px 10px; font-size: 12px; }
}
