/* ============================================================
   MBI Business Innovation Consulting GmbH
   Static one-pager — rebuild of the original Elementor design
   No external fonts, no trackers, no dependencies (DSGVO-safe)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #070c16;
  --navy-900: #0b1220;
  --navy-800: #101a2e;
  --navy-700: #14245a;   /* brand deep  */
  --navy-600: #1b2f6b;
  --navy-500: #2e4585;   /* brand mid   */
  --navy-400: #4b66b0;
  --accent:   #3b5baa;

  --ink:      #16202e;
  --ink-soft: #35404f;
  --muted:    #5b6676;
  --line:     #e3e7ed;
  --soft:     #f5f6f9;
  --white:    #ffffff;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sect-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(11, 18, 32, .06);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, .10);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 300;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--navy-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-700); color: #fff; padding: .8rem 1.2rem;
}
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 36, 90, .28);
}
.btn-primary:hover { background: var(--navy-600); color: #fff; box-shadow: 0 14px 34px rgba(20, 36, 90, .34); }

.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.09); }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-outline-light:hover { color: var(--navy-900); background: #fff; border-color: #fff; }

.btn-sm { padding: .62rem 1.3rem; font-size: .72rem; }
.btn-lg { padding: 1.1rem 2.6rem; font-size: .86rem; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::after {
  content: ""; flex: 0 0 42px; height: 1.5px;
  background: currentColor; opacity: .45;
}
.eyebrow-light { color: rgba(255,255,255,.72); }

.section { padding-block: var(--sect-y); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.76); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: .5rem; }
.section-sub { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-sub { color: rgba(255,255,255,.62); }

/* two-column text split */
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split-left h2 { margin-bottom: 0; }
.big-text {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              backdrop-filter .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(11, 18, 32, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}
.site-header.is-stuck .header-inner { min-height: 70px; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  color: #fff; font-size: 1.18rem; font-weight: 700; letter-spacing: .1em;
}
.brand-text em {
  color: rgba(255,255,255,.74); font-style: normal;
  font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a {
  color: rgba(255,255,255,.82);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  position: relative;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 1.5px; background: var(--navy-400);
  transition: right .28s var(--ease);
}
.nav a:not(.btn):hover::after { right: 0; }

/* `.nav a` (0,1,1) outranks `.btn-outline-light` (0,1,0), so the button text
   needs to be re-asserted here - WITHOUT !important, otherwise it also beats
   the :hover colour and the label turns white-on-white. */
.nav a.btn { color: #fff; }
.nav a.btn.btn-outline-light:hover,
.nav a.btn.btn-outline-light:focus-visible { color: var(--navy-900); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  padding: 10px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  margin: 5px 0; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    padding: 100px var(--pad) 2.5rem;
    background: rgba(7, 12, 22, .98);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    opacity: 0; visibility: hidden;
    transition: transform .38s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .95rem 0; font-size: 1rem; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:not(.btn)::after { display: none; }

  /* The CTA is a button, not a menu row. Without this it inherits `.nav a`
     (16px text AND `padding: .95rem 0`, i.e. no side padding), so the pill
     ends up oversized with the label spilling over its own border. */
  .nav a.btn.nav-cta {
    width: auto;
    margin-top: 1.7rem;
    padding: .78rem 1.7rem;
    font-size: .75rem;
    letter-spacing: .13em;
    border: 1.5px solid rgba(255,255,255,.5);
  }

  /* keep the wordmark above the open menu overlay */
  .brand { position: relative; z-index: 111; }
  .brand-text em { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 900px);
  display: flex; align-items: center;
  padding-block: 140px 100px;
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90rem 46rem at 78% 8%, rgba(59, 91, 170, .40), transparent 62%),
    radial-gradient(60rem 40rem at 8% 92%, rgba(46, 69, 133, .34), transparent 60%),
    linear-gradient(155deg, #0d1730 0%, #0a1226 45%, #070c16 100%);
}
/* subtle technical grid, echoing the original tech photography */
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(75rem 46rem at 62% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75rem 46rem at 62% 42%, #000 20%, transparent 78%);
}
/* diagonal light sweep */
.hero-bg::after {
  content: ""; position: absolute; inset: -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(120, 160, 255, .10) 50%, transparent 58%);
}

.hero-inner { position: relative; max-width: 940px; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero .lead {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.72;
  max-width: 660px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.34);
  border-radius: 14px; display: grid; place-items: start center; padding-top: 8px;
}
.scroll-hint span {
  width: 3px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.7);
  animation: dot 1.9s var(--ease) infinite;
}
@keyframes dot { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(13px); opacity: .15; } }
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ============================================================
   CARDS (Fields)
   ============================================================ */
.cards {
  display: grid;
  /* 4 fields must sit on one row at desktop width */
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.7rem);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 69, 133, .28);
}
/* Icons are white-on-transparent squares, normalised to a common content box.
   They must be CONTAINED (never cropped) and given even breathing room. */
.card-media {
  aspect-ratio: 3 / 2;
  background: linear-gradient(150deg, #17233f 0%, var(--navy-900) 70%);
  display: grid;
  /* place-items:center would leave the grid item's height INDEFINITE, so the
     square icon renders at its width and overflows. Stretch keeps it definite. */
  place-items: stretch;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  min-width: 0; min-height: 0;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.6rem 1.5rem 1.9rem; }
.card-body h3 { margin-bottom: .55rem; }
.card-body p { color: var(--muted); font-size: .95rem; line-height: 1.68; }

.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.problem {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.problem-mark {
  position: absolute; top: -1px; left: 0; width: 46px; height: 2px;
  background: var(--navy-400);
}
.problem p { color: rgba(255,255,255,.72); margin: 0; }
.problems .reveal:nth-child(2) { transition-delay: .08s; }
.problems .reveal:nth-child(3) { transition-delay: .16s; }

.mission {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -.02em;
  position: relative;
}
.mission::before, .mission::after { color: var(--navy-400); }
.mission::before { content: "\201C"; }
.mission::after  { content: "\201D"; }

/* ============================================================
   PROMISE / DIFFERENCE extras
   ============================================================ */
.split-right .btn { margin-top: 1rem; }
.listen {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--navy-500);
  letter-spacing: -.01em;
}
.pullout {
  margin-top: 1.8rem;
  padding-left: 1.3rem;
  border-left: 3px solid var(--navy-500);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: linear-gradient(120deg, var(--navy-700) 0%, var(--navy-600) 52%, var(--navy-500) 100%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
/* NOTE: .stat must NOT be a column flex container - flex items get
   blockified, which pushes the unit ("Y", "+", "%") onto its own line. */
.stat { display: block; text-align: center; }
.stat-num, .stat-unit {
  display: inline;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.stat-unit { color: rgba(255,255,255,.55); margin-left: .08em; }
.stat-label {
  margin: .9rem 0 0;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.stats .reveal:nth-child(2) { transition-delay: .1s; }
.stats .reveal:nth-child(3) { transition-delay: .2s; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ============================================================
   PILLARS (Strategy)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.8rem);
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem 2.2rem;
  border-top: 3px solid var(--navy-500);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar h3 {
  font-size: .82rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--navy-600);
  margin-bottom: 1.2rem;
}
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  position: relative;
  padding: .5rem 0 .5rem 1.4rem;
  font-size: .95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.pillar li:last-child { border-bottom: 0; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 1.08rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy-400);
}
.pillars .reveal:nth-child(2) { transition-delay: .08s; }
.pillars .reveal:nth-child(3) { transition-delay: .16s; }
.pillars .reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy-950);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46rem 22rem at 50% 120%, rgba(59, 91, 170, .42), transparent 68%);
}
.cta-inner { position: relative; text-align: center; max-width: 720px; }
.cta-inner { margin-inline: auto; }
.cta-inner h2 { color: #fff; margin-bottom: .6rem; }
.cta-inner p { color: rgba(255,255,255,.66); margin-bottom: 2rem; }
.cta-inner .btn-primary { background: #fff; color: var(--navy-700); }
.cta-inner .btn-primary:hover { background: rgba(255,255,255,.9); color: var(--navy-700); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
  align-items: start;
}
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote::before {
  content: "\201C";
  position: absolute; top: .2rem; right: 1.4rem;
  font-size: 5rem; line-height: 1;
  color: rgba(46, 69, 133, .13);
}
.quote blockquote {
  margin: 0 0 1.6rem;
  font-size: .96rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.quote figcaption {
  display: flex; align-items: center; gap: .9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.quote figcaption img,
.avatar-initials {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex: 0 0 48px;
}
.avatar-initials {
  display: grid; place-items: center;
  background: var(--navy-700); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.quote figcaption strong { color: var(--ink); font-size: .95rem; font-weight: 600; }
.quote figcaption em { font-style: normal; color: var(--muted); font-size: .82rem; }
.quotes .reveal:nth-child(2) { transition-delay: .09s; }
.quotes .reveal:nth-child(3) { transition-delay: .18s; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
  counter-reset: step;
}
.step {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.step-num {
  display: block;
  font-size: 2.6rem; font-weight: 200; line-height: 1;
  color: var(--navy-400);
  letter-spacing: -.03em;
  margin-bottom: .9rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: rgba(255,255,255,.68); font-size: .96rem; }
.step .btn { margin-top: 1.3rem; }
.steps .reveal:nth-child(2) { transition-delay: .09s; }
.steps .reveal:nth-child(3) { transition-delay: .18s; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-grid .btn { margin-top: 1.6rem; }

.contact-card {
  font-style: normal;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-500);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.9;
  color: var(--muted);
}
.contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .7rem;
  line-height: 1.4;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.70);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.8rem;
  font-size: .9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; } }

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { border-radius: 6px; flex: 0 0 40px; }
.footer-brand p { max-width: 46ch; line-height: 1.7; }

.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-content: start; }
.footer-nav a {
  color: rgba(255,255,255,.72);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.footer-nav a:hover { color: #fff; }
@media (min-width: 761px) { .footer-nav { justify-content: flex-end; } }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.8rem;
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.legal { display: flex; gap: 1.4rem; }
.legal a { color: rgba(255,255,255,.72); }
.legal a:hover { color: #fff; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
/* These pages have no dark hero, so the header must be solid from the start. */
body.solid-header .site-header {
  background: rgba(11, 18, 32, .96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

/* NB: .legal is already taken by the footer link row - use .legal-page here. */
.legal-page { padding-block: 150px var(--sect-y); }
.legal-page .eyebrow { margin-bottom: .9rem; }
.legal-page h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 2.2rem; }

.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 600;
  margin: 2.6rem 0 .8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.15rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
/* buttons inside .prose must not inherit the body-copy underline */
.prose a.btn { text-decoration: none; }
.prose .addr {
  font-style: normal;
  background: var(--soft);
  border-left: 3px solid var(--navy-500);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.6rem;
  line-height: 1.8;
}
.prose .muted { color: var(--muted); font-size: .9rem; }
.back-link { display: inline-block; margin-top: 2.6rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .scroll-hint, .nav-toggle, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section-dark, .stats, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  .section-dark h2, .section-dark h3, .stats *, .cta-band * { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
