:root {
    --maxw: 1240px;
    --gut: clamp(20px, 5vw, 64px);
    --sec-y: clamp(72px, 10vh, 130px);
  }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--offwhite); overflow-x: hidden; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

  h1, h2, h3 { font-family: var(--font-display); font-weight: 400;
    letter-spacing: var(--tracking-display); margin: 0; text-wrap: balance; }

  /* ---- Header ---- */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 13px var(--gut);
    background: rgba(249,249,246,0.92); backdrop-filter: blur(8px);
    color: var(--text-primary); box-shadow: 0 1px 0 var(--hairline);
  }
  .brand { display: flex; align-items: center; text-decoration: none; color: inherit; }
  .brand svg { height: 34px; width: auto; display: block; }
  .brand .logo path { fill: var(--brand); }
  .brand .logo .consulting path { fill: var(--text-primary); }
  footer .brand .logo path { fill: var(--offwhite); }
  nav.main { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
  nav.main a { color: inherit; text-decoration: none; font-size: 15px; letter-spacing: .01em;
    opacity: .92; position: relative; padding: 4px 0; transition: opacity .2s; }
  nav.main a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
    background: currentColor; transition: right .28s var(--ease-out); }
  nav.main a:hover { opacity: 1; }
  nav.main a:hover::after { right: 0; }
  nav.main a.cta {
    border: 1.5px solid var(--brand); color: var(--brand); padding: 9px 20px; opacity: 1; font-weight: 600;
    transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
  }
  nav.main a.cta::after { display: none; }
  nav.main a.cta:hover { background: var(--brand); color: var(--offwhite); }
  .menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; }

  /* ---- Impressum content ---- */
  .impr-wrap { max-width: 800px; padding: clamp(110px, 14vh, 140px) var(--gut) clamp(80px, 10vh, 120px); }
  .impr-wrap .page-eyebrow {
    display: flex; align-items: center; gap: 14px; font-family: var(--font-sans);
    font-size: var(--text-overline); font-weight: 600; letter-spacing: var(--tracking-overline);
    text-transform: uppercase; color: var(--brand); margin: 0 0 20px;
  }
  .impr-wrap .page-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
  .impr-wrap h1 { font-size: clamp(30px, 4.5vw, 58px); font-weight: 300; color: var(--text-primary);
    margin-bottom: clamp(40px, 6vh, 64px); line-height: 1.05; }

  .impr-section { padding: clamp(28px, 4vh, 40px) 0; border-top: 1px solid var(--border-default); }
  .impr-section:first-of-type { border-top: 2px solid var(--brand); }
  .impr-section h2 { font-size: clamp(14px, 1.2vw, 16px); font-family: var(--font-sans);
    font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary);
    margin-bottom: 16px; }
  .impr-dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; }
  .impr-dl dt { font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary);
    padding-top: 2px; line-height: 1.55; }
  .impr-dl dd { font-family: var(--font-sans); font-size: 15px; color: var(--text-primary);
    margin: 0; line-height: 1.55; }
  .impr-dl dd a { color: var(--brand); text-decoration: none; }
  .impr-dl dd a:hover { text-decoration: underline; }
  .impr-dl dd.placeholder { color: var(--text-secondary); font-style: italic; }

  .impr-section p { font-family: var(--font-sans); font-size: 15px; color: var(--text-secondary);
    line-height: 1.7; margin: 0 0 .6em; max-width: 60ch; }
  .impr-section p:last-child { margin-bottom: 0; }
  .impr-section p a { color: var(--brand); text-decoration: none; }
  .impr-section p a:hover { text-decoration: underline; }

  /* ---- Footer ---- */
  footer { background: var(--ink-900); color: rgba(249,249,246,.78); padding: clamp(56px,8vh,84px) 0 34px; }
  footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
  footer .brand svg { height: 34px; }
  footer .blurb { margin: 22px 0 0; max-width: 34ch; line-height: 1.6; font-size: 15px; color: rgba(249,249,246,.6); }
  footer h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: rgba(249,249,246,.5); margin: 0 0 18px; }
  footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  footer a { color: rgba(249,249,246,.78); text-decoration: none; font-size: 15px; transition: color .2s; }
  footer a:hover { color: var(--offwhite); }
  .foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
    align-items: center; margin-top: clamp(44px,7vh,72px); padding-top: 24px;
    border-top: 1px solid rgba(249,249,246,.12); font-size: 13px; color: rgba(249,249,246,.5); }
  .foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

  /* ---- Mobile nav ---- */
  #mobnav { position: fixed; inset: 0; z-index: 49; background: var(--brand-gradient); color: var(--offwhite);
    display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gut);
    transform: translateY(-100%); transition: transform .45s var(--ease-out); }
  #mobnav.open { transform: none; }
  #mobnav a { color: inherit; text-decoration: none; font-family: var(--font-display); font-size: 32px;
    font-weight: 300; padding: 12px 0; border-bottom: 1px solid rgba(249,249,246,.16); }
  #mobnav .close { position: absolute; top: 22px; right: var(--gut); background: none; border: 0; color: inherit; cursor: pointer; }

  @media (max-width: 960px) {
    .impr-dl { grid-template-columns: 1fr; gap: 2px 0; }
    .impr-dl dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; }
    .impr-dl dt:first-child { margin-top: 0; }
    footer .cols { grid-template-columns: 1fr; }
    nav.main { display: none; }
    .menu-btn { display: inline-flex; }
  }
