

:root {
  /* Authoritative semantic aliases. New and lazy-loaded components must
     consume these rather than introducing local colour palettes. */
  --bg-page: #030405;
  --bg-soft: #060709;
  --bg-raised: #0a0c0f;
  --bg-raised-strong: #0e1014;
  --text-primary: #f4f5f7;
  --text-body: #b4bac3;
  --text-secondary: #8c939e;
  --text-muted: #666d77;
  --brand-navy: #0a1330;
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.17);

  /* =========================================================
     BASE — black / near-black surface ramp
     ========================================================= */
  --c-black: #030405;
  --c-black-soft: #06080b;
  --c-carbon: #0a0d12;
  --c-raised: #0d1015;

  /* =========================================================
     FOREGROUND
     ========================================================= */
  --c-text: #d8dde5;
  --c-text-strong: #f5f7fa;
  --c-text-soft: #c5cbd5;
  --c-text-muted: #a6afbd;
  --c-text-dim: #707989;
  --c-text-dimmer: #4a5263;
  --c-warn: #fcd34d;

  /* =========================================================
     BRAND — emerald accent. Green is a SIGNAL, not a surface.
     Navy is parked (kept in the palette for a deliberate future
     reintroduction, NOT routed to any surface or large background
     during the black pass).
     ========================================================= */
  --c-green: #20ad68;
  --c-green-dark: #167a4b;
  --c-green-light: #29bf76;
  --c-green-pale: #4ade80;

  /* Restrained emerald accent tokens — prefer these */
  --accent-green: #20ad68;
  --accent-green-hover: #29bf76;
  --accent-green-muted: #167a4b;
  --accent-green-soft: rgba(32, 173, 104, 0.08);
  --accent-green-border: rgba(32, 173, 104, 0.35);

  /* ── SEMANTIC STATUS COLORS ──
     Green = success / verified / operational / safe
     Red   = danger / attack / failure / critical / hostile
     White = neutral emphasis (default for important text)
     Only use green/red when the content genuinely expresses that state.
     */
  --status-success: #20ad68;
  --status-success-bright: #29c97a;
  --status-success-soft: rgba(32, 173, 104, 0.08);
  --status-success-border: rgba(32, 173, 104, 0.30);

  --status-danger: #c92a35;
  --status-danger-bright: #e53a45;
  --status-danger-dark: #86191f;
  --status-danger-soft: rgba(201, 42, 53, 0.08);
  --status-danger-border: rgba(201, 42, 53, 0.32);

  --c-navy: #0a1330;       /* parked palette token — do not use for surfaces */
  --c-navy-soft: #111d3d;  /* parked palette token — do not use for surfaces */
  --c-navy-deep: var(--c-black-soft);
  --c-navy-mid: var(--c-carbon);

  /* Structural line token — neutral white-alpha, not blue */
  --c-navy-line: rgba(255, 255, 255, 0.10);

  /* =========================================================
     BORDERS — neutral, no blue tint
     ========================================================= */
  --c-border: rgba(255, 255, 255, 0.10);
  --c-border-strong: rgba(255, 255, 255, 0.16);
  --c-border-soft: rgba(255, 255, 255, 0.06);
  --c-border-active: rgba(32, 173, 104, 0.45);

  /* =========================================================
     SEMANTIC SURFACE TOKENS — single source of truth
     ========================================================= */
  --surface-0: var(--c-black);
  --surface-1: var(--c-black-soft);
  --surface-2: var(--c-carbon);
  --surface-3: var(--c-carbon);
  --surface-panel: rgba(6, 8, 11, 0.72);
  --surface-panel-solid: var(--c-carbon);
  --surface-card: rgba(255, 255, 255, 0.02);
  --surface-hover: var(--c-carbon);

  /* =========================================================
     SEMANTIC ALIASES — components should prefer these
     ========================================================= */
  --page-bg: var(--c-black);
  --section-bg: var(--c-black);
  --section-bg-alt: var(--c-black-soft);
  --surface-default: var(--c-black-soft);
  --surface-raised: var(--c-carbon);

  --text-primary: var(--c-text-strong);
  --text-body: var(--c-text);
  --text-secondary: var(--c-text-soft);
  --text-muted: var(--c-text-muted);

  --accent: var(--c-green);
  --border-default: var(--c-border);

  /* =========================================================
     LAYOUT — centralized geometry tokens (single source of truth)
     ========================================================= */
  --page-gutter: clamp(20px, 4vw, 64px);

  --container-wide: 1240px;
  --container-main: 1100px;
  --container-content: 860px;
  --container-text: 680px;

  --section-space-sm: clamp(2.5rem, 5vw, 4rem);
  --section-space-md: clamp(3.5rem, 6vw, 5rem);
  --section-space-lg: clamp(5rem, 8vw, 7rem);

  /* Backward-compatible aliases */
  --site-gutter: var(--page-gutter);
  --site-max-width: var(--container-main);
}

@media (color-gamut: p3) {
  @supports (color: color(display-p3 0 0 0)) {
    :root {
      --c-green: color(display-p3 0.125 0.678 0.408);
      --c-green-dark: color(display-p3 0.086 0.478 0.294);
      --c-green-light: color(display-p3 0.161 0.749 0.463);
      --c-green-pale: color(display-p3 0.29 0.87 0.56);
    }
  }
}

/* =========================================================
   SECTION THEME MODEL
   During the black-baseline pass every section resolves to one
   of: black | black-soft | image. Navy is reserved for a later,
   deliberate phase — do not route sections to it yet.
   ========================================================= */
[data-theme="black"] {
  background: var(--c-black);
  color: var(--text-primary);
}
[data-theme="black-soft"] {
  background: var(--c-black-soft);
  color: var(--text-primary);
}
[data-theme="image"] {
  color: var(--text-primary);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

[data-lang="en"] {
  display: none !important;
}
[data-lang="de"] {
  display: inline;
}

div[data-lang="de"], section[data-lang="de"], p[data-lang="de"], 
article[data-lang="de"], header[data-lang="de"], footer[data-lang="de"] {
  display: block;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  width: 100%;
}

body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--c-black, #030405);
  background-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'><path%20fill='none'%20stroke='%23192848'%20stroke-width='1'%20stroke-opacity='.08'%20d='M0%200V512M64%200V512M128%200V512M192%200V512M256%200V512M320%200V512M384%200V512M448%200V512M0%200H512M0%2064H512M0%20128H512M0%20192H512M0%20256H512M0%20320H512M0%20384H512M0%20448H512'/></svg>");
  background-size: 512px 512px;
  background-repeat: repeat;
  color: var(--c-text, #edf1f6);
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100vh;
  width: 100%;
}

html {
  overflow-x: clip;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@media (max-width: 860px) {
  body {
    background-size: 320px 320px;
  }
}

main { padding-top: 72px; width: 100%; }

/* The home cinema hero pulls itself under the fixed nav and compensates
   its own height, so the home main must not add the nav offset again. */
body.home main { padding-top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; line-height: 1.65; }

a { color: var(--c-text-soft); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--c-green); }
:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

a:focus { outline: none; }

/* =========================================================
   CONTAINER API — reusable width primitives
   .container            → main (1100px on inner pages, 1240px on home)
   .container--wide      → 1240px (cinematic / home)
   .container--main       → 1100px (standard content)
   .container--content   → 860px (narrow content blocks)
   .container--text      → 680px (headings / prose)
   ========================================================= */
.container,
.container--wide,
.container--main,
.container--content,
.container--text,
.container-narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}
.container { max-width: var(--site-max-width); }
.container--wide { max-width: var(--container-wide); }
.container--main { max-width: var(--container-main); }
.container--content { max-width: var(--container-content); }
.container--text { max-width: var(--container-text); }
.container-narrow { max-width: var(--container-content); }
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; z-index: 10; width: 100%; }

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--c-navy-line);
  border-top: none;
  box-shadow: none;
  min-height: 72px; 
}

.nav-bar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(32, 173, 104, 0.0);
  pointer-events: none;
  transition: background 0.3s ease;
}

.nav-bar.scrolled::after {
  background: rgba(32, 173, 104, 0.45);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 150px;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img { opacity: 0.8; }
.nav-logo:focus { outline: 2px solid var(--c-green); outline-offset: 4px; border-radius: 0; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: var(--c-green-light);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0;
}

.nav-menu::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  color: rgba(229, 231, 235, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  transition:
    color 0.25s ease,
    background 0.25s ease;
  line-height: 1.5;
  min-height: 2.1rem;
}

.nav-link:not(.nav-link-cta)::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--c-green-light);
  background: rgba(32, 173, 104, 0.08);
}

.nav-link:not(.nav-link-cta):hover::after,
.nav-link:not(.nav-link-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-link-cta {
  background: rgba(32, 173, 104, 0.10);
  border: 1px solid rgba(32, 173, 104, 0.35);
  border-radius: 0;
  padding: 0.6rem 1.2rem;
  color: var(--c-green-light) !important;
  font-weight: 600;
}

.nav-link-cta:hover {
  background: rgba(32, 173, 104, 0.18);
  border-color: var(--c-green);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-primary.cta-button,
.btn-secondary {
  text-align: center;
  box-sizing: border-box;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 1190px) {
  .cta-container .btn-primary.cta-button,
  .cta-container .btn-secondary {
    width: 48%; 
  }
}

@media (max-width: 1189px) {
  body.mobile-navigation-open { overflow: hidden; }
  .cta-container {
    flex-direction: column;
  }
  .cta-container .btn-primary.cta-button,
  .cta-container .btn-secondary {
    width: 100%; 
  }
}

/* Dedicated mobile navigation: a single, calm reading column rather than a
   compressed version of the desktop mega-menu. */
.mobile-menu-content { display: none; }

@media (max-width: 1189px) {
  .nav-container { min-height: 72px; padding: 0.85rem var(--page-gutter); }
  .nav-logo img { height: 30px; max-width: 132px; }
  .a11y-toggle--mobile { display: inline-flex !important; margin-left: auto; margin-right: .35rem; }
  .nav-toggle { margin-left: 0; color: var(--c-text-strong); }
  .nav-bar.menu-open { background: #030405 !important; }

  .mobile-nav-overlay {
    background: var(--bg-page);
    background-image: none;
    transition: opacity 220ms ease, transform 280ms cubic-bezier(.2,0,0,1);
  }
  .mobile-nav-overlay .nav-menu > :not(.mobile-menu-content) { display: none !important; }
  .mobile-nav-overlay .nav-menu { max-width: 680px; padding: 0 var(--page-gutter) 2.5rem; gap: 0; }
  .mobile-menu-content { display: block; width: 100%; }
  .mobile-menu-link,
  .mobile-menu-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: .15rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-soft);
    font-size: clamp(1.25rem, 5vw, 1.65rem);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
  }
  .mobile-menu-link:first-child { border-top: 1px solid var(--border-soft); }
  .mobile-menu-link:hover, .mobile-menu-link:focus-visible,
  .mobile-menu-group > summary:hover, .mobile-menu-group > summary:focus-visible { color: #fff; }
  .mobile-menu-group > summary { cursor: pointer; list-style: none; }
  .mobile-menu-group > summary::-webkit-details-marker { display: none; }
  .mobile-menu-group > summary span { color: var(--text-secondary); font-size: 1.5rem; font-weight: 400; transition: transform 180ms ease; }
  .mobile-menu-group[open] > summary span { transform: rotate(45deg); color: var(--status-success); }
  .mobile-menu-group > div { display: grid; gap: .1rem; padding: .7rem 0 1rem 1.1rem; border-bottom: 1px solid var(--border-soft); }
  .mobile-menu-group > div a { min-height: 44px; display: flex; align-items: center; color: var(--text-secondary); font-size: 1rem; line-height: 1.3; text-decoration: none; }
  .mobile-menu-group > div a:hover, .mobile-menu-group > div a:focus-visible { color: var(--text-primary); }
  .mobile-menu-footer { padding-top: 1.6rem; display: grid; gap: .6rem; }
  .mobile-menu-footer > a:first-child {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 50px; padding: 0 1rem;
    background: var(--c-green); color: var(--c-ink-on-green);
    font-family: var(--font-mono); font-size: 1rem; font-weight: 700;
    text-decoration: none; letter-spacing: .01em;
  }
  .mobile-menu-callback {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 1rem;
    background: #1b1b1b; color: var(--text-primary);
    font-family: var(--font-mono); font-size: 1rem; font-weight: 700;
    text-decoration: none; letter-spacing: .01em;
  }
  .mobile-menu-callback:hover, .mobile-menu-footer > a:first-child:hover { filter: invert(.12); }
  .mobile-menu-language, .mobile-menu-a11y { margin-top: .4rem; }
  .mobile-menu-language { display: flex; align-items: center; justify-content: space-between; color: var(--text-secondary); font-size: .9rem; }
  .mobile-menu-language-links { display: flex; gap: .25rem; }
  .mobile-menu-language-links .lang-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--text-secondary); text-decoration: none; }
  .mobile-menu-language-links .lang-btn.active { color: var(--text-primary); }
  .mobile-menu-a11y { width: 100%; min-height: 50px; padding: 0 1rem; background: #1b1b1b; border: 0; color: var(--text-primary); text-align: left; font-family: var(--font-mono); font-size: 1rem; font-weight: 700; cursor: pointer; }
  .mobile-menu-a11y:hover, .mobile-menu-a11y:focus-visible { color: var(--text-primary); }
  .mobile-nav-overlay.open .mobile-menu-link,
  .mobile-nav-overlay.open .mobile-menu-group,
  .mobile-nav-overlay.open .mobile-menu-footer { animation: mobile-menu-item-in 240ms cubic-bezier(.2,0,0,1) both; }
  .mobile-nav-overlay.open .mobile-menu-group:nth-of-type(2) { animation-delay: 35ms; }
  .mobile-nav-overlay.open .mobile-menu-footer { animation-delay: 70ms; }
}

@keyframes mobile-menu-item-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-overlay.open .mobile-menu-link,
  .mobile-nav-overlay.open .mobile-menu-group,
  .mobile-nav-overlay.open .mobile-menu-footer { animation: none; }
}

.nav-dropdown { 
  position: relative;
}

.nav-dropdown-toggle {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
  font: inherit;
  color: inherit;
}

.nav-dropdown-toggle svg {
	transition: transform 170ms cubic-bezier(.22, 1, .36, 1);
  margin-left: 4px;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
	transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(3, 4, 5, 0.98);
  border: 1px solid var(--c-border, rgba(105, 129, 177, 0.18));
  border-radius: 0;
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  pointer-events: none;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  z-index: 1000;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--c-text-soft);
  font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: rgba(32, 173, 104, 0.10);
  color: var(--c-green-light);
  border-left-color: var(--c-green);
}

.nav-dropdown-sep {
  height: 1px;
  margin: 0.4rem 0;
  background: var(--c-navy-line);
}

.nav-dropdown-label {
  display: block;
  padding: 0.45rem 1rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  pointer-events: none;
}

.nav-dropdown-item--accent {
  color: var(--c-text-soft);
  font-weight: 600;
}

.nav-lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--c-navy-line);
}

.lang-btn {
  padding: 0.45rem 0.6rem;
  border: 0;
  background: transparent;
  color: var(--c-text-muted);
  cursor: pointer;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.lang-btn.active { color: var(--c-green-light); }

.lang-btn:hover { color: var(--c-text-strong); }

.card {
  background: var(--surface-raised, #0a0d12);
  border: 1px solid var(--c-navy-line);
  border-radius: 0;
  padding: 2rem;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.card-title { font-size: 1.5rem; color: var(--c-text-strong); margin-bottom: 0.75rem; }
.card-description { color: var(--c-text-soft); line-height: 1.6; } 

.badge {
  display: inline-block;
  background: rgba(32, 173, 104, 0.10);
  border: 1px solid rgba(32, 173, 104, 0.5);
  color: var(--c-text-soft);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; color: var(--c-text-soft); font-weight: 500; margin-bottom: 0.5rem; font-size: 0.95rem; } 

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(6, 8, 11, 0.6);
  border: 1px solid var(--c-navy-line);
  border-radius: 0;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(32, 173, 104, 0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }
.form-error, .form-success { font-size: 0.875rem; margin-top: 0.25rem; }
.form-error { color: #ff4444; }
.form-success { color: var(--c-green-light); }

.footer {
  position: relative;
  z-index: 10;
  background: var(--c-black-soft, var(--c-black-soft));
  border-top: 1px solid var(--c-navy-line, #19284a);
  color: var(--c-text-dim, #707989);
  font-size: 0.9rem;
}

.footer-main {
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.footer-about {
  grid-column: span 1;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.footer-tagline {
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-contact-info {
  margin-top: 1rem;
}

.footer-contact-info p {
  margin-bottom: 0.75rem;
  color: var(--c-text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact-info a {
  color: var(--c-text-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: var(--c-green);
  text-decoration: underline;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-navy-line);
  padding-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
  font-size: 0.9rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  color: var(--c-green);
}

.footer-links a:hover {
  color: var(--c-green-light);
  padding-left: 20px;
  transform: translateX(2px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--c-text-dim);
  font-size: 0.875rem;
  margin: 0;
}

.footer-certifications {
  color: var(--c-text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 3rem 0 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .footer-about {
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-heading {
    text-align: center;
    font-size: 0.95rem;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-certifications {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 0 1rem;
  }

  .footer-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-certifications {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1, .mt-2, .mt-3, .mt-4 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1, .mb-2, .mb-3, .mb-4 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1, .gap-2, .gap-3, .gap-4 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.text-primary { color: var(--c-text-strong); }
.text-secondary { color: var(--c-text-soft); } 
.text-muted { color: var(--c-text-muted); }

[data-lang="en"], div[data-lang="en"], section[data-lang="en"] { display: none; }
[data-lang="de"] { display: inline; }
div[data-lang="de"], section[data-lang="de"] { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:root {
  --site-max-width: var(--container-wide);
}

body:not(.home) { --site-max-width: var(--container-main); }

@media (max-width: 640px) {
  :root { --page-gutter: 1.15rem; --site-gutter: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  
  .nav-bar, .footer,
  .lang-toggle, .nav-toggle, .skip-link,
  .orb, .nebula-glow, .stars-layer, .stars-twinkle-canvas,
  .hero-grid, .space-bg, .hero-layers { display: none !important; }

  body { background: #fff !important; color: #000 !important; font-size: 12pt; line-height: 1.5; }
  main { padding-top: 0 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }

  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; color: #000 !important; }
  section, .card, .info-card, .service-card { page-break-inside: avoid; }
  p { orphans: 2; widows: 2; }
  img { max-width: 100% !important; }
}

@media (max-width: 1189px) {
  html { 
    font-size: 14px;
  }

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2300;
  }

  .nav-menu-placeholder {
    display: none;
  }

  .nav-logo {
    flex: 0 0 auto;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.5rem;
    background: rgba(3, 4, 5, 0.985);
    color: var(--c-text-strong, #f5f7fa);
    transform: translateY(-6%);
    opacity: 0;
    pointer-events: none;
    transition: transform 360ms cubic-bezier(.22,.9,.3,1), opacity 280ms ease;
    z-index: 2000;
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 1.25rem;
    font-size: 1.05rem;
    text-align: left;
    color: inherit;
  }

  .nav-menu .nav-link-cta {
    margin: 0;
    background: none !important;
    color: var(--c-text-strong) !important;
    border: none !important;
    border-radius: 0;
    padding: 0 1.25rem;
    width: 100%;
    max-width: none;
    text-align: left;
    font-weight: 600;
  }

  .nav-dropdown {
    display: block !important;
    width: 100%;
  }

  .nav-menu.mobile-open .nav-dropdown,
  .nav-menu.mobile-open .nav-dropdown-toggle,
  .nav-menu.mobile-open .nav-dropdown-menu {
    pointer-events: auto;
  }

  .nav-dropdown-toggle {
    min-height: 60px;
    padding: 0 1.25rem;
    font-size: 1.05rem;
    text-align: left;
    color: var(--c-text-strong);
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    display: flex;
  }

  .nav-dropdown-toggle svg {
    display: inline-block !important;
    margin-left: auto;
    opacity: 0.6;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
    opacity: 1;
  }

  .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 720px;
  }

  .nav-dropdown-menu .nav-dropdown-item {
    display: flex;
    align-items: center;
    min-height: 52px;
    text-align: left;
    color: var(--c-text-muted);
    font-size: 1rem;
    padding: 0 1.25rem;
    margin: 0;
    border-left: none;
    border-radius: 0;
    white-space: normal;
  }

  .nav-dropdown-menu .nav-dropdown-item:hover,
  .nav-dropdown-menu .nav-dropdown-item:active {
    background: rgba(32, 173, 104, 0.10);
    color: var(--c-green-light);
    border-left: none;
  }

  .nav-dropdown-sep {
    display: none;
  }

  .nav-dropdown-label {
    display: block;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-text-dimmer);
    padding: 0.9rem 1.25rem 0.35rem;
  }

  .nav-dropdown-menu .nav-dropdown-item--accent {
    color: var(--c-text-soft);
    font-weight: 700;
  }

  .nav-lang-toggle {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem auto 0;
    padding: 0;
    border: none;
    justify-content: center;
    width: 100%;
  }

  .lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-bar.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-bar.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-bar.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav-overlay:focus {
    outline: none;
  }

  .mobile-nav-overlay {
    position: fixed;
    /* The overlay starts directly under the nav: 38px utility strip + 72px nav. */
    top: 110px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1850;
    background-color: rgb(3, 4, 5);
    background-image: radial-gradient(circle, rgba(32, 173, 104, 0.06) 1px, transparent 1.6px);
    background-size: 38px 38px;
    color: var(--c-text-strong);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 260ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    transform: translateY(0);
  }

  html.topbar-hidden .mobile-nav-overlay,
  html.mobile-navigation-open .mobile-nav-overlay,
  body.home .mobile-nav-overlay { top: 72px; }

  .nav-bar.menu-open {
    z-index: 1900;
    background: rgb(3, 4, 5);
    box-shadow: none;
  }
  .nav-bar.menu-open::after { opacity: 0; }

  .mobile-nav-overlay .nav-menu {
    position: relative;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    color: inherit;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    /* First item meets the navigation edge; only horizontal and bottom
       breathing room remains inside the mobile menu. */
    padding: 0 1.1rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    gap: 0.6rem;
  }

  .mobile-nav-overlay .nav-menu > * {
    flex: 0 0 auto;
  }

  .mobile-nav-overlay .nav-menu > .nav-link,
  .mobile-nav-overlay .nav-menu > .nav-dropdown {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--c-navy-line);
    border-radius: 0;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-nav-overlay .nav-link,
  .mobile-nav-overlay .nav-dropdown-toggle {
    color: var(--c-text-strong);
    text-align: left;
    width: 100%;
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0;
    background: transparent;
  }

  .mobile-nav-overlay .nav-menu > .nav-link:hover,
  .mobile-nav-overlay .nav-menu > .nav-link:active,
  .mobile-nav-overlay .nav-menu > .nav-dropdown:hover {
    background: rgba(32, 173, 104, 0.06);
    box-shadow: inset 3px 0 0 var(--c-green);
  }

  .mobile-nav-overlay .nav-menu > .nav-dropdown.open {
    background: rgba(32, 173, 104, 0.05);
    box-shadow: inset 3px 0 0 var(--c-green);
  }

  .mobile-nav-overlay .nav-dropdown.open .nav-dropdown-toggle {
    color: var(--c-text-soft);
    border-bottom: 1px solid var(--c-navy-line);
  }

  .mobile-nav-overlay .nav-link--accent { color: var(--c-text-soft); }
  .mobile-nav-overlay .nav-link:not(.nav-link-cta)::after { display: none; }

  .mobile-nav-overlay .nav-dropdown-menu .nav-dropdown-item {
    color: var(--c-text-muted);
  }

  .mobile-nav-overlay .nav-dropdown-menu .nav-dropdown-item--accent {
    color: var(--c-text-soft);
    font-weight: 700;
  }

  .mobile-nav-overlay .nav-menu > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-nav-overlay.open .nav-menu > * {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-nav-overlay.open .nav-menu > :nth-child(1) { transition-delay: 40ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(2) { transition-delay: 90ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(3) { transition-delay: 140ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(4) { transition-delay: 190ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(5) { transition-delay: 240ms; }
  .mobile-nav-overlay.open .nav-menu > :nth-child(6) { transition-delay: 290ms; }

  .mobile-nav-overlay .nav-link-cta {
    background: none !important;
    color: var(--c-text-strong) !important;
    border: none !important;
  }

  .mobile-nav-overlay .nav-dropdown-toggle svg {
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-nav-overlay .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .mobile-nav-overlay .nav-dropdown-menu {
    display: block !important;
  }

  .mobile-nav-overlay .nav-lang-toggle {
    justify-content: stretch;
    width: 100%;
    margin: 1.6rem auto 0;
    padding: 0;
    border: none;
    gap: 0;
  }

  .mobile-nav-overlay .lang-btn {
    flex: 1 1 50%;
    color: var(--c-text-muted);
    border: 1px solid var(--c-navy-line);
    background: transparent;
    border-radius: 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .mobile-nav-overlay .lang-btn + .lang-btn {
    border-left: 0;
  }
  .mobile-nav-overlay .lang-btn.active {
    color: #ffffff;
    background: var(--c-green);
    border-color: var(--c-green);
    font-weight: 700;
  }

  .mobile-nav-overlay.closing { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .mobile-nav-overlay.open { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav-overlay,
    .mobile-nav-overlay .nav-menu > * { transition: none; }
  }
}

.nav-bar.dark, .nav-bar.service-dark {
  background: rgba(3, 4, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border, rgba(105, 129, 177, 0.18));
}
.nav-bar.service-dark .nav-link { color: var(--c-text-muted); }
.nav-bar.service-dark .nav-link:hover { color: var(--c-green-light); }
.nav-bar.service-dark .nav-link-cta { background: rgba(32, 173, 104,0.06); border: 1px solid rgba(32, 173, 104,0.12); }

@media (max-width: 768px) {
  .benefit-card {
    grid-column: span 1 !important; 
    width: 100%; 
  }
}

.footer-funding {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.9rem 0 1.7rem;
}
.footer-funding-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.footer-funding-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
}
.footer-funding-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: footer-funding-scroll 34s linear infinite;
  animation-play-state: paused;
}
.footer-funding-marquee.is-visible .footer-funding-track {
  animation-play-state: running;
}
.footer-funding-marquee:hover .footer-funding-track {
  animation-play-state: paused;
}
.footer-funding-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 3.6rem;
}
.footer-funding-link:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 4px;
  border-radius: 0;
}
.footer-funding-logo {
  height: 30px;
  width: auto;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.48;
  transition: opacity 0.25s ease;
}
.footer-funding-link:hover .footer-funding-logo,
.footer-funding-link:focus-visible .footer-funding-logo { opacity: 0.95; }
@keyframes footer-funding-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-funding-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1.4rem;
  }
}
@media (max-width: 600px) {
  .footer-funding-logo { height: 24px; }
  .footer-funding-link { margin-right: 2.4rem; }
}

.gcta {
  position: relative;
  z-index: 12;
  overflow: visible;
  border-top: none;
  background: var(--c-black-soft, #06080b);
}
.gcta-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 3.2rem var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.gcta-text { flex: 1; min-width: 280px; }
.gcta-eyebrow {
  margin: 0 0 .45rem;
  color: var(--c-green-light, #6ee7a3);
  font: 700 .7rem var(--font-mono, monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gcta-text h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
  color: var(--c-text-strong);
}
.gcta-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text-dim);
  max-width: 60ch;
}
.gcta-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .gcta-inner { padding: 2.4rem var(--site-gutter); }
  .gcta-actions { width: 100%; }
  .gcta-btn { flex: 1; justify-content: center; }
}

.nav-link.nav-link--accent {
  color: var(--c-text-soft);
  font-weight: 700;
}
.nav-link.nav-link--accent::after {
  background: linear-gradient(90deg, var(--c-green), var(--c-green-light));
}
.nav-link.nav-link--accent:hover { color: var(--c-green-light); }

/* Footer layout for the 2026-10 structure: about + six link columns. */
@media (min-width: 1180px) {
  .footer-main .footer-container { grid-template-columns: 1.7fr repeat(6, minmax(0, 1fr)); gap: 2rem; }
}
@media (min-width: 769px) and (max-width: 1179px) {
  .footer-main .footer-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 2rem; }
  .footer-main .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-main .footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
  .footer-main .footer-about { grid-column: 1 / -1; }
  .footer-main .footer-heading, .footer-main .footer-links { text-align: left; }
}
.footer-main .footer-heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--c-text-muted); }
.footer-main .footer-links li { margin-bottom: 0.55rem; }
.footer-main .footer-links a { font-size: 0.88rem; }

/* Phone reveal: the number is only assembled on click (see mail.js). */
.phone-reveal, .phone-revealed { display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; color: inherit; }
.phone-reveal { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.phone-reveal:hover { color: var(--text-primary, #f4f5f7); }
.phone-reveal:focus-visible, .phone-revealed:focus-visible { outline: 2px solid var(--status-success-bright, #29c97a); outline-offset: 3px; }
.phone-revealed { text-decoration: none; font-variant-numeric: tabular-nums; }
.phone-reveal.ov-btn { text-decoration: none; padding: 0 1.35rem; min-height: 48px; border: 1px solid rgba(255,255,255,.2); }
.phone-reveal--big { font-size: 1.15rem; font-weight: 600; }
.modal-number .phone-reveal, .modal-number .phone-revealed { font-size: 1.3rem; font-weight: 600; }
button.topbar-phone, button.gcta-btn, button.nav-menu-phone { font: inherit; cursor: pointer; }
button.topbar-phone { background: none; border: 0; color: inherit; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; }

/* Subtle fade between pages (cross-document view transitions, Chromium; others load normally). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-fade-out 160ms ease-out both; }
::view-transition-new(root) { animation: vt-fade-in 220ms ease-in both; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Footer (2026-10): calm hover, no shifting, cleaner grid. */
.footer-links a, .footer-links a:hover { padding-left: 0 !important; transform: none !important; transition: color .15s ease; }
.footer-links a::before { display: none !important; }
.footer-links a:hover { color: #fff; }
@media (min-width: 1180px) { .footer-main .footer-container { grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 2.4rem; } }
.footer-main .footer-links li { margin-bottom: .6rem; line-height: 1.35; }
.footer-main .footer-links a { font-size: .875rem; }
.footer-heading { white-space: nowrap; }
.footer-regions { margin: .8rem 0 0; color: var(--c-text-muted, #9aa1a9); font-size: .84rem; line-height: 1.7; }
.footer-regions span { color: var(--c-text-dim, #7b828a); }
.footer-regions a { color: var(--c-text-muted, #9aa1a9); text-decoration: none; transition: color .15s ease; }
.footer-regions a:hover { color: #fff; }
.footer-about .footer-contact-info p { line-height: 1.7; }

/* Mobile menu (2026-10): calm groups, clear footer with language. */
@media (max-width: 1024px) {
  .mobile-menu-link, .mobile-menu-group > summary { font-size: 1.3rem !important; padding: 1rem 0 !important; }
  .mobile-menu-group > div { display: grid; gap: .1rem; padding: 0 0 1rem; }
  .mobile-menu-group > div a { padding: .6rem 0 !important; font-size: 1rem !important; color: var(--c-text-soft, #c9ced4) !important; }
  .mobile-menu-footer { display: grid; gap: .9rem; margin-top: 1.6rem; }
  .mobile-menu-cta { display: flex !important; justify-content: center; align-items: center; min-height: 52px; background: #f4f5f7 !important; color: #050607 !important; font-family: inherit !important; font-size: 1rem !important; font-weight: 700; letter-spacing: 0 !important; text-decoration: none; border: 0 !important; }
  .mobile-menu-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .6rem; border-top: 1px solid var(--border-soft); }
  .mobile-menu-lang { display: inline-flex; border: 1px solid rgba(255,255,255,.18); }
  .mobile-menu-lang a { padding: .55rem .9rem; color: var(--c-text-muted, #9aa1a9); font-weight: 600; text-decoration: none; }
  .mobile-menu-lang a[aria-current="true"] { background: rgba(255,255,255,.1); color: #fff; }
  .mobile-menu-a11y { background: none !important; border: 0 !important; color: var(--c-text-muted, #9aa1a9) !important; font: inherit !important; font-size: .92rem !important; padding: .5rem 0 !important; min-height: 0 !important; }
  .mobile-menu-callback, .mobile-menu-language { display: none !important; }
}
