/* =========================================================================
   bwl-kompakt.com — Gemeinsames Basis-Stylesheet
   -------------------------------------------------------------------------
   Wird von allen Seiten eingebunden (index, ueber-uns, historie,
   publikationen, datenschutz). Enthält die Design-Tokens (:root) sowie die
   Bauteile, die auf allen Seiten identisch sind: Navigation, Hamburger-Menü,
   mobiles Overlay-Menü und Footer.

   Seiten-individuelles CSS (Hero, Sektionen, Grids etc.) bleibt bewusst im
   jeweiligen <style>-Block der einzelnen Seite, um das Risiko ungewollter
   Layout-Änderungen zu vermeiden. datenschutz.html nutzt aus diesem
   Stylesheet nur die Design-Tokens (:root) — Navigation und Footer sind dort
   bewusst schlanker gehalten und bleiben seiteneigen.
   ========================================================================= */

:root {
  --bg: #f6f4ef;
  --ink: #001848;
  --ink-2: #2a3a52;
  --muted: #525c6d;
  --muted-on-dark: #99a2b0;
  --muted-on-ink: #b8c0cc;
  --muted-soft: #8a94a4;
  --line: #001848;
  --line-soft: #1a2c48;
  --ink-tint: #243352;
  --card: #fffdf7;
  --accent: #c8a96e;
  --accent-text: #83621e;
  --accent-dark: #a0813e;
  --green: #2f7d3e;
  --chip: #efeadc;
  --border: #d3d0cc;
  --success-bg: #f0f7f1;
}

/* ── NAV ── */
nav { border-bottom: 1.5px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; max-width: 1100px; margin: 0 auto; gap: 16px; flex-wrap: wrap; }
.logo-block { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.logo-img { height: 40px; width: auto; display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-main { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); line-height: 1.2; }
.logo-sub { font-family: "JetBrains Mono", monospace; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.logo-sub span { color: var(--accent-text); font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: inline-block; background: var(--ink); color: var(--card) !important; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 22px; border: 1.5px solid var(--line); transition: background 0.2s; white-space: nowrap; text-decoration: none; }
.nav-cta:hover { background: var(--accent-dark) !important; border-color: var(--accent-dark); }

/* ── HAMBURGER ── */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); cursor: pointer; padding: 0 10px; flex-shrink: 0; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILES OVERLAY-MENÜ ── */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: var(--ink); flex-direction: column; padding: 88px 28px 40px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: "Instrument Serif", serif; font-size: 30px; color: var(--card); padding: 16px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; transition: color 0.2s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }
.mobile-menu a.mm-cta { margin-top: 28px; border-bottom: none; font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--accent); text-align: center; padding: 18px; }
.mobile-menu-close { position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line-soft); color: var(--card); font-size: 26px; line-height: 1; cursor: pointer; }

/* ── FOOTER ── */
footer { padding: 32px 28px; max-width: 1100px; margin: 0 auto; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .copy { font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: var(--ink); }

/* ── RESPONSIVE: Nav & Footer ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  footer { padding: 24px 20px; flex-direction: column; gap: 12px; }
}
