/* Customer start page (templates/kundenstart.php): own nav and hero (land check + sign-in over the
   3D plan; scrolling: 3D → AI photo → finished plant) on top of the E3 sections (assets/home-e3/home-e3.css, loaded first). Type and brand
   colours follow E3 (Saira / Geist, yellow → blue → green). Two colour sets on <html data-theme>:
   dark (default) and light; the head script also sets E3's data-look (glass | day) to match. */
:root, [data-theme="dark"] {
  --ks-bg: #081321; --ks-text: #e8eef6; --ks-dim: #a9b8cc; --ks-faint: #8a9db5;
  --ks-cta: #eecb00; --ks-on-cta: #0a1628; --ks-blue: #2f8fd8; --ks-link: #7cc4ff; --ks-yellow: #eecb00;
  --ks-line: rgba(124, 196, 255, .16); --ks-field: rgba(0, 0, 0, .30); --ks-glass: rgba(13, 28, 49, .80);
  --ks-glass-hi: rgba(255, 255, 255, .10); --ks-glass-edge: rgba(255, 255, 255, .12); --ks-shadow: rgba(0, 0, 0, .45);
  --ks-chip: rgba(255, 255, 255, .14); --ks-hover: rgba(255, 255, 255, .06); --ks-panel: #0d1c31;
  --ks-off: rgba(255, 255, 255, .10);
  --ks-focus-c: #eecb00; --ks-ring: rgba(47, 143, 216, .30);
  --ks-err: #ffb4ab; --ks-err-bg: rgba(255, 99, 82, .14); --ks-err-line: rgba(255, 120, 105, .45);
  --ks-bar: linear-gradient(90deg, #eecb00, #0069b3, #3fa14d);
  --ks-bar-text: linear-gradient(90deg, #eecb00, #2f8fd8, #3fa14d);
  /* E3 section images: a calm static evening, no sun script on this page. */
  --night-a: .35; --gold-a: 0; --img-f: brightness(.82) saturate(.85);
  --ks-pad: max(24px, calc((100% - 1240px) / 2));
  color-scheme: dark;
}
[data-theme="light"] {
  --ks-bg: #f3f6f9; --ks-text: #0a1628; --ks-dim: #3e4f63; --ks-faint: #536479;
  --ks-cta: #eecb00; --ks-on-cta: #0a1628; --ks-blue: #0069b3; --ks-link: #005a99; --ks-yellow: #eecb00;
  --ks-line: rgba(10, 22, 40, .12); --ks-field: #ffffff; --ks-glass: rgba(255, 255, 255, .84);
  --ks-glass-hi: rgba(255, 255, 255, .6); --ks-glass-edge: rgba(10, 22, 40, .10); --ks-shadow: rgba(10, 22, 40, .18);
  --ks-chip: #ffffff; --ks-hover: rgba(10, 22, 40, .05); --ks-panel: #ffffff;
  --ks-off: rgba(10, 22, 40, .08);
  --ks-focus-c: #0069b3; --ks-ring: rgba(0, 105, 179, .25);
  --ks-err: #a3221a; --ks-err-bg: #fdecea; --ks-err-line: rgba(163, 34, 26, .35);
  --ks-bar-text: linear-gradient(90deg, #8a7200, #0069b3, #2c7a37);
  --night-a: 0; --gold-a: 0; --img-f: none;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ee-ks {
  margin: 0; background: var(--ks-bg); color: var(--ks-text); overflow-x: hidden;
  font: 400 16px/1.45 var(--body, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.ee-ks a { color: inherit; }
.ee-ks :focus-visible { outline: 2px solid var(--ks-focus-c); outline-offset: 3px; border-radius: 4px; }
.ks-skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--ks-text); color: var(--ks-bg) !important; text-decoration: none; }
.ks-skip:focus { top: 12px; }

/* Fixed bars above the page. The staging banner (#ee-staging-bar, 30 px) pushes <html> down by 30 px and the
   admin bar to top: 30px, but WordPress's own bump (32 | 46 px, also !important) replaces that margin
   instead of adding to it, so with both bars the admin bar covered the top of the header and cut the logo
   text (staging, r8). Here both heights add up. */
html:has(#ee-staging-bar):has(#wpadminbar) { margin-top: 62px !important; }
@media (max-width: 782px) { html:has(#ee-staging-bar):has(#wpadminbar) { margin-top: 76px !important; } }

/* nav (r13, Till 21.11.: no separate white bar): the header lies over the hero image, transparent, logo and links
   white, language and theme as ghost pills; once the hero has scrolled past it turns solid (page colour, blur,
   hairline; kundenstart.js sets .is-solid). Sticky under the fixed staging / admin bars (--ks-bars); the hero
   starts under it (margin-top: -height), so the image runs to the top edge. */
:root { --ks-nav-h: 72px; --ks-bars: 0px; }
html:has(#ee-staging-bar) { --ks-bars: 30px; }
html:has(#wpadminbar) { --ks-bars: 32px; }
html:has(#ee-staging-bar):has(#wpadminbar) { --ks-bars: 62px; }
@media (max-width: 782px) { html:has(#wpadminbar) { --ks-bars: 46px; } html:has(#ee-staging-bar):has(#wpadminbar) { --ks-bars: 76px; } }
.ks-nav {
  position: sticky; top: var(--ks-bars); z-index: 40; height: var(--ks-nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--ks-pad); border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.ee-ks .ks-hero { margin-top: calc(-1 * var(--ks-nav-h)); }
/* Transparent header: its own soft scrim, so it reads on the bright field slide too (the veil fades there). */
.ks-nav::before { content: ""; position: absolute; inset: 0 0 -56px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(6 14 26 / .7) 0%, rgb(6 14 26 / .5) 55%, transparent 100%); transition: opacity .25s ease; }
.ks-nav.is-solid::before { opacity: 0; }
.ks-nav:not(.is-solid) .ks-logo { color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
/* Till 21.11.: the coloured EE mark everywhere, never inverted or tinted; on dark ground (the image, the dark header)
   a faint light halo keeps its dark part readable. */
.ks-nav:not(.is-solid) .ks-logo img, [data-theme="dark"] .ks-logo img { filter: drop-shadow(0 0 .6px rgb(255 255 255 / .9)) drop-shadow(0 0 5px rgb(255 255 255 / .28)); }
.ks-nav:not(.is-solid) .ks-lg small { color: rgb(255 255 255 / .92); }
.ks-nav:not(.is-solid) .ks-menu, .ks-nav:not(.is-solid) .ks-theme:not(.ks-theme-row), .ks-nav:not(.is-solid) .ks-lang { border-color: rgb(255 255 255 / .42); background: rgb(6 14 26 / .42); color: #fff; }
.ks-nav:not(.is-solid) .ks-lang button { color: rgb(255 255 255 / .86); }
.ks-nav:not(.is-solid) .ks-lang button[aria-checked="true"] { background: rgb(255 255 255 / .24); color: #fff; }
@media (min-width: 901px) {
  .ks-nav:not(.is-solid) .ks-links a { color: rgb(255 255 255 / .9); text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
  .ks-nav:not(.is-solid) .ks-links a:hover { color: #fff; }
}
.ks-nav.is-solid { background: color-mix(in srgb, var(--ks-bg) 82%, transparent); border-bottom-color: var(--ks-line); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.ks-logo { display: flex; align-items: center; gap: 10px; font: 600 18px/1 var(--head, inherit); text-decoration: none; margin-right: auto; min-width: 0; }
.ks-logo img { height: 30px; width: auto; flex: none; }
.ks-lg { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.ks-lg small { font: 500 11px/1.2 var(--body, inherit); color: var(--ks-faint); margin-top: 3px; }
.ks-links { display: flex; align-items: center; gap: 24px; }
.ks-links a { color: var(--ks-dim); font-size: 14px; text-decoration: none; }
.ks-links a:hover { color: var(--ks-text); }
.ks-menu { display: none; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--ks-line); border-radius: 18px; background: none; color: var(--ks-text); font: inherit; font-size: 13px; cursor: pointer; }
.ks-menu[aria-expanded="true"] { background: var(--ks-chip); }
.ks-theme { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--ks-line); border-radius: 50%; background: none; color: var(--ks-text); cursor: pointer; }
.ks-theme:hover, .ks-theme-row:hover { background: var(--ks-hover); }
.ks-theme[hidden], .ks-theme-row[hidden] { display: none; }
.ks-theme-row { display: none; align-items: center; gap: 10px; border: 0; background: none; color: var(--ks-text); font: inherit; cursor: pointer; }
/* Shows the mode a click switches to: the sun while dark, the moon while light. */
.ks-moon, [data-theme="light"] .ks-sun { display: none; }
[data-theme="light"] .ks-moon { display: block; }
.ks-lang { display: flex; flex: none; border: 1px solid var(--ks-line); border-radius: 999px; padding: 2px; }
.ks-lang button { font: inherit; font-size: 12px; padding: 5px 10px; border: 0; border-radius: 999px; background: none; color: var(--ks-dim); cursor: pointer; }
.ks-lang button[aria-checked="true"] { background: var(--ks-chip); color: var(--ks-text); }
.ks-lang[aria-busy="true"] { opacity: .6; }

/* hero */
/* Opening frame (Till 21.11., r5): at once, no intro: the 3D plan full-bleed under the veil, the land check left and
   "Everything at a glance" with the sign-in right, filling the viewport below the header. --ks-top is everything
   above the hero (header, admin/staging bar), measured by kundenstart.js; the default is the desktop header. */
:root { --ks-top: 0px; }   /* r13: the header lies over the hero, so only the fixed bars are above it */
/* Signed in with the admin bar (32 px, 46 px ≤782 px): the right default before kundenstart.js measures. */
body.admin-bar { --ks-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --ks-top: 46px; } }
/* Scroll sequence: the hero is a tall track (.ks-run adds the length), the background (.ks-pin) sticks to the
   viewport while it lasts, the cards (.ks-front) scroll away normally on top of it. kundenstart.js turns the scroll
   position into opacity and transform of the layers below (one frame per animation frame, nothing else changes),
   so it plays forwards and backwards with the native scroll and a reload anywhere shows the right frame.
   overflow: clip (not hidden): a hidden ancestor would stop the sticky stage. The stage is one LARGE viewport high
   (lvh: iOS Safari with the address bar collapsed), so no strip of page shows under it; the cards start at the
   hero top (margin = the stage height) and fill the SMALL viewport (svh), so they never hide under the bar. */
.ee-ks .ks-hero { position: relative; isolation: isolate; overflow: clip; padding: 0; }
.ks-pin { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100lvh; overflow: hidden; pointer-events: none; }
.ks-pin > * { position: absolute; inset: 0; }
.ks-front {
  position: relative; z-index: 1; margin-top: -100vh; margin-top: -100lvh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: clamp(40px, 7vw, 120px); align-items: center; align-content: center;
  min-height: calc(100vh - var(--ks-top)); min-height: calc(100svh - var(--ks-top));
  padding: calc(var(--ks-nav-h) + 48px) var(--ks-pad) 80px;
  /* Set right on the image in both themes (Till 21.11.: no boxed layout, light, integrated): white type on the
     dark veil, hairline fields, EE yellow for the one primary action only. */
  --ks-text: #fff; --ks-dim: rgb(255 255 255 / .84); --ks-faint: rgb(255 255 255 / .74); --ks-link: #b5dcff;
  --ks-line: rgb(255 255 255 / .34); --ks-field: rgb(255 255 255 / .08); --ks-chip: rgb(255 255 255 / .16); --ks-off: rgb(255 255 255 / .14);
  --ks-focus-c: #fff; --ks-ring: rgb(181 220 255 / .55); --ks-blue: #b5dcff;
  --ks-err: #ffd6d0; --ks-err-bg: rgb(255 99 82 / .20); --ks-err-line: rgb(255 150 135 / .6);
  color: var(--ks-text);
}
.ks-front > * { min-width: 0; }
/* r14: slide 2's caption lies in the sticky stage (so it stays on screen while the AI aerial plays) and uses the
   same white-on-image palette; its own light gradient (left and bottom) keeps it readable once the veil is gone. */
.ks-cap {
  --ks-text: #fff; --ks-dim: rgb(255 255 255 / .88); --ks-line: rgb(255 255 255 / .34); --ks-field: rgb(255 255 255 / .08);
  --ks-focus-c: #fff; --ks-ring: rgb(181 220 255 / .55);
  color: var(--ks-text); opacity: 0; visibility: hidden;
  display: flex; align-items: flex-end;
  padding: calc(var(--ks-nav-h) + 32px) var(--ks-pad) max(24%, 150px);
  background:
    linear-gradient(90deg, rgb(6 14 26 / .62) 0%, rgb(6 14 26 / .38) 38%, transparent 66%),
    linear-gradient(0deg, rgb(6 14 26 / .55) 0%, rgb(6 14 26 / .2) 40%, transparent 62%);
}
.ks-cap.is-on { visibility: visible; }
.ks-cap-in { width: min(640px, 100%); pointer-events: auto; }
.ks-cap-h { margin: 0 0 14px; font: 600 clamp(34px, 4.6vw, 64px)/1.04 var(--head, inherit); letter-spacing: -.01em; color: var(--ks-text); text-shadow: 0 1px 24px rgb(6 14 26 / .45); }
.ks-cap-sub { margin-bottom: 28px; }
/* r14-r3: the one land check (#ks-quick) is shared by both slides; on slide 2 it sits on a brighter part of the
   aerial than the headline: a light tint under it keeps the placeholder >= 4.5:1. */
.ks-cap-slot { height: 64px; }
#ks-quick .ks-quick-row { background-color: rgb(6 14 26 / .3); }
/* r15 (Till: "Fläche prüfen" wackelt beim Scrollen): the land check is held by the compositor, not by a transform
   written after each scroll. Its wrapper keeps its place in slide 1; inside, a rail reaches from there to where the
   stage lets go, and the form sticks in it at its held screen top (kundenstart.js measures --ks-hold-top and the
   rail once per layout). So it scrolls with slide 1 until that top (phones: once the sign-in is gone), stands
   still, and leaves with the stage. JS only adds the one slide-2 glide. Static hero (no JS): plain flow. */
/* The rail takes no extra room (negative margin back to the form's height); unmeasured it is just the form. */
/* The wrapper passes clicks through (only the form itself takes them, the rail reaches over other content). */
[data-ks-ready] .ks-quick-hold { pointer-events: none; }
[data-ks-ready] .ks-rail { height: var(--ks-rail-h, auto); margin-bottom: calc(var(--ks-quick-h, 0px) - var(--ks-rail-h, 0px)); pointer-events: none; }
[data-ks-ready] #ks-quick { position: sticky; top: var(--ks-hold-top, 0); pointer-events: auto; }
/* Typing in the sign-in (23.11.): the keyboard scroll must not hold the land check over the field (kundenstart.js). */
[data-ks-ready][data-ks-typing] #ks-quick { position: relative; }
/* r15: the area flow as a full-screen dialog over the start page (kundenstart.js flow()). The form inside has
   its own logo and close; this button is for keyboards only (first stop, visible on focus) and the loading time. */
.ks-flow { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0E131A; color: #EEF2F7; overflow: hidden; }
.ks-flow::backdrop { background: rgb(6 14 26 / .72); }
.ks-flow-frame { display: block; width: 100%; height: 100%; border: 0; background: #0E131A; }
.ks-flow-x { position: absolute; z-index: 1; top: 10px; left: 50%; transform: translateX(-50%); padding: 8px 16px; border: 0; border-radius: 999px; background: #EECB00; color: #0E131A; font: 600 14px/1.2 system-ui, sans-serif; cursor: pointer; }
.ks-flow-x:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* r15: place suggestions under the land check (kundenstart.js places()): an opaque panel above everything around it
   (no text shows through), the width of the pill; it opens upwards when the screen has no room below. */
#ks-quick { position: relative; z-index: 5; }
.ks-sugg { position: absolute; z-index: 1; left: 0; top: 100%; width: 100%; max-width: 580px; margin: 8px 0 0; padding: 6px; list-style: none; border: 1px solid rgb(255 255 255 / .18); border-radius: 18px; background: #0d1c31; box-shadow: 0 18px 48px rgb(0 0 0 / .5); }
[data-ks-sugg-up] .ks-sugg { top: auto; bottom: 100%; margin: 0 0 8px; }
.ks-sugg[hidden] { display: none; }
.ks-sugg-o { padding: 12px 16px; border-radius: 12px; color: #fff; font-size: 16px; line-height: 1.3; cursor: pointer; overflow-wrap: anywhere; }
.ks-sugg-o:hover, .ks-sugg-o[aria-selected="true"] { background: rgb(255 255 255 / .12); }
.ks-sugg-o[aria-selected="true"] { box-shadow: inset 3px 0 0 #eecb00; }
/* Past the hero it is off screen: out of the tab order too. */
[data-ks-past] #ks-quick { visibility: hidden; }
@media (max-width: 900px) { #ks-quick .ks-quick-row { background: none; } #ks-quick .ks-quick-row .ks-in { background-color: rgb(6 14 26 / .3); } }
@media (max-width: 900px) {
  .ks-cap { padding-bottom: max(18%, 96px); background: linear-gradient(0deg, rgb(6 14 26 / .78) 0%, rgb(6 14 26 / .5) 45%, transparent 75%); }
  /* Till 23.11. (iPhone: "da springt er"): the land check stays where it is held (near the top) and slide 2's words
     come in below it, so it never travels down the screen against the finger (kundenstart.js shifts the caption). */
  [data-ks-ready] .ks-cap-in { display: flex; flex-direction: column; }
  [data-ks-ready] .ks-cap-slot { order: -1; margin-bottom: 28px; }
  [data-ks-ready] .ks-cap { background: linear-gradient(180deg, rgb(6 14 26 / .74) 0%, rgb(6 14 26 / .6) 55%, rgb(6 14 26 / .35) 80%, rgb(6 14 26 / .5) 100%); }
}
/* r14: section heads are never hidden under the solid header (anchor jumps, the menu links, find-in-page). */
.ee-ks main section[id], .ee-ks main section .kicker { scroll-margin-top: calc(var(--ks-nav-h) + var(--ks-top) + 24px); }
.ee-ks main section h2 { scroll-margin-top: calc(var(--ks-nav-h) + var(--ks-top) + 72px); }   /* room for the kicker above it */
/* The track exists from the head script on (data-ks-scrub), so a reload restores its position into the full track
   (Chromium restores while parsing, before the footer script; a track that only grew at data-ks-ready landed the
   reload short or, with scroll anchoring, at the end). No script at all, or a broken one: the head script drops
   data-ks-scrub at window load unless kundenstart.js set data-ks-ready, so the hero turns static: a short run, the
   cards scroll away over the 3D plan. */
.ks-run { height: 0; }
:root:not([data-ks-scrub]) .ks-run { height: 70vh; height: 70svh; }
[data-ks-scrub="full"] .ks-run { height: 170vh; height: 170svh; }
[data-ks-scrub="calm"] .ks-run { height: 110vh; height: 110svh; }
/* The layers: one stage with the two registered top-down images (3D plan below, AI photo above, the same box,
   cover and position at every width, so they never drift; transforms on .ks-stage only). Two slides only (Till 21.11.):
   the 3D plan with the cards, then the AI photo with its caption (r14: never a frame without words). */
.ks-stage { transform-origin: 40% 48%; }
.ks-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; max-width: none; }
.ks-stage .ks-field, .ks-fade { opacity: 0; }
[data-ks-scrub] .ks-stage, [data-ks-scrub] .ks-field { will-change: transform, opacity; }
/* Smooth scrub (r10, measured): every layer the frame fades is its own compositor layer, so a scroll step only
   changes opacity on the GPU. Before, the veil, the bottom fade and the text blocks were repainted and re-rasterised
   on every frame (Chromium trace over the hero: 988 raster tasks / ~230 ms → 262 / ~65 ms). */
[data-ks-scrub] .ks-veil, [data-ks-scrub] .ks-fade, [data-ks-scrub] .ks-check > :not(.ks-quick-hold), [data-ks-scrub] .ks-card, [data-ks-scrub] .ks-cap { will-change: opacity; }
[data-ks-scrub] #ks-quick { will-change: transform; }
/* Past the hero (the stage scrolled off screen) the layers are released again (r11); kundenstart.js sets data-ks-past. */
[data-ks-scrub][data-ks-past] .ks-stage, [data-ks-scrub][data-ks-past] .ks-field,
[data-ks-scrub][data-ks-past] .ks-veil, [data-ks-scrub][data-ks-past] .ks-fade, [data-ks-scrub][data-ks-past] .ks-check > :not(.ks-quick-hold), [data-ks-scrub][data-ks-past] .ks-card, [data-ks-scrub][data-ks-past] .ks-cap, [data-ks-scrub][data-ks-past] #ks-quick { will-change: auto; }
[data-theme="light"] .ks-stage .ks-field { filter: saturate(.9) brightness(1.08); }
/* Readability veil over the opening frame (fades with the words), dark in both themes so the hero type is always
   white on the image (contrast >= 4.5:1, checked in kundenstart-intro.browser.cjs). Two parts (r13, Till 21.11.:
   "kein leerer erster Frame, Foto klar"): the light part is there from the first paint, only behind the text
   (left, bottom, the header strip on top), so the land check reads at once and the photo stays clear; the full
   veil (deepest behind the land check and the sign-in) eases in with the sign-in. The stage colour under the
   images keeps the white type readable while they load. */
.ks-pin { background: #0b1a2b; }
.ks-veil {
  background:
    linear-gradient(180deg, rgb(6 14 26 / .55) 0, transparent 140px),
    linear-gradient(90deg, rgb(6 14 26 / .78) 0%, rgb(6 14 26 / .62) 34%, rgb(6 14 26 / .22) 62%, transparent 82%),
    linear-gradient(0deg, rgb(6 14 26 / .45) 0%, transparent 45%);
}
/* Phones: the land check spans the width at the top, so the light part darkens the top half instead. */
@media (max-width: 900px) {
  .ks-veil { background: linear-gradient(180deg, rgb(6 14 26 / .74) 0%, rgb(6 14 26 / .66) 50%, rgb(6 14 26 / .3) 78%, rgb(6 14 26 / .45) 100%); }
}
.ks-veil::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(6 14 26 / .55) 0%, rgb(6 14 26 / .5) 40%, rgb(6 14 26 / .52) 62%, rgb(6 14 26 / .78) 100%),
    linear-gradient(180deg, transparent 38%, rgb(6 14 26 / .30) 100%);
}
/* The hand-over into the page: the stage's bottom melts into the page colour at the very end. */
.ks-fade { top: auto; height: 22%; background: linear-gradient(180deg, transparent, var(--ks-bg)); }
/* Slide 1's words and the sign-in fade one by one (opacity on each; nothing in the hero uses a backdrop blur any
   more). Faded out completely: out of the way for clicks and the tab order. The shared land check stays (r14-r3). */
.ks-front.is-gone > :not(.ks-check), .ks-front.is-gone .ks-check > :not(.ks-quick-hold) { visibility: hidden; }
.ee-ks #ks-title:focus { outline: none; }
.ks-brand { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; color: var(--ks-dim); font-size: 14px; letter-spacing: .02em; }
.ks-grad { background: var(--ks-bar-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ks-lead { font: 300 clamp(18px, 1.55vw, 22px)/1.45 var(--body, inherit); color: var(--ks-dim); margin: 0 0 40px; max-width: 28em; }
.ks-trust { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ks-faint); font-size: 12px; }
.ks-trust b { color: var(--ks-text); font-weight: 500; }
.ks-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Land check (left, primary): a large light headline and one slim pill: the place and the yellow action in it. */
.ks-check { max-width: 660px; }
.ee-ks .ks-check h1 { font: 500 clamp(52px, 7vw, 104px)/.98 var(--head, inherit); letter-spacing: -.035em; margin: 0 0 20px; text-wrap: balance; text-shadow: 0 2px 32px rgb(0 0 0 / .28); }
.ks-quick-row {
  display: flex; align-items: center; gap: 6px; max-width: 580px; padding: 6px 6px 6px 24px; border-radius: 999px;
  border: 1px solid var(--ks-line); background: var(--ks-field); transition: border-color .2s, box-shadow .2s;
}
.ks-quick-row:hover { border-color: rgb(255 255 255 / .5); }
.ks-quick-row:focus-within { border-color: rgb(255 255 255 / .8); box-shadow: 0 0 0 3px var(--ks-ring); }
.ks-quick-row .ks-in { flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 17px; }
.ee-ks .ks-quick-row .ks-in:focus, .ee-ks .ks-quick-row .ks-in:focus-visible { outline: none; border: 0; box-shadow: none; }
.ks-quick-row .ks-cta { width: auto; flex: none; height: 48px; margin: 0; padding: 0 26px; border-radius: 999px; font-size: 16px; white-space: nowrap; }
/* Sign-in (right, quiet): a hairline to the left instead of a panel, small type, slim fields, a ghost button. */
.ks-card { padding: 6px 0 6px clamp(28px, 3vw, 44px); border-left: 1px solid rgb(255 255 255 / .24); }
.ee-ks .ks-card h2 { margin: 0 0 6px; font: 500 21px/1.25 var(--head, inherit); letter-spacing: -.01em; max-width: none; }
.ks-sub { margin: 0 0 20px; color: var(--ks-dim); font-size: 14px; line-height: 1.5; }
.ks-card .ks-f { font-size: 12.5px; }
.ks-card .ks-in { height: 46px; margin-bottom: 12px; padding: 0 18px; border-radius: 999px; }
.ee-ks .ks-card .ks-in:focus, .ee-ks .ks-card .ks-in:focus-visible { border-radius: 999px; }
.ks-card .ks-cta { height: 46px; margin-top: 2px; border-radius: 999px; background: transparent; color: var(--ks-text); border: 1px solid rgb(255 255 255 / .6); font-size: 15px; }
.ks-card .ks-cta:hover { background: rgb(255 255 255 / .1); filter: none; }
.ks-card .ks-cta:disabled { background: transparent; border-color: var(--ks-off); color: var(--ks-faint); }
.ee-ks .ks-card .ks-cta:focus-visible { border-radius: 999px; }
.ks-pane[hidden] { display: none; }
.ks-f { display: block; font-size: 13px; color: var(--ks-dim); margin: 0 0 6px; }
.ks-in {
  display: block; width: 100%; height: 48px; margin: 0 0 14px; padding: 0 16px; border-radius: 14px;
  background: var(--ks-field); border: 1px solid var(--ks-line); color: var(--ks-text); font: inherit; font-size: 16px;
}
.ks-in::placeholder { color: var(--ks-faint); }
.ee-ks .ks-in:focus-visible, .ee-ks .ks-in:focus { outline: none; border-color: var(--ks-blue); box-shadow: 0 0 0 3px var(--ks-ring); border-radius: 14px; }
.ks-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .18em; font-size: 18px; text-transform: uppercase; }
.ks-code::placeholder { letter-spacing: .18em; }
.ks-pw { position: relative; }
.ks-pw .ks-in { padding-right: 96px; }
.ks-eye { position: absolute; right: 10px; top: 7px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--ks-faint); font: inherit; font-size: 13px; cursor: pointer; }
.ks-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 6px;
  border: 0; border-radius: 999px; background: var(--ks-cta); color: var(--ks-on-cta); font: 600 17px/1 var(--head, inherit); text-decoration: none; cursor: pointer;
}
.ks-cta:hover { filter: brightness(1.06); }
.ks-cta:disabled { background: var(--ks-off); color: var(--ks-dim); cursor: not-allowed; filter: none; }
.ee-ks .ks-cta:focus-visible { outline: 2px solid var(--ks-focus-c); outline-offset: 3px; border-radius: 999px; }
.ks-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--ks-bar); }
.ks-cta[aria-busy="true"] { cursor: progress; opacity: .9; }
.ks-cta[aria-busy="true"] .ks-bar { width: 100%; transition: width 4s cubic-bezier(.2, .7, .3, 1); }
.ks-card .ks-err { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ks-err-line); background: var(--ks-err-bg); color: var(--ks-err); font-size: 14px; line-height: 1.4; }
.ks-card .ks-err[hidden] { display: none; }
/* passwordless: the passkey button under the e-mail step; ee-passkey.js swaps #ee-pk-msg to ee-auth__msg */
.ks-card .ks-pk { margin-top: 10px; }
.ks-card .ks-pk [hidden] { display: none; }
.ks-card .ks-pk .ee-auth__msg { margin: 10px 0 0; font-size: 14px; line-height: 1.4; }
.ks-card .ks-pk .ee-auth__msg--err { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ks-err-line); background: var(--ks-err-bg); color: var(--ks-err); }
.ks-card .ks-pk .ee-auth__msg--info { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ks-line); background: var(--ks-field); color: var(--ks-text); }
.ks-card .ks-pk .ee-auth__msg--info:has([data-ee-pk-send]) { flex-wrap: wrap; }
.ks-card .ks-pk .ee-auth__ic { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ks-dim); }
.ks-card .ks-pk .ee-auth__msg small { display: block; color: var(--ks-dim); }
.ks-card .ks-pk .ee-auth__msg--info [data-ee-pk-send] { flex-basis: 100%; padding-left: 28px; text-align: left; }
.ks-card .ks-pk [data-ee-pk-send]:disabled { opacity: .6; cursor: default; }
.ks-card .ks-pk [data-ee-pk-send] { display: block; margin-top: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ks-in[aria-invalid="true"] { border-color: var(--ks-err-line); }
/* Email-first sign-in (r13 part B): the address stays as a read-only field with "Change"; step 2 slides in. */
.ks-who { position: relative; }
.ks-who .ks-in[readonly] { padding-right: 96px; color: var(--ks-dim); }
.ks-change { position: absolute; right: 10px; top: 7px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ks-link); font: inherit; font-size: 13px; cursor: pointer; }
.ks-change:hover { text-decoration: underline; }
.ks-change[hidden] { display: none; }
.ks-step.is-in { animation: ks-step-in 320ms cubic-bezier(.22,.61,.36,1) backwards; }
@keyframes ks-step-in { from { opacity: 0; translate: 0 -6px; } }
.ks-opts { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin: -2px 0 14px; font-size: 13px; color: var(--ks-dim); }
.ks-opts a { color: var(--ks-link); text-decoration: none; }
.ks-opts a:hover { text-decoration: underline; }
.ks-keep { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ks-keep input { width: 16px; height: 16px; margin: 0; accent-color: var(--ks-blue); }
.ks-card .ks-ok { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--ks-line); background: var(--ks-field); color: var(--ks-text); font-size: 14px; line-height: 1.4; }
.ks-card .ks-ok[hidden] { display: none; }
.ks-code { letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.ks-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--ks-dim); margin-top: 14px; }
.ks-row a { color: var(--ks-link); text-decoration: none; }
.ks-row a:hover { text-decoration: underline; }

/* E3 sections on this page: the hero above already has its own bottom space, so the first section
   starts closer (E3's clamp(80px,10vw,140px) left a large empty band below the "product of" strip). */
.ee-ks #prinzip { padding-top: clamp(48px, 5vw, 72px); }

@media (max-width: 1100px) {
  .ks-front { grid-template-columns: minmax(0, 1fr) minmax(280px, 320px); gap: 48px; }
}
@media (max-width: 900px) {
  .ks-nav { padding: 0 var(--ks-pad); }
  .ks-menu:not([hidden]) { display: inline-flex; }
  .ks-links { display: none; }
  .ks-nav.is-open .ks-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; z-index: 20; top: 100%; left: 12px; right: 12px; margin-top: 6px; padding: 6px;
    border-radius: 18px; border: 1px solid var(--ks-glass-edge); background: var(--ks-panel); box-shadow: 0 18px 40px var(--ks-shadow);
  }
  .ks-nav.is-open .ks-links a, .ks-nav.is-open .ks-theme-row { padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--ks-text); text-align: left; }
  .ks-nav.is-open .ks-links a:hover { background: var(--ks-hover); }
  .ks-nav.is-open .ks-theme-row:not([hidden]) { display: flex; border-top: 1px solid var(--ks-line); border-radius: 0 0 12px 12px; }
  /* Stacked: the cards are taller than the screen and scroll over the sticky stage; the sequence starts once
     their end has come up (kundenstart.js), on a shorter track. */
  .ks-front { grid-template-columns: 1fr; gap: 44px; padding-top: calc(var(--ks-nav-h) + 40px); }
  .ks-card { max-width: 560px; padding: 32px 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / .24); }
  [data-ks-scrub="full"] .ks-run { height: 150vh; height: 150svh; }
}
@media (max-width: 600px) {
  :root { --ks-pad: 16px; --ks-nav-h: 60px; }
  .ks-nav { gap: 10px; }
  .ks-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ks-menu { padding: 0 9px; }
  .ks-lg small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ks-front { padding: calc(var(--ks-nav-h) + 32px) var(--ks-pad) 48px; gap: 36px; }
  .ee-ks .ks-check h1 { font-size: 46px; }
  .ks-lead { font-size: 17px; margin-bottom: 28px; }
  /* Phones: the place and the action as two slim pills, one below the other. */
  .ks-quick-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; background: none; }
  .ks-quick-row:focus-within, .ks-quick-row:hover { box-shadow: none; }
  .ks-quick-row .ks-in { flex: none; height: 52px; padding: 0 20px; border: 1px solid var(--ks-line); border-radius: 999px; background: var(--ks-field); }
  .ee-ks .ks-quick-row .ks-in:focus, .ee-ks .ks-quick-row .ks-in:focus-visible { border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 0 0 3px var(--ks-ring); }
  .ks-quick-row .ks-cta { width: 100%; height: 52px; }
  .ks-theme:not(.ks-theme-row) { display: none; }
  .ks-brand { display: none; }   /* the nav already says it; the headline leads */
}
/* The E3 sections below the hero, on this page only (Till 21.11.: Apple-light, no boxes anywhere): big light
   headings, more air, the enquiry form set straight on the page (no card), round fields and chips. The E3 front
   page and /fuer-unternehmen/ keep their own look (scoped to body.ee-ks). */
/* .press ("Known from" logo strip) keeps its own small label and slim padding from home-e3.css (r11). */
.ee-ks.ee-e3 section:not(.ks-hero):not(.cine):not(.aud):not(.press) { padding: clamp(104px, 12vw, 176px) 0; }
.ee-ks.ee-e3 section:not(.ks-hero):not(.press) h2 { font-weight: 400; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.032em; }
.ee-ks.ee-e3 .prin h3 { font-weight: 500; }
.ee-ks.ee-e3 .cine blockquote { font-weight: 400; letter-spacing: -.03em; }
.ee-ks.ee-e3 .card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.ee-ks.ee-e3 .f input { border-radius: 999px; padding: 13px 20px; }
.ee-ks.ee-e3 .f textarea { border-radius: 20px; padding: 14px 20px; }
.ee-ks.ee-e3 .roles label { border-radius: 999px; padding: 9px 16px; }
.ee-ks.ee-e3 .cta { border-radius: 999px; padding: 16px 26px; }
/* Phone: intro and form stack in one column; without the card panel a hairline marks where the form starts. */
@media (max-width: 900px) { .ee-ks.ee-e3 .lead .card { border-top: 1px solid var(--line); padding-top: 40px; } }
/* Entrance (CSS only, so it never waits for JavaScript and always ends visible): the 3D plan and its veil paint at
   once (the LCP image is never transparent, it only settles from 1.025 scale) with the nav and the land check (r13),
   then the darker veil and the sign-in come in, 8 px and opacity, ease-out, all done by ~1.3 s. "backwards" fill only: once played the elements fall
   back to their normal styles, so the scroll frame (inline opacity on .ks-check / .ks-card) is never overridden, and
   the children animate, not the blocks kundenstart.js drives. translate/scale are their own properties, apart from
   the transform the frame sets. Nothing moves in layout (CLS 0); reduced motion: no animation (block below). */
@keyframes ks-rise { from { opacity: 0; translate: 0 8px; } }
@keyframes ks-settle { from { scale: 1.025; } }
@keyframes ks-hair { from { border-color: transparent; } }
@keyframes ks-veil { from { opacity: 0; } }
.ee-ks .ks-plan { animation: ks-settle 1000ms cubic-bezier(.22,.61,.36,1) backwards; }
.ee-ks .ks-card > * { animation: ks-rise 560ms cubic-bezier(.22,.61,.36,1) 650ms backwards; }
.ee-ks .ks-card { animation: ks-hair 560ms cubic-bezier(.22,.61,.36,1) 650ms backwards; }   /* its hairline with its content (border only: the frame owns its opacity) */
/* r13: the land check (headline, line, search) is on the first frame, no entrance; the darker veil and the sign-in
   ease in after it. */
.ee-ks .ks-veil::after { animation: ks-veil 900ms cubic-bezier(.22,.61,.36,1) 350ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .ee-ks *, .ee-ks *::before, .ee-ks *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  /* The head script marks data-ks-scrub="calm": the same scroll sequence as fades only (kundenstart.js sets no
     zoom), on a shorter track. */
}

/* r14 (Till 21.11.): "For owners" below the hero, from the v3 mockup: picture left, what an owner gets right (hairline
   list, no boxes), then the facts in one row of big light numbers. Uses the lower sections' palette (--ink, --mute,
   --line of home-e3.css), so it follows the theme. */
.ee-ks .ks-owner-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ee-ks .ks-owner picture, .ee-ks .ks-owner-img { display: block; width: 100%; }
.ee-ks .ks-owner-img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 4px; }
.ee-ks .ks-gets { list-style: none; padding: 0; margin: 40px 0 32px; }
.ee-ks .ks-gets li { padding: 22px 0; border-top: 1px solid var(--line); }
.ee-ks .ks-gets li:last-child { border-bottom: 1px solid var(--line); }
.ee-ks .ks-gets b { display: block; font: 500 clamp(21px, 1.9vw, 26px)/1.2 var(--head, inherit); color: var(--ink); }
.ee-ks .ks-gets span { display: block; margin-top: 6px; color: var(--mute); font-size: 16px; }
.ee-ks .ks-gets li:first-child b::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: #eecb00; border-radius: 2px; }
.ee-ks .ks-more { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ee-ks .ks-more:hover, .ee-ks .ks-more:focus-visible { border-bottom-width: 2px; }
.ee-ks .ks-facts { display: grid; grid-template-columns: 1fr 1fr 1.45fr 1fr; gap: clamp(24px, 4vw, 56px); margin: clamp(72px, 9vw, 120px) 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.ee-ks .ks-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; margin: 0; }
.ee-ks .ks-facts dd { margin: 0; font: 300 clamp(48px, 5.4vw, 80px)/1 var(--head, inherit); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.ee-ks .ks-facts dt { margin-top: 14px; color: var(--mute); font-size: 16px; }
@media (max-width: 900px) {
  .ee-ks .ks-owner-grid { grid-template-columns: 1fr; }
  .ee-ks .ks-owner-img { aspect-ratio: 4 / 3; }
  .ee-ks .ks-facts { grid-template-columns: repeat(2, 1fr); row-gap: 40px; column-gap: 20px; }
  .ee-ks .ks-facts dd { font-size: clamp(36px, 10vw, 56px); }
}
