/* Vaytax shell: one header, one footer and one page frame on the design tokens (week 49, bet 1).

   Needs /shell/tokens.css before it (every value below is a --ds-* or --mo-* name) and /shell/motion.css for the
   page patterns. The markup is generated: scripts/build-nav-footer.mjs renders CHROME:NAV:SHELL,
   CHROME:FOOTER:SHELL and CHROME:FOOTER:SHELLHOME from the same templates as the old chrome, with the classes
   renamed into the sh- family (shellize()), so every link, id and keyboard behaviour is the old chrome's.

   Rules this file keeps (tests/test_shell_pages.py checks them):
   1. Tokens only: no colour, font, radius or shadow literal, only token names. The one exception is the flags
      (Germany black/red/gold, France blue/white/red), which are facts, not a look.
   2. Motion by Marketing's contract: hover and focus fade colour, background and border over --mo-dur-s;
      buttons take the press scale (--mo-press, the visitor's own tap, once); nothing loops, nothing moves by
      itself; the shadow under a scrolled header is a layer whose opacity changes, never an animated shadow.
   3. Everything is scoped under .sh-bar, .sh-hdr, .sh-ft or body.sh-page, so the file changes nothing on a
      page that does not carry the shell markup.

   The page frame (body.sh-page) also maps the old pages' own variables (styles.css, home-v2.css) onto the
   tokens by Marketing's roles (25.11): headings and strong text navy ink, body text #4a5265, muted #6f6a58, the
   royal blue of styles.css gone into navy. So everything an old page draws through its variables shows the one
   palette; what a page types in directly is brought across by /shell/frame.css.

   One container (Marketing's wave-2 criteria, 26.11): the bar, the header, the footer and every section of a
   page share one left edge, max(--sh-gutter, (100% - --ds-container) / 2). */

/* ---------------------------------------------------------------- page frame */
body.sh-page {
  --primary: var(--ds-dark-2);
  --primary-dark: var(--ds-dark);
  --gold: var(--ds-accent);
  --gold-light: var(--ds-accent-soft);
  --body-text: var(--ds-ink);
  --paragraph: var(--ds-ink-soft);
  --tagline: var(--ds-ink-mute);
  --label-muted: var(--ds-ink-mute);
  --border: var(--ds-border);
  --border-soft: var(--ds-border-soft);
  --border-focus: var(--ds-focus);
  --light-bg: var(--ds-bg-alt);
  --info-bg: var(--ds-info-bg);
  --info-text: var(--ds-info);
  --success: var(--ds-success);
  --font-serif: var(--ds-font-display);
  --font-ui: var(--ds-font-ui);
  --font-body: var(--ds-font-text);
  /* prices and figures set in the text face (audit S11: no typewriter price font) */
  --font-mono: var(--ds-font-text);
  --sh-gutter: 40px;
  --sh-edge: max(var(--sh-gutter), calc((100% - var(--ds-container)) / 2));
  background: var(--ds-bg);
  color: var(--ds-ink-soft);
}
@media (max-width: 1180px) { body.sh-page { --sh-gutter: 24px; } }
@media (max-width: 700px) { body.sh-page { --sh-gutter: 20px; } }
.sh-main { display: block; }
.sh-wrap { max-width: var(--ds-container); margin: 0 auto; }

/* ---------------------------------------------------------------- the stripe component
   Every flag stripe (logo, footer, country flags) is .sh-stripe: its segments sit on a neutral track with a 1 px
   edge, so no segment ever sits on its own colour (black on navy, white on white; audit S2). */
.sh-page .sh-stripe { display: inline-flex; padding: 1px; gap: 1px; border-radius: 2px; background: var(--ds-border-input); }
.sh-page .sh-stripe > * { flex: 1; }
/* The chooser and the arrival line are components another builder mounts (week 49). Empty until then, so they
   take no space; whatever fills them must reserve its own height before first paint (layout shift 0). */
.sh-page [data-slot]:empty { display: none; }

/* ---------------------------------------------------------------- shared bits */
.sh-bar a, .sh-hdr a, .sh-ft a {
  transition: color var(--mo-dur-s) var(--mo-ease), background-color var(--mo-dur-s) var(--mo-ease),
    border-color var(--mo-dur-s) var(--mo-ease);
}
.sh-bar :focus-visible, .sh-hdr :focus-visible, .sh-ft :focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 2px; }
/* On the dark surfaces the ring takes the light accent, so it stays visible there (3:1). */
.sh-bar > .sh-cb-inner :focus-visible, .sh-ft :focus-visible { outline-color: var(--ds-accent-soft); }
.sh-bar .sh-cb-sel-panel :focus-visible { outline-color: var(--ds-focus); }
.sh-bar .sh-cb-flag, .sh-bar .sh-cb-sel-flags { display: inline-flex; }
.sh-bar .sh-cb-flag i { flex: 1; }
.sh-bar .sh-cb-flag-de { flex-direction: column; }
.sh-bar .sh-cb-flag-de i:nth-child(1) { background: #000000; }
.sh-bar .sh-cb-flag-de i:nth-child(2) { background: #dd0000; }
.sh-bar .sh-cb-flag-de i:nth-child(3) { background: #ffcc00; }
.sh-bar .sh-cb-flag-fr i:nth-child(1) { background: #002395; }
.sh-bar .sh-cb-flag-fr i:nth-child(2) { background: #ffffff; }
.sh-bar .sh-cb-flag-fr i:nth-child(3) { background: #ed2939; }

/* ---------------------------------------------------------------- country bar */
.sh-bar { background: var(--ds-dark); color: var(--ds-on-dark-small); font-family: var(--ds-font-ui); font-size: var(--ds-fs-xs); }
.sh-bar .sh-cb-inner {
  max-width: calc(var(--ds-container) + 2 * var(--sh-gutter)); margin: 0 auto; padding: 0 var(--sh-gutter); height: 44px;
  display: flex; align-items: stretch; justify-content: space-between; gap: var(--ds-sp-4);
}
.sh-bar .sh-cb-sel { position: relative; display: flex; align-items: stretch; }
.sh-bar .sh-cb-sel-btn {
  display: inline-flex; align-items: center; gap: var(--ds-sp-2); padding: 0; border: 0; background: transparent;
  color: var(--ds-on-dark-small); font: inherit; font-size: 10.5px; font-weight: var(--ds-fw-ui); letter-spacing: var(--ds-track-ui);
  text-transform: uppercase; cursor: pointer;
  transition: color var(--mo-dur-s) var(--mo-ease);
}
.sh-bar .sh-cb-sel-btn:hover, .sh-bar .sh-cb-sel.is-open .sh-cb-sel-btn { color: var(--ds-on-dark); }
.sh-bar .sh-cb-sel-flags { gap: 3px; }
.sh-bar .sh-cb-sel-flags .sh-cb-flag { width: 16px; height: 11px; border-radius: 1px; overflow: hidden; }
.sh-bar .sh-cb-sel-caret { width: 9px; height: 6px; transition: transform var(--mo-dur-s) var(--mo-ease); }
.sh-bar .sh-cb-sel.is-open .sh-cb-sel-caret { transform: rotate(180deg); }
.sh-bar .sh-cb-sel-panel {
  position: absolute; top: 100%; left: 0; z-index: 100; min-width: 220px; margin-top: var(--ds-sp-1);
  display: flex; flex-direction: column; padding: var(--ds-sp-2); background: var(--ds-bg);
  border: 1px solid var(--ds-border-soft); border-radius: var(--ds-r-s); box-shadow: var(--ds-shadow-m);
}
.sh-bar .sh-cb-sel-panel[hidden] { display: none; }
.sh-bar .sh-cb-sel-link {
  display: flex; align-items: center; gap: var(--ds-sp-3); min-height: 44px; padding: var(--ds-sp-1) var(--ds-sp-3);
  border-radius: var(--ds-r-s); color: var(--ds-ink); text-decoration: none;
}
.sh-bar .sh-cb-sel-link .sh-cb-flag { width: 22px; height: 15px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.sh-bar .sh-cb-sel-txt { display: flex; flex-direction: column; line-height: var(--ds-lh-snug); }
.sh-bar .sh-cb-sel-txt b { font-size: 13px; font-weight: var(--ds-fw-ui); text-transform: none; letter-spacing: 0; }
.sh-bar .sh-cb-sel-txt small { font-family: var(--ds-font-text); font-size: var(--ds-fs-xs); color: var(--ds-ink-soft); }
.sh-bar .sh-cb-sel-link:hover, .sh-bar .sh-cb-sel-link:focus-visible { background: var(--ds-bg-alt); }
.sh-bar .sh-cb-sel-link.is-active { background: var(--ds-bg-alt); box-shadow: inset 3px 0 0 var(--ds-accent); }
.sh-bar .sh-cb-right { display: flex; align-items: stretch; gap: 22px; }
.sh-bar .sh-cb-right > * { display: inline-flex; align-items: center; }
.sh-bar .sh-cb-link, .sh-bar .sh-cb-login {
  font-size: 10.5px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.sh-bar .sh-cb-link { color: var(--ds-on-dark-small); border-bottom: 2px solid transparent; }
.sh-bar .sh-cb-login { color: var(--ds-accent-pale); }
.sh-bar .sh-cb-link:hover, .sh-bar .sh-cb-login:hover { color: var(--ds-on-dark); }
.sh-bar .sh-cb-link.is-active { color: var(--ds-on-dark); border-bottom-color: var(--ds-accent-soft); }

/* ---------------------------------------------------------------- header */
.sh-hdr {
  position: sticky; top: 0; z-index: 90; padding: 0 var(--sh-gutter);
  background: var(--ds-bg); border-bottom: 1px solid var(--ds-border-soft);
  font-family: var(--ds-font-text);
}
/* The scrolled shadow is a layer whose opacity changes (motion contract: no animated shadow). */
.sh-hdr::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: var(--ds-shadow-m); opacity: 0; transition: opacity var(--mo-dur-s) var(--mo-ease);
}
.sh-hdr.is-scrolled::after { opacity: 1; }
.sh-hdr .shn-inner {
  max-width: var(--ds-container); height: 80px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--ds-sp-5);
}
.sh-hdr .shn-logo { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; flex-shrink: 0; min-height: 44px; text-decoration: none; }
.sh-hdr .shn-logo-stripe { width: 82px; height: 5px; margin-bottom: var(--ds-sp-1); }
.sh-hdr .shn-logo-stripe .sh-fl-de:nth-child(1) { background: #000000; }
.sh-hdr .shn-logo-stripe .sh-fl-de:nth-child(2) { background: #dd0000; }
.sh-hdr .shn-logo-stripe .sh-fl-de:nth-child(3) { background: #ffcc00; }
.sh-hdr .shn-logo-stripe .sh-fl-fr:nth-child(4) { background: #002395; margin-left: 2px; }
.sh-hdr .shn-logo-stripe .sh-fl-fr:nth-child(5) { background: #f2f0ea; }
.sh-hdr .shn-logo-stripe .sh-fl-fr:nth-child(6) { background: #ed2939; }
body.chrome-de .sh-hdr .sh-fl-fr, body.chrome-fr .sh-hdr .sh-fl-de { display: none; }
body.chrome-fr .sh-hdr .shn-logo-stripe .sh-fl-fr:nth-child(4) { margin-left: 0; }
.sh-hdr .shn-wordmark {
  font-family: var(--ds-font-ui); font-size: 18px; font-weight: var(--ds-fw-ui); letter-spacing: 3px;
  text-transform: uppercase; line-height: 1.1; color: var(--ds-dark);
}
.sh-hdr .shn-tagline {
  font-family: var(--ds-font-ui); font-size: 11px; font-weight: 500; letter-spacing: 1px; /* 9px until 28.11: 11px floor */
  text-transform: uppercase; line-height: 1.2; color: var(--ds-ink-mute);
}

.sh-hdr .shn-menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.sh-hdr .shn-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-family: var(--ds-font-ui); font-size: 12px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ds-dark); background: transparent; border: 0; border-bottom: 2px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.sh-hdr .shn-link:hover { color: var(--ds-accent); }
.sh-hdr .shn-link.shn-link-active { border-bottom-color: var(--ds-accent); }
.sh-hdr .shn-urgent, .sh-hdr .shn-urgent:hover { color: var(--ds-alert); gap: var(--ds-sp-2); }
.sh-hdr .sh-pulse { width: 7px; height: 7px; border-radius: var(--ds-r-pill); background: var(--ds-alert); flex-shrink: 0; } /* as live (critic 29.11: the dot stays) */

.sh-hdr .shn-sol { position: relative; }
.sh-hdr .shn-sol-btn { line-height: inherit; }
.sh-hdr .shn-sol-caret { width: 10px; height: 6px; flex-shrink: 0; transition: transform var(--mo-dur-s) var(--mo-ease); }
.sh-hdr .shn-sol.is-open .shn-sol-caret { transform: rotate(180deg); }
.sh-hdr .shn-sol-panel {
  position: absolute; top: calc(100% + 12px); left: -16px; z-index: 95; min-width: 290px;
  display: flex; flex-direction: column; padding: var(--ds-sp-2); background: var(--ds-bg);
  border: 1px solid var(--ds-border-soft); border-radius: var(--ds-r-s); box-shadow: var(--ds-shadow-m);
}
.sh-hdr .shn-sol-panel[hidden] { display: none; }
.sh-hdr .shn-sol-link {
  padding: 10px var(--ds-sp-3); border-radius: var(--ds-r-s); font-size: var(--ds-fs-sm);
  color: var(--ds-ink); text-decoration: none; white-space: nowrap;
}
.sh-hdr .shn-sol-link:hover, .sh-hdr .shn-sol-link:focus-visible { background: var(--ds-bg-alt); color: var(--ds-dark); }

/* Both header actions. Press scale on both (Marketing 25.11, decision 4). Button shape as frame.css section 4 (design
   standard 28.11, section 4): sentence case, no letter spacing, 8px corners, Roboto 600. */
.sh-hdr .shn-cta, .sh-hdr .shn-cta-check {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 44px;
  padding: 10px 22px; border-radius: var(--ds-r-btn); border: 1.5px solid var(--ds-dark);
  font-family: var(--ds-font-text); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--mo-dur-xs) var(--mo-ease), color var(--mo-dur-s) var(--mo-ease),
    background-color var(--mo-dur-s) var(--mo-ease), border-color var(--mo-dur-s) var(--mo-ease);
}
/* The text link: the same numbers as nav.css .nav-cta (CoS 28.11 third review), underline under the words only, the
   arrow out of the flow so the underline cannot run under it. */
.sh-hdr .shn-cta {
  position: relative; background: transparent; color: var(--ds-dark); border: 0; padding: 10px 24px 10px 8px;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--ds-dark-2) 35%, transparent);
}
.sh-hdr .shn-cta > span[aria-hidden] { position: absolute; left: calc(100% - 19px); top: 50%; transform: translateY(-50%); }
.sh-hdr .shn-cta:hover { background: transparent; text-decoration-color: var(--ds-dark); }
.sh-hdr .shn-cta-check { min-height: 48px; background: var(--ds-dark); color: var(--ds-on-dark); padding: 10px 18px; }
.sh-hdr .shn-cta-check:hover { background: var(--ds-dark-2); border-color: var(--ds-dark-2); }
.sh-hdr .shn-cta:active, .sh-hdr .shn-cta-check:active { transform: scale(var(--mo-press)); }
.sh-hdr .shn-cta-check svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.75; }

.sh-hdr .shn-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0;
  background: transparent; border: 0; cursor: pointer;
}
.sh-hdr .shn-toggle span, .sh-hdr .shn-toggle span::before, .sh-hdr .shn-toggle span::after {
  width: 22px; height: 2px; background: var(--ds-dark);
}
.sh-hdr .shn-toggle span { position: relative; }
.sh-hdr .shn-toggle span::before, .sh-hdr .shn-toggle span::after {
  content: ""; position: absolute; left: 0; transition: transform var(--mo-dur-s) var(--mo-ease);
}
.sh-hdr .shn-toggle span::before { transform: translateY(-7px); }
.sh-hdr .shn-toggle span::after { transform: translateY(7px); }
.sh-hdr.menu-open .shn-toggle span { background: transparent; }
.sh-hdr.menu-open .shn-toggle span::before { transform: rotate(45deg); }
.sh-hdr.menu-open .shn-toggle span::after { transform: rotate(-45deg); }

/* The row needs about 1000 px with every label whole (measured on the old chrome, same items); tighter bands
   on the way down, then the drawer. */
@media (max-width: 1320px) { .sh-hdr .shn-menu { gap: 24px; } }
@media (max-width: 1240px) {
  .sh-hdr .shn-menu { gap: 18px; }
  .sh-hdr .shn-cta { font-size: 13px; }
}
@media (max-width: 1180px) {
  .sh-hdr .shn-inner { gap: var(--ds-sp-4); }
  .sh-hdr .shn-menu { gap: 14px; }
  .sh-hdr .shn-cta-check { padding: 10px 14px; }
  .sh-hdr .shn-cta-check svg { display: none; }
}
@media (max-width: 1080px) {
  .sh-hdr .shn-inner { height: 70px; }
  .sh-hdr .shn-logo-stripe { width: 66px; }
  .sh-hdr .shn-wordmark { font-size: 15px; letter-spacing: 2.4px; }
  .sh-hdr .shn-toggle { display: inline-flex; }
  .sh-hdr .shn-menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0; margin: 0; gap: 0;
    flex-direction: column; align-items: stretch; padding: var(--ds-sp-3) var(--ds-sp-4) 20px;
    background: var(--ds-bg); border-bottom: 1px solid var(--ds-border-soft); box-shadow: var(--ds-shadow-m);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .sh-hdr.menu-open .shn-menu { display: flex; }
  .sh-hdr .shn-link {
    width: 100%; justify-content: space-between; padding: 14px var(--ds-sp-2); font-size: var(--ds-fs-sm);
    border-bottom: 1px solid var(--ds-border-soft);
  }
  .sh-hdr .shn-urgent { justify-content: flex-start; }
  .sh-hdr .shn-sol-panel { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 var(--ds-sp-2) var(--ds-sp-3); }
  .sh-hdr .shn-cta, .sh-hdr .shn-cta-check { width: 100%; margin-top: 10px; padding: 14px; font-size: 15px; }
  .sh-hdr .shn-cta { align-self: center; width: auto; padding: 14px 24px 14px 8px; }
}
@media (max-width: 440px) { .sh-bar .sh-cb-link { display: none; } }

/* ---------------------------------------------------------------- footer */
/* The old sheets draw a vertical flag stripe down every footer's left edge (styles-v2.css body > footer::before);
   the shell footer has none (audit S3: it read as a rendering glitch at the screen edge).
   ONE footer (28.11): nav.css styles the old pages' .v2-footer with these same rules, tokens written out as values;
   tests/test_footer_parity.py fails on any difference, so change both files together. Text on the navy: 14px
   text --ds-on-dark-soft, anything smaller --ds-on-dark-small or white, set on each element (a page rule such as
   `.vatchk p` must not win over an inherited colour: it turned the brand line navy on navy on /vat-id-checker). */
body > footer.sh-ft::before { content: none; }
.sh-ft { position: relative; background: var(--ds-dark); color: var(--ds-on-dark-soft); font-family: var(--ds-font-text); font-size: var(--ds-fs-sm); line-height: 1.75; text-align: left; }
.sh-ft .sh-ft-grid {
  max-width: calc(var(--ds-container) + 2 * var(--sh-gutter)); margin: 0 auto; padding: var(--ds-sp-8) var(--sh-gutter) var(--ds-sp-7);
  display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); gap: var(--ds-sp-6);
}
.sh-ft .sh-ft-stripe { width: 66px; height: 6px; margin-bottom: 14px; }
.sh-ft .sh-ft-stripe .s4 { margin-left: 2px !important; }
.sh-ft .sh-ft-logo { font-family: var(--ds-font-ui); font-size: var(--ds-fs-md); font-weight: var(--ds-fw-ui); letter-spacing: 3px; text-transform: uppercase; color: var(--ds-on-dark); margin-bottom: var(--ds-sp-3); }
.sh-ft .sh-ft-brand p { margin: 0 0 var(--ds-sp-3); line-height: var(--ds-lh-body); color: var(--ds-on-dark-soft); }
.sh-ft .sh-ft-brand a { color: var(--ds-accent-soft); }
.sh-ft .sh-ft-poweredby a { text-decoration: none; border-bottom: 1px solid currentColor; }
.sh-ft .sh-ft-poweredby, .sh-ft .sh-ft-badge { white-space: nowrap; }
.sh-ft .sh-ft-poweredby a:hover { color: var(--ds-on-dark); }
.sh-ft .sh-ft-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: var(--ds-sp-1) 10px; border-radius: var(--ds-r-pill);
  border: 1px solid var(--ds-dark-2); color: var(--ds-on-dark); font-family: var(--ds-font-ui); font-size: 11px;
  letter-spacing: .5px;
}
.sh-ft .sh-ft-badge svg { width: 11px; height: 11px; flex-shrink: 0; }
.sh-ft .sh-ft-col h4 {
  margin: 0 0 14px; font-family: var(--ds-font-ui); font-size: 11px; font-weight: var(--ds-fw-ui); line-height: 1.2;
  letter-spacing: var(--ds-track-ui); text-transform: uppercase; color: var(--ds-on-dark);
}
.sh-ft .sh-ft-col ul { list-style: none; margin: 0; padding: 0; }
.sh-ft .sh-ft-col li { margin-bottom: var(--ds-sp-2); }
.sh-ft .sh-ft-col a { color: var(--ds-on-dark-soft); text-decoration: none; }
.sh-ft .sh-ft-col a:hover { color: var(--ds-on-dark); }
.sh-ft .sh-ft-news { margin-top: var(--ds-sp-5); max-width: 280px; }
.sh-ft .sh-ft-news-label { font-family: var(--ds-font-ui); font-size: 11px; font-weight: var(--ds-fw-ui); letter-spacing: var(--ds-track-ui); text-transform: uppercase; color: var(--ds-accent-soft); }
.sh-ft .sh-ft-brand .sh-ft-news-sub { margin: var(--ds-sp-1) 0 var(--ds-sp-2); font-size: 13px; line-height: var(--ds-lh-body); color: var(--ds-on-dark-small); }
.sh-ft .sh-ft-news-form { display: flex; gap: var(--ds-sp-2); }
.sh-ft .sh-ft-news-form input {
  flex: 1; min-width: 0; padding: 11px var(--ds-sp-3); border-radius: var(--ds-r-s); border: 1px solid var(--ds-on-dark-soft);
  background: transparent; color: var(--ds-on-dark); font: inherit; font-size: 13px;
}
.sh-ft .sh-ft-news-form input::placeholder { color: var(--ds-on-dark-soft); }
.sh-ft .sh-ft-news-form button {
  width: 44px; min-height: 44px; flex-shrink: 0; border-radius: var(--ds-r-s); border: 1px solid var(--ds-accent-soft); background: transparent;
  color: var(--ds-accent-soft); font-size: 15px; line-height: normal; cursor: pointer;
  transition: transform var(--mo-dur-xs) var(--mo-ease), color var(--mo-dur-s) var(--mo-ease), background-color var(--mo-dur-s) var(--mo-ease);
}
.sh-ft .sh-ft-news-form button:hover { background: var(--ds-accent-soft); color: var(--ds-dark); }
.sh-ft .sh-ft-news-form button:active { transform: scale(var(--mo-press)); }
.sh-ft .sh-ft-brand .sh-ft-news-status { margin: var(--ds-sp-2) 0 0; font-size: var(--ds-fs-xs); color: var(--ds-on-dark-small); }
.sh-ft .sh-ft-news-status:empty { display: none; }
.sh-ft .sh-ft-bottom {
  /* the rule spans the content width, not the gutters, so it starts and ends where the columns do */
  width: calc(100% - 2 * var(--sh-gutter)); max-width: var(--ds-container); margin: 0 auto; padding: var(--ds-sp-5) 0; border-top: 1px solid var(--ds-dark-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ds-sp-3); font-size: var(--ds-fs-xs); color: var(--ds-on-dark-small);
}
@media (max-width: 1080px) { .sh-ft .sh-ft-grid { grid-template-columns: repeat(3, 1fr); } .sh-ft .sh-ft-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .sh-ft .sh-ft-grid { grid-template-columns: 1fr 1fr; gap: var(--ds-sp-5); padding-top: var(--ds-sp-7); } }
/* Phone-sized tap targets (44 px) for every footer link and control (audit S4: 14 to 16 px today). */
@media (max-width: 700px) {
  .sh-ft .sh-ft-col li { margin: 0; }
  .sh-ft .sh-ft-col a, .sh-ft .sh-ft-poweredby a, .sh-ft .sh-ft-bottom a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .sh-ft .sh-ft-poweredby a { border-bottom: 0; text-decoration: underline; }
  .sh-ft .sh-ft-news-form input { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-bar *, .sh-hdr, .sh-hdr *, .sh-hdr::after, .sh-ft * { transition: none !important; }
  .sh-hdr .shn-cta:active, .sh-hdr .shn-cta-check:active, .sh-ft .sh-ft-news-form button:active { transform: none; }
}

/* Language switch EN / DE / FR and the German-browser hint (RJ 30.11.2026). Same parts as nav.css: the bar
   carries the switch on desktop, the burger drawer carries it at 1080 px and below; the hint is one line in the
   page flow directly under the header, added while the header is still being parsed (no layout shift). */
.sh-bar .sh-cb-right > .sh-cb-lang { align-items: stretch; gap: 12px; font-size: 10.5px; font-weight: 500; letter-spacing: 1.2px; }
.sh-bar .sh-cb-lang > * { display: inline-flex; align-items: center; }
.sh-bar .sh-cb-lang a { color: var(--ds-on-dark-small); }
.sh-bar .sh-cb-lang a:hover { color: var(--ds-on-dark); }
.sh-bar .sh-cb-lang [aria-current] { color: var(--ds-on-dark); font-weight: 700; }
.sh-hdr .shn-langrow { display: none; }
.sh-hdr .shn-langrow a { color: var(--ds-ink-soft); }
.sh-hdr .shn-langrow a:hover { color: var(--ds-ink); text-decoration: underline; }
.sh-hdr .shn-langrow [aria-current] { color: var(--ds-ink); font-weight: 700; }
@media (max-width: 1080px) {
  .sh-bar .sh-cb-right > .sh-cb-lang { display: none; }
  .sh-hdr .shn-langrow {
    display: flex; align-items: center; gap: 4px; padding: 4px 0; border-bottom: 1px solid var(--ds-border-soft);
    font-family: var(--ds-font-ui); font-size: 13px; font-weight: 500; letter-spacing: 1px;
  }
  .sh-hdr .shn-langrow > * { padding: 12px 10px; }
}
body.sh-page .shn-dehint {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px;
  padding: 8px 48px 8px 16px; background: var(--ds-bg-alt); border-bottom: 1px solid var(--ds-border-soft);
  font-family: var(--ds-font-text); font-size: 13px; line-height: 1.4; color: var(--ds-ink); text-align: center;
}
body.sh-page .shn-dehint a { color: var(--ds-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
body.sh-page .shn-dehint button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  border: 0; background: transparent; color: var(--ds-ink-soft); font-size: 20px; line-height: 1; cursor: pointer;
}
body.sh-page .shn-dehint button:hover { color: var(--ds-ink); }
