/* AI Værk — base.css: Reset, Typografie, Buttons, Nav, Footer. 2/5 */

/* ── Base ──────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-brand);
  font-weight: 560;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}
p { text-wrap: pretty; }
img, svg { max-width: 100%; }

a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  z-index: 100; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: 10px;
  padding: 14px 22px;
  min-height: 44px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.btn-dark:hover { background: #322e28; }
/* Aurora-Flare im Button: ein flacher Lichtsaum am unteren Rand.
   Hinterer Layer = breiter, stark geblurrter Schein (der "Himmel"),
   vorderer Layer = wenige weiche Kerne, die darin auf- und abglimmen.
   Beides bleibt in der unteren Buttonhälfte. Läuft permanent
   unsichtbar, Hover blendet nur ein — Ein-/Ausstieg immer sauber. */
.btn-dark::before,
.btn-dark::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -14%;
  height: 92%;
  z-index: -1;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  animation-play-state: paused;
  pointer-events: none;
}
.btn-dark::before {
  background-image:
    radial-gradient(50% 100% at 50% 100%, rgba(120, 158, 255, 0.9), transparent 62%),
    radial-gradient(50% 100% at 50% 100%, rgba(168, 124, 255, 0.8), transparent 60%),
    radial-gradient(50% 100% at 50% 100%, rgba(232, 128, 226, 0.65), transparent 58%),
    radial-gradient(50% 100% at 50% 100%, rgba(104, 176, 232, 0.7), transparent 60%);
  background-size: 110% 132%, 92% 116%, 84% 104%, 88% 110%;
  filter: blur(10px);
  animation: aurora-sky 9s ease-in-out infinite;
}
.btn-dark::after {
  background-image:
    radial-gradient(50% 100% at 50% 100%, rgba(150, 200, 255, 0.85), transparent 60%),
    radial-gradient(50% 100% at 50% 100%, rgba(255, 150, 220, 0.7), transparent 58%),
    radial-gradient(50% 100% at 50% 100%, rgba(178, 140, 255, 0.8), transparent 60%),
    radial-gradient(50% 100% at 50% 100%, rgba(150, 220, 200, 0.6), transparent 58%);
  background-size: 52% 96%, 42% 80%, 46% 88%, 40% 76%;
  filter: blur(6px);
  animation: aurora-cores 6.5s ease-in-out infinite;
}
/* Der Schein wogt als Ganzes ganz langsam und verschiebt den Ton. */
/* Muss nach den animation-Shorthands stehen: die wuerden den
   paused-Zustand sonst zuruecksetzen. */
.btn-dark::before, .btn-dark::after { animation-play-state: paused; }
@keyframes aurora-sky {
  0%, 100% { background-position: -4% 100%, 62% 108%, 104% 102%, 34% 106%; filter: blur(10px) hue-rotate(0deg) brightness(1); }
  33% { background-position: 2% 104%, 52% 100%, 97% 110%, 40% 100%; filter: blur(11px) hue-rotate(-14deg) brightness(1.1); }
  66% { background-position: -6% 108%, 70% 104%, 108% 100%, 28% 110%; filter: blur(10px) hue-rotate(10deg) brightness(0.94); }
}
/* Die Kerne glimmen einzeln auf: einer steigt, während ein anderer
   absinkt und dabei dunkler wird — das langsame Zucken echter Flares. */
@keyframes aurora-cores {
  0%, 100% { background-position: 4% 102%, 50% 112%, 96% 100%, 70% 108%; filter: blur(6px) brightness(1); }
  26% { background-position: 10% 110%, 46% 100%, 88% 112%, 64% 100%; filter: blur(7px) brightness(1.15); }
  52% { background-position: 0% 100%, 56% 106%, 100% 104%, 75% 114%; filter: blur(6px) brightness(0.88); }
  80% { background-position: 7% 106%, 43% 116%, 92% 108%, 67% 102%; filter: blur(6px) brightness(1.08); }
}
.btn-dark:hover::before, .btn-dark:focus-visible::before { opacity: 1; animation-play-state: running; }
.btn-dark:hover::after, .btn-dark:focus-visible::after { opacity: 0.95; animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .btn-dark::before, .btn-dark::after { animation: none; }
}
.btn-ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--stone); }
.btn-light { background: var(--paper-deep); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-sm { font-size: 14px; padding: 11px 16px; }

/* Sprach-Toggle in der Nav: bewusst leise. */
.lang-toggle {
  font-family: var(--font-brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--stone);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 9px;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lang-toggle:hover, .lang-toggle:focus-visible { color: var(--ink); background: rgba(33, 30, 26, 0.05); }

/* Sprach-Hinweis fuer englischsprachige Browser. */
.lang-hint {
  position: fixed;
  left: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  translate: 0 10px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 110px); /* Platz fuer den Kontakt-Fab rechts */
  background: var(--dark);
  color: var(--paper-deep);
  font-size: 13.5px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 10px 9px 16px;
  box-shadow: 0 18px 40px rgba(33, 30, 26, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), translate 0.45s var(--ease);
}
.lang-hint.is-show { opacity: 1; translate: 0 0; pointer-events: auto; }
.lang-hint span { overflow: hidden; text-overflow: ellipsis; }
.lang-hint a {
  color: #a8e0c2;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0; /* Touch-Target */
  margin: -6px 0;
}
.lang-hint a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lang-hint button {
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(244, 241, 234, 0.12);
  border: 0;
  color: var(--paper-deep);
  border-radius: 999px;
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background 0.25s var(--ease);
}
.lang-hint button:hover { background: rgba(244, 241, 234, 0.24); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(250, 248, 244, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-brand);
  font-weight: 620;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg { transform: translateY(-0.5px); }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.site-nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(33, 30, 26, 0.05); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 560;
  background: rgba(33, 30, 26, 0.065);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle-box {
  display: block; width: 20px; position: relative; height: 12px;
}
.nav-toggle-box i {
  position: absolute; left: 0; right: 0; height: 1.8px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle-box i:first-child { top: 0; }
.nav-toggle-box i:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box i:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-row { height: 60px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Scrim behind the open panel — content never bleeds through. */
  .nav-scrim {
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(25, 23, 19, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 34;
  }
  html.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  html.nav-open { overflow: hidden; }

  .site-nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    border-radius: 0 0 20px 20px;
    display: none;
    box-shadow: 0 40px 80px rgba(25, 23, 19, 0.22);
    z-index: 35;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px calc(var(--gutter) - 6px) 20px;
  }
  .site-nav li { border-bottom: 0; }
  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    font-size: 17px;
    font-weight: 480;
    border-radius: 10px;
  }
  .site-nav a::after {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.25s var(--ease);
  }
  .site-nav a[aria-current="page"] {
    background: var(--paper-deep);
    font-weight: 560;
  }
  .site-nav a[aria-current="page"]::after { background: var(--accent); }
  .nav-cta-mobile { display: block; padding: 14px 6px 0; margin-top: 10px; border-top: 1px solid var(--hairline); }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
  .site-nav a.nav-mail {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 14px;
    color: var(--stone);
    padding: 10px 12px;
  }
  .site-nav a.nav-mail::after { content: none; }
  .site-nav a.btn-dark { color: #fff; font-size: 15px; padding: 14px 22px; }
  .site-nav a.btn-dark::after { content: none; }
}
@media (min-width: 901px) {
  .nav-scrim { display: none; }
}

/* ── Sections ──────────────────────────────────────────── */
.sec { padding: clamp(52px, 9vw, 104px) 0; }
.sec + .sec { border-top: 1px solid var(--hairline); }

/* Tinted full-width band for the signature Wissensflow section. */
.sec-tint {
  background: linear-gradient(to bottom, #f6f2ea, #f3efe6);
}

.sec-head { max-width: 720px; }
.sec-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.sec-head .sub {
  display: block;
  font-weight: 400;
  color: var(--stone);
}
.sec-head .intro {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--stone);
  max-width: 580px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 22px;
}
.kicker::after {
  content: "";
  flex: 1;
  max-width: 160px;
  border-top: 1px dashed var(--hairline-strong);
}

/* ── Footer / Aurora ───────────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 88px);
  background: var(--dark);
  color: var(--paper-deep);
  overflow: hidden;
}
/* Aurora curtain — coherent vertical light lines, with the reference image's
   green-to-magenta-to-indigo transition flowing through the fixed crest. */
.aurora {
  position: absolute;
  left: -4%; right: -4%; bottom: -14px;
  height: clamp(210px, 42vw, 300px);
  display: flex;
  align-items: flex-end;
  filter: blur(24px);
  opacity: 0.9;
  pointer-events: none;
}
.aurora i {
  flex: 1;
  display: block;
  height: var(--h, 60%);
  margin: 0 -6px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg,
      transparent 12%,
      oklch(0.82 0.09 215 / 0.16) 49%,
      transparent 86%),
    linear-gradient(to top,
      oklch(0.29 0.09 248 / 0.9) 0%,
      oklch(0.55 0.12 235 / 0.82) 20%,
      oklch(0.72 0.11 215 / 0.74) 41%,
      oklch(0.72 0.08 165 / 0.42) 51%,
      oklch(0.68 0.14 330 / 0.72) 65%,
      oklch(0.45 0.15 285 / 0.72) 81%,
      oklch(0.3 0.1 260 / 0.48) 93%,
      transparent 100%);
  transform-origin: bottom;
}
/* Ruhiges Nordlicht-Flackern: jede Bahn atmet in eigener Frequenz.
   Bewusst langsam (11-19s) und klein (max. +9% Hoehe), damit es wie
   fernes Polarlicht wirkt, nicht wie ein Effekt. */
/* Die Atmung bewegt wieder die Kronen (wie das alte height-Atmen),
   aber ueber eine animierte Custom Property im transform-Kanal —
   kein Layout. Opacity flackert dazu. */
@property --breathe {
  syntax: '<number>';
  inherits: false;
  initial-value: 1;
}
@keyframes aurora-breathe {
  0%, 100% { --breathe: 1; opacity: 0.75; }
  38% { --breathe: 1.1; opacity: 1; }
  72% { --breathe: 0.95; opacity: 0.82; }
}
.aurora i { animation: aurora-breathe 9s ease-in-out infinite; animation-play-state: paused; }
.aurora.is-live i { animation-play-state: running; }
.aurora i:nth-child(2n) { animation-duration: 11s; animation-delay: -4s; }
.aurora i:nth-child(3n) { animation-duration: 7s; animation-delay: -2s; }
.aurora i:nth-child(4n) { animation-duration: 12s; animation-delay: -7s; }
.aurora i:nth-child(5n) { animation-duration: 10s; animation-delay: -5s; }
@media (prefers-reduced-motion: reduce) {
  .aurora i { animation: none; }
}
/* Scroll-bound rise: --s is the bar's scale (0..1), computed in JS from the
   footer's viewport progress and the bar's stagger offset. Reversible and
   replayable; the short transition only smooths between scroll frames. */
.js .aurora i {
  transform: scaleY(calc(var(--s, 0) * var(--breathe, 1)));
  transition: transform 0.55s var(--ease);
}
.js .aurora.risen i { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .js .aurora i { transform: none; transition: none; }
}
@media (max-width: 700px) {
  .aurora { filter: blur(18px); }
  .aurora i { height: calc(var(--h, 60%) * 1.3); margin: 0 -4px; }
}
.footer-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #191713 0%, rgba(25, 23, 19, 0.9) 34%, rgba(25, 23, 19, 0.34) 60%, rgba(25, 23, 19, 0) 82%),
    linear-gradient(to bottom, rgba(25, 23, 19, 0) 86%, rgba(25, 23, 19, 0.28) 100%);
  pointer-events: none;
}
.footer-inner { position: relative; padding: clamp(56px, 8vw, 80px) var(--gutter) clamp(120px, 20vw, 190px); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 64px);
}
.footer-top h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 540;
  letter-spacing: -0.024em;
  line-height: 1.1;
  max-width: 560px;
}
.footer-sub {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(242, 239, 232, 0.66);
  max-width: 46ch;
}
.footer-top .btn { flex: none; }
.footer-cols {
  margin-top: clamp(44px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, auto);
  gap: clamp(32px, 6vw, 96px);
  font-size: 14.5px;
  color: rgba(242, 239, 232, 0.72);
}
.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 18px;
  color: var(--paper-deep);
}
.fregion { margin-top: 14px; font-size: 13.5px; color: rgba(242, 239, 232, 0.55); max-width: 30ch; }
.fcol { display: grid; gap: 10px; align-content: start; }
.fcol b {
  color: var(--paper-deep);
  font-weight: 560;
  margin-bottom: 3px;
  font-family: var(--font-brand);
}
.fcol a {
  color: inherit;
  text-decoration: none;
  padding: 2px 0;
}
.fcol a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 26px;
  font-size: 13px;
  color: rgba(242, 239, 232, 0.55);
}
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
/* Ki-Regionalfooter hat keine footer-cols — Basiszeile braucht eigenen Abstand zum CTA. */
.footer-top + .footer-base { margin-top: clamp(36px, 7vw, 56px); }
@media (max-width: 900px) {
  .footer-top { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ── Reveal (JS-gated so content is never hidden without JS) ── */

/* ── Mobile rhythm ─────────────────────────────────────────
   One coherent narrow-screen spacing system: section openings keep
   air, repeated gaps inside long stacked modules tighten. */
@media (max-width: 700px) {
  .sec { padding: 44px 0; }
  .sec-head .intro { margin-top: 12px; }
  .kicker { margin-bottom: 14px; }

  /* Hero */
  .hero-stage { padding-top: 44px; padding-bottom: 40px; }
  .hero-sub { margin-top: 22px; }
  .hero-cta { margin-top: 26px; }
  .range-list { margin-top: 32px; }

  /* Ergebnis triad */
  .triad { margin-top: 26px; gap: 22px; }
  .triad-item { padding-top: 16px; }
  .triad-item .t-icon { margin-bottom: 12px; }

  /* Wissensflow stack */
  .flow { margin-top: 30px; gap: 10px; }
  .flow-link { height: 30px; }
  .doc-stack { gap: 10px; }
  .doc-tile { padding: 12px 14px 0; }
  .engine { padding: 20px 18px 18px; }
  .engine-rows { margin-top: 12px; gap: 8px; }
  .qa-col { gap: 12px; }
  .q-bubble { padding: 12px 15px; }
  .a-card { padding: 16px 17px 15px; }
  .flow-notes { margin-top: 26px; gap: 14px; padding-top: 18px; }

  /* Lösungsfelder */
  .felder-grid { margin-top: 26px; gap: 12px; }
  .feld-card { padding: 20px 18px 18px; gap: 8px; }
  .feld-card .feld-more { padding-top: 8px; }
  .felder-cta { margin-top: 20px; }

  /* Arbeitsweise */
  .work-grid { margin-top: 24px; }
  .work-item { padding: 18px 0; }

  /* Fallstudien-Teaser */
  .case-teaser { margin-top: 16px; gap: 22px; }
  .case-teaser p { margin-top: 12px; }
  .case-teaser .btn { margin-top: 18px; }

  /* Einblicke */
  .article-list { margin-top: 26px; }
  .article-row { padding: 20px 0; }
  .note-line { margin-top: 18px; }

  /* Footer */
  .site-footer { margin-top: 44px; }
  .footer-inner { padding: 44px var(--gutter) 118px; }
  .footer-sub { margin-top: 12px; }
  .footer-cols {
    margin-top: 30px;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .fbrand-col { grid-column: 1 / -1; }
  .fregion { margin-top: 10px; }
  .fcol { gap: 8px; }
  .footer-base { padding-bottom: 20px; }
}

/* ── 404 ───────────────────────────────────────────────── */
.notfound { padding: clamp(72px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.024em; }
.notfound p { margin-top: 14px; color: var(--stone); }
.notfound .btn { margin-top: 26px; }

/* ── "Mehr"-Menü in der Navigation: bewusst leise ──────── */
.nav-more { position: relative; }
.nav-more > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 14.5px;
  color: var(--stone);
  background: none;
  border: 0;
  padding: 7px 11px;
  border-radius: 9px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-more > button:hover,
.nav-more.is-open > button { color: var(--ink); background: rgba(33, 30, 26, 0.05); }
.nav-more > button svg { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.nav-more.is-open > button svg { transform: rotate(180deg); }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 208px;
  display: grid;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(33, 30, 26, 0.14);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s var(--ease-exit), transform 0.18s var(--ease-exit);
}
.nav-more.is-open .nav-more-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.nav-more-menu a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 9px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-more-menu a:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) {
  /* Im Mobil-Menü: flach als normale Liste, kein Dropdown. */
  .nav-more > button { display: none; }
  .nav-more-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 0;
    min-width: 0;
  }
}
