/*
 * Kit „NativeCSS“ – bridge and styling (layer „native“, above all layers of NativeCSS and the base CSS of fluid; order
 * see template.view.php). Values come from the design bar of fluid (--f-…) and feed the tokens of NativeCSS (--ncss-…):
 * presets, colours, fonts and radii thus apply equally to the frame and the blocks.
 */
@layer native {
  /* ------------------------------------------------------------------ Bridge: design bar → NativeCSS */
  :root {
    --ncss-color-brand: var(--f-a);
    --ncss-color-brand-contrast: var(--f-a-on);
    --ncss-color-brand-2: var(--f-b);
    --ncss-color-brand-2-contrast: var(--f-b-on);
    --ncss-color-bg: var(--f-bg);
    --ncss-color-bg-subtle: var(--f-surface);
    --ncss-color-surface: var(--f-bg);
    --ncss-color-text: var(--f-text);
    --ncss-color-text-muted: var(--f-muted);
    --ncss-color-border: var(--f-line);
    --ncss-color-focus-ring: var(--f-a);
    --ncss-font-family-base: var(--f-font);
    --ncss-font-family-heading: var(--f-font-head);
    --ncss-font-family-mono: var(--f-font-mono);
    --ncss-font-weight-heading: var(--f-hw);
    --ncss-radius-sm: calc(var(--f-radius) * .5);
    --ncss-radius-md: var(--f-radius);
    --ncss-radius-lg: calc(var(--f-radius) * 1.5);
    --ncss-container-max: calc(var(--f-wrap) + 2 * var(--f-gutter));
    color-scheme: light;
  }
  /* Dark scheme only if the design bar allows it (like the --f values) – light-dark() in NativeCSS follows */
  html.has-dark { color-scheme: light dark; }
  html.is-dark { color-scheme: dark; }
  /* Visitors' display settings (<ncss-preferences>, attributes on <html>): the chosen colour scheme beats the device
     (the dark --f values: Design::css() with 'attr'), contrast and reading font also for the blocks of fluid (--f-…).
     !important: wins against the unlayered design values – like the rules of NativeCSS itself. */
  html[data-theme="light"] { color-scheme: light; }
  html.has-dark[data-theme="dark"] { color-scheme: dark; }
  :root[data-contrast="more"] {
    --f-text: light-dark(#000000, #ffffff) !important; --f-ink: light-dark(#000000, #ffffff) !important;
    --f-muted: light-dark(#2b2f36, #dcdfe5) !important; --f-line: light-dark(#5c6370, #a3a9b4) !important;
  }
  :root[data-ncss-font] { --f-font: var(--ncss-font-family-base) !important; --f-font-head: var(--ncss-font-family-heading) !important; }

  body { background: var(--f-bg); color: var(--f-text); font-family: var(--f-font); }

  /* ------------------------------------------------------------------ Topbar */
  .nv-topbar { background: color-mix(in oklab, var(--f-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); }
  .nv-topbar .ncss-topbar-inner { padding-inline: var(--f-gutter); gap: var(--f-s-m); flex-wrap: nowrap; }
  .nv-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--f-ink); font: 700 1.125rem/1.1 var(--f-font-head); text-decoration: none; letter-spacing: -.01em; }
  .nv-brand__mark { display: grid; place-items: center; inline-size: 2.1rem; block-size: 2.1rem; border-radius: var(--ncss-radius-md);
    background: linear-gradient(135deg, var(--f-a), var(--f-b)); color: var(--f-a-on); font-size: 1rem; }
  .nv-brand__logo { display: block; }
  /* SVG logos without their own width: fixed height, width from the aspect ratio */
  .nv-brand__img { display: block; block-size: 2.1rem; inline-size: auto; max-inline-size: 14rem; object-fit: contain; }
  .nv-brand--footer .nv-brand__img { block-size: 2rem; }
  /* design „Logo-Größe“ (e.g. a word mark in script needs more height) */
  html.logo-large .nv-brand:not(.nv-brand--footer) .nv-brand__img { block-size: 2.75rem; max-inline-size: 16rem; }
  html.logo-xl .nv-brand:not(.nv-brand--footer) .nv-brand__img { block-size: 3.4rem; max-inline-size: 18rem; }
  .nv-brand__logo.nv-brand__logo--dark { display: none; }
  @media (prefers-color-scheme: dark) {
    html.has-dark .nv-brand__logo--light { display: none; }
    html.has-dark .nv-brand__logo.nv-brand__logo--dark { display: block; }
  }
  html.is-dark .nv-brand__logo--light { display: none; }
  html.is-dark .nv-brand__logo.nv-brand__logo--dark { display: block; }
  .nv-nav .ncss-nav-list a[aria-current="page"], .nv-nav [data-active] > summary, .nv-nav a[data-active] { color: var(--f-link, var(--f-a)); }
  .nv-topbar .ncss-topbar-actions { display: flex; flex: 0 0 auto; align-items: center; gap: var(--f-s-s); margin-inline-start: auto; }
  .nv-icon-link { display: inline-grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem; border-radius: var(--ncss-radius-full, 999px); color: var(--f-ink); }
  .nv-icon-link:hover { background: var(--f-surface); }
  .nv-icon-link .ico { inline-size: 1.25rem; block-size: 1.25rem; }
  /* Header always ONE row – NativeCSS decides between row and menu button (since 1.3): without script via container query
     on the header width with the threshold data-ncss-nav-fit (estimated in NativeKit::navFit(), template.view.php), then
     ncss/js/nav.js measures exactly (data-ncss-nav-auto, takes precedence). All paths set the switch --ncss-nav-compact on
     the nav and its siblings in the row (space = menu button). Pattern:
       --_x: var(--ncss-nav-compact) VALUE-COMPACT; property: var(--_x, VALUE-ROW)
     – each rule appears only once and works with and without JavaScript. Languages, display and call to action move into
     the menu only in the compact state (otherwise shrinking would free space and the bar would flip back and forth). */
  /* Menu: in the row right of the brand; compact only the button at the far right behind the tools */
  .nv-nav { --_o: var(--ncss-nav-compact) 3; --_f: var(--ncss-nav-compact) 0 0 auto; --_m: var(--ncss-nav-compact) 0;
    order: var(--_o, 0); flex: var(--_f, 1 1 auto); margin-inline-start: var(--_m, auto); min-inline-size: 0;
    display: flex; justify-content: flex-end; }
  .nv-nav .ncss-nav-list { --_j: var(--ncss-nav-compact) flex-start; justify-content: var(--_j, flex-end); column-gap: 0; }
  .nv-nav .ncss-nav-item > a, .nv-nav .ncss-nav-item summary { --_p: var(--ncss-nav-compact) revert-layer; padding-inline: var(--_p, .5rem); }
  /* compact: one row even at 360 px – the brand may shrink (logo fitted, name shortened), tools and menu stay */
  .nv-brand { --_f: var(--ncss-nav-compact) 0 1 auto; flex: var(--_f, 0 0 auto); min-inline-size: 0; }
  .nv-brand__logo { min-inline-size: 0; }
  .nv-brand .nv-brand__img { --_mw: var(--ncss-nav-compact) 100%; max-inline-size: var(--_mw, 14rem); }
  .nv-brand__name { --_ov: var(--ncss-nav-compact) hidden; min-inline-size: 0; overflow: var(--_ov, visible); text-overflow: ellipsis; white-space: nowrap; }
  /* Languages, call to action, display: in the bar only in the row view, compact at the bottom of the menu */
  .nv-langs, .nv-head-cta, .nv-prefs:not(.nv-prefs--always) { --_d: var(--ncss-nav-compact) none; display: var(--_d, revert-layer); }
  .nv-nav__langs { --_d: var(--ncss-nav-compact) flex; display: var(--_d, none); margin-block-start: var(--f-s-l); }
  .nv-nav__cta { --_d: var(--ncss-nav-compact) flex; display: var(--_d, none); justify-content: center; margin-block-start: var(--f-s-l); }
  .nv-nav__prefs { display: none; }
  .nv-nav__prefs:defined { --_d: var(--ncss-nav-compact) inline-block; display: var(--_d, none); margin-block-start: var(--f-s-m); }

  /* ------------------------------------------------------------------ Header variants (Design → Kopf & Fuß)
     Classes on <html> from the design: hdr-{variant}, hdr-sticky, hsc-hide (template: .ncss-hide-on-scroll), hbg-*, nl-*, hh-*.
     Same switch pattern as above (--ncss-nav-compact): each variant only changes the row view, compact stays the menu button. */
  html:not(.hdr-sticky) .nv-topbar { position: relative; }
  /* hide on scroll (NativeCSS helpers/scroll.css): the slide-away at the footer would compete for translate */
  .nv-topbar.ncss-hide-on-scroll { animation: none; }
  .nv-topbar { --nv-h-ink: var(--f-ink); }
  .nv-topbar .nv-brand, .nv-topbar .nv-icon-link, .nv-topbar .nv-nav:not(:has(dialog[open])) { color: var(--nv-h-ink); }
  /* the row menu sits in the same <dialog> as the menu sheet: normal colours only when compact; dropdown panels always */
  .nv-topbar dialog { --_dc: var(--ncss-nav-compact) var(--f-text); color: var(--_dc, currentColor); }
  .nv-topbar .ncss-nav-submenu { --nv-h-ink: var(--f-ink); color: var(--f-text); }
  .nv-topbar .nv-nav :is(.ncss-nav-list > .ncss-nav-item > a, .ncss-nav-list > .ncss-nav-item > details > summary) { --_hc: var(--ncss-nav-compact) var(--f-text); color: var(--_hc, var(--nv-h-ink)); }

  /* Zentriert: logo in the middle of the first row, menu centred in the second, tools at the top right */
  .hdr-centered .nv-topbar .ncss-topbar-inner { position: relative; flex-wrap: wrap; row-gap: .25rem; padding-block: .5rem .25rem; }
  .hdr-centered .nv-brand { --_bf: var(--ncss-nav-compact) 0 1 auto; flex: var(--_bf, 1 0 100%); --_bj: var(--ncss-nav-compact) flex-start; justify-content: var(--_bj, center); }
  .hdr-centered .nv-nav { --_f: var(--ncss-nav-compact) 0 0 auto; flex: var(--_f, 1 1 100%); --_m: var(--ncss-nav-compact) 0; margin-inline-start: var(--_m, 0); justify-content: center; }
  .hdr-centered .nv-nav .ncss-nav-list { --_j: var(--ncss-nav-compact) flex-start; justify-content: var(--_j, center); }
  .hdr-centered .ncss-topbar-actions { --_pos: var(--ncss-nav-compact) static; position: var(--_pos, absolute); inset-block-start: .75rem; inset-inline-end: var(--f-gutter); }

  /* Geteilt: logo left, menu in the middle, tools right – both sides equally wide so the menu stays centred */
  .hdr-split .nv-brand { --_bf: var(--ncss-nav-compact) 0 1 auto; flex: var(--_bf, 1 1 0); }
  .hdr-split .nv-nav { --_f: var(--ncss-nav-compact) 0 0 auto; flex: var(--_f, 0 1 auto); --_m: var(--ncss-nav-compact) 0; margin-inline-start: var(--_m, 0); justify-content: center; }
  .hdr-split .nv-nav .ncss-nav-list { --_j: var(--ncss-nav-compact) flex-start; justify-content: var(--_j, center); }
  .hdr-split .nv-topbar .ncss-topbar-actions { --_af: var(--ncss-nav-compact) 0 0 auto; flex: var(--_af, 1 1 0); justify-content: flex-end; }

  /* Schwebend: the bar is a rounded pill above the page, with some space to the edge */
  .hdr-floating .nv-topbar { background: none; backdrop-filter: none; border-block-end: 0; padding-block-start: .75rem; }
  .hdr-floating .nv-topbar .ncss-topbar-inner { max-inline-size: min(100% - 2 * var(--f-gutter) + 1rem, var(--f-wrap) + 2rem); padding-inline: 1.25rem .5rem;
    border: 1px solid var(--f-line); border-radius: 999px; background: color-mix(in oklab, var(--f-bg) 86%, transparent);
    backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 2px var(--f-sh1, rgb(0 0 0 / .06)), 0 12px 32px -14px var(--f-sh2, rgb(0 0 0 / .2)); }
  .hdr-floating .nv-topbar .ncss-topbar-inner { --nv-h-ink: var(--f-ink); }

  /* Seitenleiste: from 64rem window width logo, menu (vertical, subpages in the flow) and tools in a column on the left;
     below that the normal bar with menu button (data-ncss-nav-auto="off": fixed threshold instead of measuring) */
  @media (width >= 64rem) {
    html.hdr-sidebar { --nv-side-w: clamp(15rem, 12rem + 6vw, 19rem); }
    .hdr-sidebar .nv-topbar { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: var(--ncss-topbar-z, 30); inline-size: var(--nv-side-w);
      overflow-y: auto; overscroll-behavior: contain; border-block-end: 0; border-inline-end: 1px solid var(--f-line); animation: none; translate: none; }
    .hdr-sidebar .nv-topbar .ncss-topbar-inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: var(--f-s-l);
      min-block-size: 100%; max-inline-size: none; margin: 0; padding: var(--f-s-l) var(--f-s-m); }
    .hdr-sidebar .nv-brand { flex: 0 0 auto; }
    .hdr-sidebar .nv-brand .nv-brand__img { max-inline-size: 100%; }
    .hdr-sidebar .nv-nav { order: 0; flex: 1 0 auto; margin: 0; display: block; }
    .hdr-sidebar .nv-nav .ncss-nav-list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: .125rem; }
    .hdr-sidebar .nv-nav .ncss-nav-item > a, .hdr-sidebar .nv-nav .ncss-nav-item summary { display: flex; padding: .5rem .75rem; border-radius: var(--ncss-radius-md); }
    .hdr-sidebar .nv-nav .ncss-nav-dropdown > .ncss-nav-submenu { position: static; min-inline-size: 0; padding-inline-start: .75rem; border: 0; box-shadow: none; background: none; }
    .hdr-sidebar .nv-topbar .ncss-topbar-actions { flex-wrap: wrap; justify-content: flex-start; margin: 0; }
    /* the whole page moves right (also bars of other addons directly in <body>), the fixed column sits in the space */
    html.hdr-sidebar body { padding-inline-start: var(--nv-side-w); }
    .hdr-sidebar .nv-nav .ncss-nav-item summary { align-items: center; justify-content: space-between; }
  }

  /* Hintergrund des Kopfbereichs */
  .hbg-surface .nv-topbar { background: var(--f-surface); }
  .hbg-accent .nv-topbar { background: var(--f-a); --nv-h-ink: var(--f-a-on); }
  .hbg-secondary .nv-topbar { background: var(--f-b); --nv-h-ink: var(--f-b-on); }
  .hbg-dark .nv-topbar { background: var(--f-dark); --nv-h-ink: var(--f-on-dark); }
  .hbg-gradient .nv-topbar { background: linear-gradient(100deg, color-mix(in oklch, var(--f-a) 16%, var(--f-bg)), color-mix(in oklch, var(--f-b) 16%, var(--f-bg))); }
  .hbg-dark .nv-topbar .nv-brand__logo--light { display: none; }
  .hbg-dark .nv-topbar .nv-brand__logo.nv-brand__logo--dark { display: block; }
  /* on the accent or secondary colour the logo would vanish (often in the same colour): white silhouette, works with any logo */
  :is(.hbg-accent, .hbg-secondary) .nv-topbar .nv-brand__img { filter: brightness(0) invert(1); }
  :is(.hbg-accent, .hbg-secondary) .nv-topbar .nv-brand__logo--dark { display: none !important; }
  :is(.hbg-accent, .hbg-secondary) .nv-topbar .nv-brand__logo--light { display: block !important; }
  :is(.hbg-accent, .hbg-secondary, .hbg-dark) .nv-topbar .nv-nav :is(a[aria-current="page"], a[data-active], [data-active] > summary) { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
  :is(.hbg-accent, .hbg-secondary, .hbg-dark) .nv-topbar :is(dialog, .ncss-nav-submenu) a[aria-current="page"] { color: var(--f-link); }

  /* Menüpunkte (row view only – the menu sheet keeps its list look) */
  .nl-underline .nv-nav :is(.ncss-nav-item > a, .ncss-nav-item > details > summary) { --_td: var(--ncss-nav-compact) none; text-decoration: var(--_td, underline 2px transparent); text-underline-offset: .5em; transition: text-decoration-color .2s; }
  .nl-underline .nv-nav :is(.ncss-nav-item > a:hover, .ncss-nav-item > a[aria-current="page"], .ncss-nav-item > a[data-active], .ncss-nav-item > details[data-active] > summary) { text-decoration-color: currentColor; }
  .nl-pill .nv-nav :is(.ncss-nav-item > a, .ncss-nav-item > details > summary) { border-radius: 999px; }
  .nl-pill .nv-nav :is(.ncss-nav-item > a[aria-current="page"], .ncss-nav-item > a[data-active], .ncss-nav-item > details[data-active] > summary) { --_pb: var(--ncss-nav-compact) transparent; background: var(--_pb, color-mix(in oklch, currentColor 10%, transparent)); }
  .nl-caps .nv-nav :is(.ncss-nav-list > .ncss-nav-item > a, .ncss-nav-list > .ncss-nav-item > details > summary) { --_tt: var(--ncss-nav-compact) none; text-transform: var(--_tt, uppercase); letter-spacing: .08em; font-size: .85em; font-weight: 650; }
  .nl-dot .nv-nav :is(.ncss-nav-list > .ncss-nav-item > a[aria-current="page"], .ncss-nav-list > .ncss-nav-item > a[data-active], .ncss-nav-list > .ncss-nav-item > details[data-active] > summary) { --_dot: var(--ncss-nav-compact) none; background: var(--_dot, radial-gradient(circle, var(--f-a) 0 2.5px, transparent 3px) 50% calc(100% - .1rem) / 6px 6px no-repeat); }

  /* Höhe des Kopfbereichs (for large logos; not in the sidebar) */
  .hh-tall:not(.hdr-sidebar) .nv-topbar .ncss-topbar-inner { min-block-size: 5.5rem; }
  .hh-xtall:not(.hdr-sidebar) .nv-topbar .ncss-topbar-inner { min-block-size: 7rem; }
  .hh-tall .nv-topbar .nv-brand .nv-brand__img { block-size: 3rem; max-inline-size: 18rem; }
  .hh-xtall .nv-topbar .nv-brand .nv-brand__img { block-size: 4rem; max-inline-size: 20rem; }

  /* ------------------------------------------------------------------ Footer */
  .nv-footer { margin-block-start: 0; padding-block: var(--f-s-2xl) var(--f-s-l); background: var(--f-surface); color: var(--f-muted); }
  .nv-footer .ncss-footer-inner, .nv-footer .ncss-footer-bottom { padding-inline: var(--f-gutter); }
  .nv-footer a { color: var(--f-text); }
  .nv-footer__h { margin: 0 0 var(--f-s-xs); color: var(--f-ink); font: 650 var(--f-t-1)/1.3 var(--f-font-head); letter-spacing: .06em; text-transform: uppercase; }
  .nv-footer__tagline { color: var(--f-text); font-weight: 600; }
  .nv-footer__address { font-style: normal; }
  .nv-footer__list, .nv-footer__legal { list-style: none; margin: 0; padding: 0; }
  .nv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--f-s-s); }
  .nv-footer__bottom p { margin: 0; }
  .nv-footer__legal { display: flex; flex-wrap: wrap; gap: var(--f-s-m); }
  .nv-footer__list li { display: flex; align-items: center; gap: .5em; }
  /* Call to action in the footer: button colours of fluid against the link colour of the footer */
  .nv-footer .nv-footer__action { margin: 0; }
  .nv-footer .nv-footer__action .btn--primary, .nv-footer .nv-footer__action .btn--primary:hover { color: var(--f-btn-ink); }
  /* Sticky header at the end of the page: slides away with the start of the footer instead of covering logo and claim
     (like fluid, f-hdr-yield). Browsers without view timelines: as before. */
  @supports (animation-timeline: view()) and (timeline-scope: none) {
    body { timeline-scope: --nv-ftr; }
    .nv-footer { view-timeline: --nv-ftr block; view-timeline-inset: 0; }
    .nv-topbar { animation: nv-topbar-yield linear both; animation-timeline: --nv-ftr; animation-range: exit-crossing -8rem exit-crossing 0%; }
  }
  @keyframes nv-topbar-yield { from { translate: none; } to { translate: 0 calc(-100% - 1rem); } }
  /* ------------------------------------------------------------------ Info bar, footer variants, footer colour and line
     (Design → Kopf & Fuß; same zones as the base CSS of fluid: --f-zone/--f-fg swap the text colours for coloured areas) */
  :is(.fbg-accent, .fbg-secondary, .fbg-dark) .nv-footer, .nv-meta { --f-ink: var(--f-fg); --f-text: var(--f-fg); --f-muted: color-mix(in srgb, var(--f-fg) 82%, var(--f-zone));
    --f-line: color-mix(in srgb, var(--f-fg) 20%, transparent); --f-surface: color-mix(in srgb, var(--f-fg) 12%, transparent); --f-link: var(--f-fg); --f-focus: var(--f-fg);
    --f-btn-bg: var(--f-fg); --f-btn-ink: var(--f-zone); --f-btn-hover: color-mix(in srgb, var(--f-fg) 86%, var(--f-zone)); --ncss-color-text: var(--f-fg); --ncss-color-text-muted: var(--f-muted); }
  .fbg-accent .nv-footer, .meta-accent .nv-meta { --f-zone: var(--f-a); --f-fg: var(--f-a-on); }
  .fbg-secondary .nv-footer, .meta-secondary .nv-meta { --f-zone: var(--f-b); --f-fg: var(--f-b-on); }
  .fbg-dark .nv-footer, .meta-dark .nv-meta { --f-zone: var(--f-dark); --f-fg: var(--f-on-dark); }
  .meta-surface .nv-meta { --f-zone: var(--f-surface); --f-fg: var(--f-ink); }
  .fbg-page .nv-footer { background: var(--f-bg); }
  :is(.fbg-accent, .fbg-secondary, .fbg-dark) .nv-footer { background: var(--f-zone); color: var(--f-muted); }
  :is(.fbg-accent, .fbg-secondary) .nv-footer .nv-brand__img { filter: brightness(0) invert(1); }
  .fbg-dark .nv-footer .nv-brand__logo--light { display: none; }
  .fbg-dark .nv-footer .nv-brand__logo.nv-brand__logo--dark { display: block; }

  /* Infoleiste über dem Kopfbereich: phone, e-mail, social media and a short text – scrolls away, the header stays */
  .nv-meta { background: var(--f-zone); color: var(--f-text); font-size: var(--f-t-1); }
  .nv-meta__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--f-s-l); inline-size: min(100% - 2 * var(--f-gutter), var(--f-wrap)); min-block-size: 2.25rem; margin-inline: auto; }
  .nv-meta__text { margin: 0; color: var(--f-ink); font-weight: 600; }
  .nv-meta__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--f-s-m); margin: 0 0 0 auto; padding: 0; list-style: none; }
  .nv-meta a { display: inline-flex; align-items: center; gap: .4em; min-block-size: 2.25rem; color: inherit; text-decoration: none; }
  .nv-meta a:hover { text-decoration: underline; }
  @container (max-width: 40rem) { .nv-meta__mail span, .nv-meta__social { display: none; } }

  /* Fuß „Statement“: a large sentence (website setting „Satz im Fußbereich“, otherwise the name) with the call to action */
  .nv-footer__statement { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--f-s-l); padding-inline: var(--f-gutter);
    max-inline-size: var(--ncss-container-max); margin: 0 auto var(--f-s-2xl); padding-block-end: var(--f-s-xl); border-block-end: 1px solid var(--f-line); }
  .nv-footer__big { margin: 0; max-inline-size: 18ch; color: var(--f-ink); font: var(--f-hw, 800) clamp(2rem, 1.2rem + 3.6vw, 4.25rem)/1.02 var(--f-font-head); letter-spacing: -.02em; text-wrap: balance; }
  /* Fuß „Einfach“ / „Zentriert“: one row with logo, claim, pages and call to action */
  .nv-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--f-s-s) var(--f-s-l); max-inline-size: var(--ncss-container-max); margin-inline: auto; padding-inline: var(--f-gutter); }
  .nv-footer__row .nv-footer__tagline { margin: 0; }
  .nv-footer__row nav { margin-inline-start: auto; }
  .nv-footer__inline { gap: var(--f-s-2xs) var(--f-s-m); margin: 0; padding: 0; list-style: none; }
  .nv-footer__inline a { text-decoration: none; }
  .nv-footer__inline a:hover, .nv-footer__inline a[aria-current] { text-decoration: underline; }
  .nv-footer__text { max-inline-size: var(--ncss-container-max); margin: var(--f-s-s) auto 0; padding-inline: var(--f-gutter); }
  .nv-footer--simple, .nv-footer--centered { padding-block: var(--f-s-xl) var(--f-s-m); }
  .nv-footer--centered :is(.nv-footer__row, .nv-footer__bottom) { flex-direction: column; justify-content: center; text-align: center; }
  .nv-footer--centered .nv-footer__row nav { margin-inline: 0; }
  .nv-footer--centered .nv-footer__inline, .nv-footer--centered .nv-footer__legal { justify-content: center; }
  .nv-footer--centered .nv-footer__text { text-align: center; }
  :is(.nv-footer--simple, .nv-footer--centered) .nv-footer__bottom { margin-block-start: var(--f-s-l); }

  /* Linie über dem Fußbereich (variables --fl-w/--fl-c/--fl-bw from the base CSS of fluid) */
  html.fl-none .nv-footer { border-block-start: 0; background-image: none; box-shadow: none; }
  html:is(.fl-line, .fl-shadow) .nv-footer { border-block-start: var(--fl-w, 1px) solid var(--fl-c, var(--f-line)); }
  html.fl-shadow .nv-footer { box-shadow: inset 0 14px 14px -14px #00000047; }
  html.fl-emboss .nv-footer { border-block-start: var(--fl-w, 1px) solid color-mix(in srgb, var(--f-ink) 30%, transparent); box-shadow: inset 0 1px #fffffff2, inset 0 2px #ffffff59, 0 -1px #ffffffb3; }
  html.fl-band .nv-footer { border-block-start: 0; background-image: linear-gradient(90deg, var(--f-a) 0 20%, var(--f-b) 20% 40%, var(--f-c3) 40% 60%, var(--f-c4) 60% 80%, var(--f-c5) 80%);
    background-size: 100% var(--fl-bw, 4px); background-repeat: no-repeat; }

  /* Footer density „Kompakt“ (Design → Form & Raum, token footer_density like fluid): less spacing, lists as rows,
     address on one line (.nv-footer__address--line), copyright and legal tighter. „Normal“ = as before. */
  .fd-compact .nv-footer { padding-block: var(--f-s-xl) var(--f-s-m); container-type: inline-size; }
  .fd-compact .nv-footer .ncss-footer-inner { gap: var(--f-s-l); }
  .fd-compact .nv-footer .ncss-stack { gap: var(--f-s-xs); }
  .fd-compact .nv-footer__h { margin-block-end: 0; }
  .fd-compact .nv-footer :is(.nv-footer__list, .ncss-nav-list) { gap: 0; }
  .fd-compact .nv-footer :is(.nv-footer__list, .ncss-nav-list, .nv-footer__legal) a { min-block-size: 1.75rem; display: inline-flex; align-items: center; }
  .nv-footer__address--line span { white-space: nowrap; }
  .nv-footer__address--line span:not(:last-child)::after { content: "·" / ""; margin-inline-start: .3em; }
  .fd-compact .nv-footer__bottom { margin-block-start: var(--f-s-l); padding-block-start: var(--f-s-s); gap: 0 var(--f-s-l); font-size: var(--f-t-2); }
  .fd-compact .nv-footer__legal { gap: 0 1rem; }
  @container (max-width: 36rem) {
    .fd-compact .nv-footer :is(.nv-footer__list, .ncss-nav-list) { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 var(--f-s-m); }
  }
  @media (pointer: coarse) {
    .fd-compact .nv-footer :is(.nv-footer__list, .ncss-nav-list, .nv-footer__legal) a { min-block-size: 2.75rem; }
  }
  .nv-brand--footer .nv-brand__mark { inline-size: 1.8rem; block-size: 1.8rem; font-size: .875rem; }

  /* ------------------------------------------------------------------ Intro */
  .nv-hero__title { text-wrap: balance; }
  .nv-hero__lead { max-inline-size: 40em; color: var(--f-muted); text-wrap: pretty; }
  .nv-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--f-s-m); }
  .nv-hero__actions { margin-block-start: var(--f-s-xs); }
  .nv-hero .hl { font-style: normal; }
  .nv-hero__badge { font-size: var(--f-t-1); font-weight: 600; letter-spacing: .02em; }

  /* „type“: large lettering, emphasis in the brand gradient */
  .nv-hero--type { display: flex; flex-direction: column; gap: var(--f-s-2xl); }
  .nv-hero__display { margin: 0; color: var(--f-ink); font: var(--f-hw) clamp(2.75rem, 1rem + 9cqi, 8.5rem)/.98 var(--f-font-head); letter-spacing: -.035em; text-wrap: balance; }
  .nv-hero__display .hl {
    background: linear-gradient(100deg, var(--f-a), var(--f-b));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .nv-hero--type .nv-hero__lead { font-size: var(--f-t1); }

  /* „compact“: page header of subpages as a tinted tile */
  .nv-hero--compact .nv-hero__text {
    padding: clamp(1.5rem, 1rem + 4cqi, 3.5rem);
    border: 1px solid var(--f-line); border-radius: var(--ncss-radius-lg);
    background:
      radial-gradient(120% 140% at 100% 0%, color-mix(in oklab, var(--f-a) 14%, transparent), transparent 55%),
      var(--f-surface);
  }
  .nv-hero--compact .nv-hero__title { margin: 0; color: var(--f-ink); }
  .sec--hero.v-compact { padding-block: var(--f-s-l) var(--f-s-xl); }

  /* „centered“ */
  .nv-hero--centered { display: flex; flex-direction: column; align-items: center; gap: var(--f-s-2xl); text-align: center; }
  .nv-hero--centered .nv-hero__text { align-items: center; }
  .nv-hero--centered .nv-hero__lead { margin-inline: auto; }

  /* „split“ */
  .nv-hero--split { align-items: center; }
  .nv-hero--split .nv-hero__media img, .nv-hero__media img { border-radius: var(--ncss-radius-lg); }

  /* „fullbleed“: .ncss-hero across the full width, image via <img>/<video> */
  .sec--hero.v-fullbleed { padding-block: 0; }
  .nv-hero--bleed { min-block-size: min(88svh, 52rem); }
  .nv-hero--bleed .ncss-hero-media img, .nv-hero--bleed .ncss-hero-media picture, .nv-hero__video {
    display: block; inline-size: 100%; block-size: 100%; object-fit: cover;
  }
  .nv-hero--bleed .ncss-hero-media picture, .nv-hero--bleed .ncss-hero-media > img, .nv-hero__video { position: absolute; inset: 0; }
  .nv-hero--bleed .ncss-hero-content { margin-inline: max(var(--f-gutter), calc((100% - var(--f-wrap)) / 2)); margin-block: auto var(--f-s-2xl); max-inline-size: 36rem; }
  .nv-hero--bleed .ncss-hero-content--transparent { color: #fff; }
  .nv-hero--bleed .ncss-hero-content--transparent .nv-hero__title, .nv-hero--bleed .ncss-hero-content--transparent .nv-hero__lead { color: #fff; }
  /* Card in page colour: the page's text colour even in coloured sections (--f0-*, like fluid's cards) – else light on light */
  .nv-hero--bleed .ncss-hero-content--filled { --f-ink: var(--f0-ink); --f-text: var(--f0-text); --f-muted: var(--f0-muted); --f-link: var(--f0-link); --f-fg: var(--f0-ink); }
  .nv-hero--bleed .ncss-hero-content--filled .nv-hero__title { color: var(--f-ink); }
  .nv-hero--medium .ncss-hero-media::after { background: linear-gradient(to top, rgb(0 0 0 / 45%), rgb(0 0 0 / 0%) 70%); }

  /* ------------------------------------------------------------------ Cards */
  .nv-cards { list-style: none; margin: 0; padding: 0; gap: var(--f-s-l); }
  /* Equal-height cards without display on the item – otherwise this layer would beat the filter's hiding (display: none) */
  .nv-cards__item > .ncss-card, .nv-cards > .ncss-card-container > .ncss-card { block-size: 100%; }
  /* Card in page colour: the page's text colour even in coloured sections (--f0-*, like fluid's cards) – else light on light */
  .nv-cards .ncss-card { --f-ink: var(--f0-ink); --f-text: var(--f0-text); --f-muted: var(--f0-muted); --f-link: var(--f0-link); --f-fg: var(--f0-ink); }
  .nv-cards .ncss-card { inline-size: 100%; background: var(--f-bg); color: var(--f-text); }
  .nv-cards .ncss-card-media .frame { margin: 0; border-radius: 0; }
  .nv-cards .ncss-card-media img { border-radius: 0; }
  .nv-card__eyebrow { margin: 0 0 .35rem; color: var(--f-a); font-size: var(--f-t-1); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .nv-card__title { margin: 0 0 .4rem; color: var(--f-ink); font: var(--f-hw) var(--f-t1)/1.25 var(--f-font-head); }
  .nv-card__title a { color: inherit; text-decoration: none; }
  .nv-card__text { margin: 0; color: var(--f-muted); }
  .nv-more { display: inline-flex; align-items: center; gap: .4em; color: var(--f-a); font-weight: 600; }
  .nv-more .ico { inline-size: 1em; block-size: 1em; transition: translate .15s; }
  .ncss-card--linked:hover .nv-more .ico { translate: .2em 0; }
  /* Text on the image */
  .nv-card--overlay { position: relative; overflow: clip; border: 0; color: #fff; }
  /* NativeCSS gives .ncss-card-media 16:9 – here the image fills the whole card */
  .nv-card--overlay .ncss-card-media { position: absolute; inset: 0; aspect-ratio: auto; block-size: 100%; }
  .nv-card--overlay .ncss-card-media .frame, .nv-card--overlay .ncss-card-media img { block-size: 100%; aspect-ratio: auto; object-fit: cover; }
  .nv-card--overlay .ncss-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 78%), rgb(0 0 0 / 45%) 40%, rgb(0 0 0 / 0%) 75%); }
  /* Text at the bottom on the dark gradient */
  .nv-card--overlay .ncss-card-body, .nv-card--overlay .ncss-card-footer { position: relative; flex: 0 0 auto; margin-block-start: auto; }
  .nv-card--overlay { display: flex; flex-direction: column; min-block-size: 22rem; }
  .nv-card--overlay .nv-card__title, .nv-card--overlay .nv-card__text, .nv-card--overlay .nv-card__eyebrow, .nv-card--overlay .nv-more { color: #fff; }

  /* ------------------------------------------------------------------ Text + image */
  /* Centred only side by side (split.css: align-items via --ncss-split-align) – stacked stays stretch, otherwise the
     image column shrinks to the width of its content: the frame (.frame, image absolute) would be 0 px and the image gone */
  .nv-mt { gap: clamp(1.5rem, 1rem + 4cqi, 4.5rem); }
  /* Image fills the frame in the chosen format (split.css sets height: auto and overrides fluid's .frame img) */
  .nv-mt .ncss-split-media .frame img { height: 100%; }
  /* Align image (field valign): top or „mitlaufen“ = top and – only side by side – sticky below the header */
  @container ncss-split (min-width: 36rem) {
    .nv-mt:is(.nv-mt--va-top, .nv-mt--va-follow) .ncss-split-media { align-self: flex-start; }
    .nv-mt--va-follow .ncss-split-media { position: sticky; top: calc(var(--hdr-h, 4.25rem) + var(--f-s-l)); }
  }
  .nv-mt .ncss-split-content { display: flex; flex-direction: column; gap: var(--f-s-m); }
  .nv-mt .ncss-split-content > * { margin: 0; }
  .nv-mt__head { margin-block-end: 0; }
  .nv-mt .ncss-split-media img { border-radius: var(--ncss-radius-lg); }
  .nv-mt--s-text .ncss-split-content { flex-grow: 1.4; }
  .nv-mt--s-media .ncss-split-media { flex-grow: 1.4; }
  .nv-mt--s-mediaxl .ncss-split-media { flex-grow: 2; }

  /* ------------------------------------------------------------------ Call to action */
  .nv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--f-s-l) var(--f-s-2xl);
    --ncss-tile-padding-block: clamp(2rem, 1.2rem + 4cqi, 4.5rem); --ncss-tile-padding-inline: clamp(1.5rem, 1rem + 4cqi, 4.5rem); }
  .nv-cta__text { flex: 1 1 28rem; display: flex; flex-direction: column; gap: var(--f-s-s); }
  .nv-cta__text > * { margin: 0; }
  .nv-cta__eyebrow { font-size: var(--f-t-1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
  .nv-cta--band { background: linear-gradient(120deg, var(--f-a), color-mix(in oklab, var(--f-a) 55%, var(--f-b))); color: var(--f-a-on); }
  .nv-cta--band .nv-cta__title, .nv-cta--band .nv-cta__lead { color: var(--f-a-on); }
  .nv-cta--band .btn--primary { background: var(--f-a-on); border-color: var(--f-a-on); color: var(--f-a); }
  .nv-cta--band .btn--secondary { border-color: currentColor; color: var(--f-a-on); background: transparent; }
  /* Band on an already coloured section (accent, second colour, dark): no second colour area */
  :is(.bg-accent, .bg-secondary, .bg-dark) .nv-cta--band { background: transparent; color: inherit; --ncss-tile-padding-inline: 0; }
  /* … texts and secondary button in the section's text colour. --f-a-on belongs to the accent area – on a dark tinted
     section that would be dark navy on a dark background */
  :is(.bg-accent, .bg-secondary, .bg-dark) .nv-cta--band :is(.nv-cta__title, .nv-cta__lead, .btn--secondary) { color: inherit; }
  .nv-cta--box { background: var(--f-surface); }
  .nv-cta--box .nv-cta__title { color: var(--f-ink); }
  .nv-cta__lead { max-inline-size: 42em; }

  /* ------------------------------------------------------------------ FAQ */
  .nv-faq--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--f-s-2xl); align-items: start; }
  .nv-faq--split .nv-faq__list { grid-column: span 2; }
  .nv-faq--stacked .nv-faq__list { max-inline-size: 52rem; margin-inline: auto; }
  .nv-faq__list { gap: var(--f-s-s); }
  /* Card in page colour: the page's text colour even in coloured sections (--f0-*, like fluid's cards) – else light on light */
  .nv-faq__item { background: var(--f-bg); border-color: var(--f-line); border-radius: var(--ncss-radius-md); color: var(--f0-text);
    --f-ink: var(--f0-ink); --f-text: var(--f0-text); --f-muted: var(--f0-muted); --f-link: var(--f0-link); --f-fg: var(--f0-ink); }
  .nv-faq__item summary { color: var(--f-ink); }
  .nv-faq__a { padding-block-start: var(--f-s-xs); }
  @container (max-width: 44rem) { .nv-faq--split .nv-faq__list { grid-column: auto; } }

  /* ------------------------------------------------------------------ Blocks of fluid in the style of NativeCSS */
  .feat.card, .card { border-radius: var(--ncss-radius-lg); }
  .eyebrow { letter-spacing: .06em; }
  .more-row { margin-block-start: var(--f-s-xl); }

  /* ------------------------------------------------------------------ New components of NativeCSS (loaded on demand) */
  /* Logos „Laufband“ (.ncss-marquee): pause button small and centred */
  .nv-logos__marquee { --ncss-marquee-gap: var(--f-s-2xl); }
  .nv-logos__marquee .logos__item { list-style: none; }
  .nv-logos__pause { margin: var(--f-s-s) 0 0; text-align: center; }
  .nv-logos__toggle { font-size: var(--f-t-1); padding: .35em .9em; }
  .nv-logos__toggle[aria-pressed="true"] { background: var(--f-surface); }

  /* Key figures: number counts up without the width jumping */
  .stat__value .ncss-count-up { font-variant-numeric: tabular-nums; }

  /* Video & audio, before/after: player or comparison across the full content width, caption below */
  .nv-vplayer ncss-video-player, .nv-audio__fig, .nv-compare__fig { display: block; margin: 0; }
  .nv-audio__fig { max-inline-size: 52rem; }
  .nv-compare__fig ncss-compare { border-radius: var(--ncss-radius-lg); }
  .nv-audio__fig .video__cap, .nv-compare__fig .video__cap { margin-block-start: var(--f-s-s); color: var(--f-muted); font-size: var(--f-t-1); }

  /* Scrollytelling (<ncss-scrolly>): stage below the fixed header, sections as cards in fluid's design */
  .nv-scrolly ncss-scrolly { --ncss-scrolly-top: 4.5rem; margin-block-start: var(--f-s-l); }
  .nv-scrolly .ncss-scrolly-steps { margin: 0; padding-inline: 0; list-style: none; }
  /* Card in page colour: the page's text colour even in coloured sections (--f0-*, like fluid's cards) – else light on light */
  .nv-scrolly .ncss-scrolly-step > * { background: var(--f-bg);
    --f-ink: var(--f0-ink); --f-text: var(--f0-text); --f-muted: var(--f0-muted); --f-link: var(--f0-link); --f-fg: var(--f0-ink); }
  /* Image format „auto“: each image in full (portrait no taller than the stage) */
  .nv-scrolly--auto .ncss-scrolly-figure img { inline-size: auto; max-inline-size: 100%; max-block-size: calc(100svh - 6rem); margin-inline: auto; }
  .nv-scrolly__title { margin: 0 0 var(--f-s-xs); color: var(--f-ink); font-size: var(--f-t-3); }

  /* Text + image „Morphing beim Scrollen“ (.ncss-morph): stick below the fixed header */
  .nv-morph .ncss-morph { --ncss-morph-top: 4.5rem; }
  .nv-morph .ncss-morph-media img { display: block; block-size: auto; }
  .nv-morph .ncss-morph-content > * + * { margin-block-start: var(--f-s-m); }

  /* Process „Zeitleiste“ (.ncss-timeline): the block's options „Kreise“ and „Farben“ */
  .nv-timeline .ncss-timeline { --nv-tl-c: var(--f-a); --nv-tl-on: var(--f-a-on); }
  .nv-tl--c-neutral { --nv-tl-c: var(--f-ink) !important; --nv-tl-on: var(--f-bg) !important; }
  .nv-tl--c-alternate > .ncss-timeline-item:nth-child(even) { --nv-tl-c: var(--f-b); --nv-tl-on: var(--f-b-on); }
  .nv-timeline .ncss-timeline:not(.nv-tl--m-dot) .ncss-timeline-marker {
    border: 2px solid var(--nv-tl-c);
    background: color-mix(in oklab, var(--nv-tl-c) 14%, var(--f-bg)); color: var(--nv-tl-c); font: 700 .875rem/1 var(--f-font); }
  .nv-tl--m-filled .ncss-timeline-marker { background: var(--nv-tl-c) !important; color: var(--nv-tl-on) !important; }
  .nv-tl--m-ring .ncss-timeline-marker { background: var(--f-bg) !important; }
  .nv-tl--m-dot .ncss-timeline-marker { --ncss-timeline-marker-color: var(--nv-tl-c); }
  .nv-timeline .ncss-timeline-marker .ico { inline-size: 1rem; block-size: 1rem; }
  /* Date in the section's secondary text (NativeCSS takes the page's value – too weak in coloured sections) */
  .nv-timeline .ncss-timeline-date { color: var(--f-muted); }
  /* Pricing card in page colour: the page's text colour even in coloured sections (--f0-*, like fluid's cards) */
  .nv-plans .ncss-pricing-plan { color: var(--f0-text);
    --f-ink: var(--f0-ink); --f-text: var(--f0-text); --f-muted: var(--f0-muted); --f-link: var(--f0-link); --f-fg: var(--f0-ink); }

  /* Fade-in effect off when „Dezente Animationen“ is switched off in the design (preview in the style editor) */
  html:not(.has-motion) .ncss-reveal { animation: none; clip-path: none; opacity: 1; translate: none; scale: none; }

  /* ---------------------------------------------------------------- Storytelling (cards-story.php, quote „Aufdecken“) */
  /* Story card: image and text side by side from 40rem, page colours (also in coloured sections) */
  .nv-story-card { display: grid; gap: var(--f-s-m); align-content: center; container-type: inline-size;
    background: var(--f-surface); color: var(--f0-text, var(--f-text)); border: 1px solid var(--f-line); border-radius: var(--f-radius); }
  .nv-story-card__media { overflow: hidden; border-radius: calc(var(--f-radius) * .75); }
  .nv-story-card__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
  .nv-story-card__title { margin: 0; color: var(--f0-ink, var(--f-ink)); font-family: var(--f-font-head); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: var(--f-hw, 800); line-height: 1.08; letter-spacing: -.015em; }
  .nv-hscroll .nv-story-card__title { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
  .nv-story-card__text { margin: var(--f-s-xs) 0 0; color: var(--f0-text, var(--f-text)); }
  .nv-story-card__more { margin: var(--f-s-m) 0 0; }
  /* „Gestapelt“: card size within the pinned stage, image beside the text on wide cards */
  .nv-stack { --ncss-stack-card-width: min(92vw, 64rem); --ncss-stack-card-height: min(70lvh, 34rem); --ncss-stack-fan: 1.25rem; }
  .nv-stack .ncss-stack-card { align-items: stretch; padding: var(--f-s-l); }
  @container (min-width: 40rem) { .nv-stack .nv-story-card { grid-template-columns: 1.1fr 1fr; align-items: center; }
    .nv-stack .nv-story-card__media { block-size: 100%; } }
  /* „Querlauf“: cards of a fixed width in the moving row */
  .nv-hscroll .ncss-scroll-horizontal-track > * { inline-size: min(80vw, 26rem); }
  .nv-hscroll .nv-story-card { block-size: 100%; padding: var(--f-s-m); align-content: start; }
  .nv-hscroll .nv-story-card__media { aspect-ratio: 3 / 2; }

  /* Quote „Aufdecken“: one large statement, revealed word by word (components/text-reveal.css) */
  .nv-statement { text-align: center; }
  .nv-statement__quote { margin: 0 auto; padding: 0; border: 0; }
  .nv-statement__text { margin: 0; color: var(--f-ink); font-family: var(--f-font-head); font-size: clamp(2rem, 1.2rem + 4vw, 4.5rem);
    font-weight: var(--f-hw, 800); line-height: 1.05; letter-spacing: -.02em; --ncss-text-reveal-color: var(--f-ink);
    max-inline-size: 13em; margin-inline: auto; text-wrap: balance; }
  .nv-statement__by { margin: var(--f-s-l) 0 0; color: var(--f-muted); font-family: var(--f-font-mono); font-size: .875rem; letter-spacing: .04em; }

  /* Section background „Fließend“: liquid, not a gradient – two layers of waves at the bottom drift against each other (mask
     with a seamless wave, colour from the accent, transform only), in the hero additionally a large drop that slowly changes
     its shape behind the text. Text stays the page's colour. Still with reduced motion / without has-motion, off in forced colours. */
  .sec.bg-fluid { --nv-fl-w1: color-mix(in oklch, var(--f-a) 22%, transparent); --nv-fl-w2: color-mix(in oklch, var(--f-a) 48%, transparent);
    --nv-fl-hi: color-mix(in oklch, var(--f-a) 18%, white);
    --nv-fl-h: clamp(4.5rem, 3rem + 7vw, 9rem); position: relative; isolation: isolate; overflow: clip; background-color: var(--f-bg);
    padding-block-end: calc(var(--f-sec) + var(--nv-fl-h) * .6); }
  .sec.bg-fluid::before, .sec.bg-fluid::after { content: ""; position: absolute; z-index: -1; inset-inline-start: 0; inset-block-end: -1px;
    inline-size: 200%; block-size: var(--nv-fl-h); pointer-events: none; will-change: transform;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C240 18 480 18 720 60S1200 102 1440 60V120H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C240 18 480 18 720 60S1200 102 1440 60V120H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x; }
  .sec.bg-fluid::before { background: linear-gradient(var(--nv-fl-w1) 35%, color-mix(in srgb, var(--nv-fl-w1) 0%, transparent)); block-size: calc(var(--nv-fl-h) * 1.25); animation: nv-fluid-wave 26s linear infinite reverse; }
  .sec.bg-fluid::after { background: linear-gradient(var(--nv-fl-w2) 30%, color-mix(in srgb, var(--nv-fl-w2) 0%, transparent)); animation: nv-fluid-wave 17s linear infinite; opacity: .55; }
  @keyframes nv-fluid-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  /* the drop (hero only): light enough for dark text on top, shape like a drop of water that never settles */
  .sec--hero.bg-fluid .nv-hero { position: relative; }
  .sec--hero.bg-fluid .nv-hero::after { content: ""; position: absolute; z-index: -1; inset-block-start: 50%; inset-inline-end: clamp(-12rem, -8vw, -2rem);
    inline-size: clamp(16rem, 12rem + 26vw, 38rem); aspect-ratio: 1; pointer-events: none; translate: 0 -55%;
    background:
      radial-gradient(ellipse 22% 14% at 30% 24%, color-mix(in srgb, var(--nv-fl-hi) 80%, transparent), transparent 70%),
      radial-gradient(circle at 70% 78%, color-mix(in oklch, var(--f-a) 60%, transparent), transparent 55%),
      radial-gradient(circle at 34% 30%, color-mix(in oklch, var(--f-a) 10%, transparent) 0 10%, color-mix(in oklch, var(--f-a) 30%, transparent) 48%, color-mix(in oklch, var(--f-a) 50%, transparent) 100%);
    box-shadow: inset -1.5rem -2rem 4rem color-mix(in oklch, var(--f-a) 35%, transparent), inset 1rem 1.25rem 3rem color-mix(in srgb, var(--nv-fl-hi) 40%, transparent),
      0 2.5rem 5rem -2.5rem color-mix(in oklch, var(--f-a) 45%, transparent);
    border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; opacity: .85; animation: nv-fluid-drop 18s ease-in-out infinite alternate; }
  @keyframes nv-fluid-drop {
    0% { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; rotate: 0deg; scale: 1; }
    33% { border-radius: 42% 58% 38% 62% / 60% 38% 62% 40%; rotate: 40deg; scale: 1.06; }
    66% { border-radius: 64% 36% 60% 40% / 40% 62% 38% 60%; rotate: 85deg; scale: .96; }
    100% { border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%; rotate: 120deg; scale: 1.03; } }
  /* optional image of the hero „Großer Schriftzug“: while editing a slim strip instead of a 16:9 area */
  .nv-hero--type > .frame--empty { aspect-ratio: auto; min-block-size: 0; padding: var(--f-s-s) var(--f-s-m); background: none; border: 1px dashed var(--f-line); }
  @container (max-width: 48rem) { .sec--hero.bg-fluid .nv-hero::after { opacity: .5; inset-block-start: 20%; } }
  @media (prefers-reduced-motion: reduce) { .sec.bg-fluid::before, .sec.bg-fluid::after, .sec--hero.bg-fluid .nv-hero::after { animation: none; will-change: auto; } }
  html:not(.has-motion) .sec.bg-fluid::before, html:not(.has-motion) .sec.bg-fluid::after, html:not(.has-motion) .sec--hero.bg-fluid .nv-hero::after { animation: none; }
  @media (forced-colors: active) { .sec.bg-fluid::before, .sec.bg-fluid::after, .sec--hero.bg-fluid .nv-hero::after { display: none; } }

  /* Quiet header: „Darstellung“ without a frame, call to action as a link with an arrow – the menu stays the loudest thing */
  .ncss-topbar-actions .nv-prefs .ncss-preferences-toggle { border-color: transparent; background: none; }
  .ncss-topbar-actions .nv-prefs .ncss-preferences-toggle:hover { background: var(--ncss-color-bg-subtle); }
  .nv-head-cta { gap: .3em; color: var(--f-a); font-weight: 650; border-color: transparent; background: none; }
  .nv-head-cta::after { content: "→"; transition: translate .2s; }
  .nv-head-cta:hover { background: var(--ncss-color-bg-subtle); color: var(--f-a-strong); }
  .nv-head-cta:hover::after { translate: .15em 0; }

  /* Brand mark from the favicon (website settings): no tile, the icon itself */
  .nv-brand__mark--icon { background: none !important; padding: 0; }
  .nv-brand__mark--icon img { display: block; inline-size: 2rem; block-size: 2rem; }
  /* word mark next to the icon: the short name, heavy and tight (e.g. „fluid“) */
  .nv-brand__mark--icon + .nv-brand__name { font-family: var(--nv-wordmark-font, var(--f-font-head)); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; color: var(--f-a); }

  /* Scrollytelling while editing (views/scrolly-edit.php): sections in rows, image beside the text, all editable */
  .nv-scrolly-edit__steps { display: grid; gap: var(--f-s-l); margin: var(--f-s-l) 0 0; padding: 0; list-style: none; }
  .nv-scrolly-edit__step { display: grid; gap: var(--f-s-m); align-items: center; container-type: inline-size;
    padding: var(--f-s-m); border: 1px dashed var(--f-line); border-radius: var(--f-radius); }
  @container (min-width: 46rem) { .nv-scrolly-edit__step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .nv-scrolly-edit--right .nv-scrolly-edit__media { order: 2; } }
  .nv-scrolly-edit__media img { display: block; inline-size: 100%; block-size: auto; border-radius: calc(var(--f-radius) * .75); }
  .nv-scrolly-edit__keep { margin: 0; padding: var(--f-s-l) var(--f-s-m); border-radius: calc(var(--f-radius) * .75); background: var(--f-surface); color: var(--f-muted); text-align: center; font-size: .875rem; }
  .nv-scrolly-edit__num { display: block; color: var(--f-a); font: 600 .8rem/1 var(--f-font-mono); letter-spacing: .08em; }
  .nv-scrolly-edit__body > * + * { margin-block-start: var(--f-s-xs); }
  .nv-scrolly-edit .nv-scrolly__title { margin-block: var(--f-s-xs) 0; color: var(--f-ink); font-family: var(--f-font-head); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: var(--f-hw, 800); line-height: 1.1; }
}
