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

  #bg {
    position: fixed; inset: 0; z-index: -2;
    background: var(--brand);
    will-change: background-color;
  }
  #bg::after {
    content: ""; position: absolute; right: -8vw; top: 12vh;
    width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
    background: url("../../logos/Mave-Signet-farbe.svg") no-repeat center/contain;
    opacity: 0; transition: opacity .8s var(--ease-out);
  }
  #bg.paper::after { opacity: .04; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  .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 22px; }
  .eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
  .on-dark .eyebrow { color: var(--offwhite); }

  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: 18px var(--gut); color: var(--offwhite);
    transition: background-color .4s var(--ease-out), color .4s var(--ease-out),
                box-shadow .4s var(--ease-out), padding .4s var(--ease-out);
  }
  header.scrolled { background: rgba(249,249,246,0.92); backdrop-filter: blur(8px);
    color: var(--text-primary); box-shadow: 0 1px 0 var(--hairline); padding-block: 13px; }
  .brand { display: flex; align-items: center; text-decoration: none; color: inherit; }
  .brand svg { height: 34px; width: auto; display: block; }
  .brand .logo path { fill: var(--offwhite); transition: fill .4s var(--ease-out); }
  header.scrolled .brand .logo path { fill: var(--brand); }
  header.scrolled .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, nav.main a[aria-current="page"]::after { right: 0; }
  nav.main a[aria-current="page"] { opacity: 1; }
  nav.main a.cta {
    border: 1.5px solid currentColor; 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; }
  header:not(.scrolled) nav.main a.cta:hover { background: var(--offwhite); color: var(--brand); }
  header.scrolled nav.main a.cta { border-color: var(--brand); color: var(--brand); }
  header.scrolled 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; }

  /* ---- Buttons ---- */
  .btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans);
    font-size: 16px; font-weight: 600; letter-spacing: .01em; text-decoration: none;
    padding: 15px 30px; border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .12s; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--brand); color: var(--offwhite); }
  .btn-primary:hover { background: var(--brand-strong); }
  .btn-ghost-light { border-color: rgba(249,249,246,.55); color: var(--offwhite); }
  .btn-ghost-light:hover { background: var(--offwhite); color: var(--brand); }
  .btn-ghost-dark { border-color: var(--brand); color: var(--brand); }
  .btn-ghost-dark:hover { background: var(--brand); color: var(--offwhite); }
  .btn .ar { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
  .btn:hover .ar { transform: translateX(4px); }

  /* ---- Hero ---- */
  .hero {
    min-height: 72svh; display: grid; grid-template-columns: 1.05fr .95fr;
    align-items: center; gap: var(--gut); color: var(--offwhite);
    padding: 120px var(--gut) 64px; max-width: var(--maxw); margin: 0 auto;
  }
  .hero hr { width: 80px; height: 2px; background: rgba(249,249,246,.45); border: 0; margin: 0 0 26px; }
  .hero h1 { font-size: clamp(36px, 5vw, 66px); font-weight: 300; line-height: 1.04; }
  .hero .lead { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; max-width: 38ch;
    margin: 22px 0 36px; color: rgba(249,249,246,.82); }
  .hero-figure { position: relative; align-self: stretch; min-height: 55vh; }
  .hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top; filter: saturate(.94) contrast(1.03); }
  .hero-figure::after { content: ""; position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(249,249,246,.18); }

  /* ---- Generic section ---- */
  section.band { padding-block: var(--sec-y); position: relative; }
  .lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--text-secondary); max-width: 58ch; }
  .section-divider { border: 0; border-top: 1px solid var(--border-default); margin: 0; }

  /* ---- Statement ---- */
  .statement-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
  .statement-split h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.06;
    font-weight: 300; color: var(--text-primary); transition: color .5s; }
  .statement-split h2 em { font-style: normal; color: var(--brand); transition: color .5s; }
  .statement-split .lede { transition: color .5s; }
  .eyebrow { transition: color .5s; }

  body.bg-dark .statement-split h2 { color: var(--offwhite); }
  body.bg-dark .statement-split h2 em { color: rgba(249,249,246,.6); }
  body.bg-dark .statement-split .lede { color: rgba(249,249,246,.72); }
  body.bg-dark .eyebrow:not(.cta-band .eyebrow) { color: var(--offwhite); }
  body.bg-dark .eyebrow:not(.cta-band .eyebrow)::before { background: var(--offwhite); }

  /* ---- Was erwartet dich ---- */
  .erwartung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .erwartung-item { padding: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
    border-top: 3px solid var(--brand); background: var(--surface-card);
    border: 1px solid var(--border-default); border-top: 3px solid var(--brand); }
  .erwartung-num { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 500; color: var(--brand); line-height: .9; margin-bottom: 16px; display: block; }
  .erwartung-item h3 { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-primary); margin-bottom: 10px; }
  .erwartung-item p { color: var(--text-secondary); line-height: 1.65; font-size: 15px; margin: 0; }

  /* ---- Kontakt-Optionen ---- */
  .kontakt-primary { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px);
    align-items: center; padding: clamp(36px, 5vw, 64px); background: var(--surface-card);
    border: 1px solid var(--border-default); border-top: 3px solid var(--brand); margin-bottom: 2px; }
  .kontakt-primary h2 { font-size: clamp(24px, 3.2vw, 42px); font-weight: 300;
    color: var(--text-primary); margin-bottom: 16px; line-height: 1.1; }
  .kontakt-primary p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 28px;
    font-size: clamp(15px, 1.2vw, 17px); max-width: 44ch; }
  .kontakt-primary-aside { display: flex; flex-direction: column; gap: 20px; }
  .kontakt-meta { padding: 22px 0; border-top: 1px solid var(--border-default); }
  .kontakt-meta:first-child { border-top: 0; padding-top: 0; }
  .kontakt-meta span { display: block; font-family: var(--font-sans); font-size: 12px;
    font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-secondary); margin-bottom: 6px; }
  .kontakt-meta a { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px);
    color: var(--brand); text-decoration: none; letter-spacing: var(--tracking-display);
    transition: color .2s; }
  .kontakt-meta a:hover { color: var(--brand-strong); }

  /* Social */
  .social-row { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
  .social-link { display: flex; align-items: center; gap: 8px; text-decoration: none;
    color: var(--text-secondary); font-size: 14px; font-family: var(--font-sans);
    letter-spacing: .03em; transition: color .2s; }
  .social-link:hover { color: var(--brand); }
  .social-link svg { width: 18px; height: 18px; }

  /* ---- Final CTA ---- */
  .cta-band { position: relative; color: var(--text-primary); transition: color .5s; }
  .cta-band .wrap { position: relative; z-index: 1; max-width: 880px; text-align: center;
    padding-block: clamp(70px, 12vh, 130px); }
  .cta-band h2 { font-size: clamp(32px, 4.8vw, 62px); font-weight: 300; line-height: 1.04;
    color: var(--text-primary); transition: color .5s; }
  .cta-band p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--text-secondary);
    max-width: 54ch; margin: 22px auto 36px; transition: color .5s; }
  .cta-band .eyebrow { justify-content: center; color: var(--brand); transition: color .5s; }
  .cta-band .btn-ghost-light { border-color: var(--brand); color: var(--brand);
    transition: background-color .25s, color .5s, border-color .5s; }
  .cta-band .btn-ghost-light:hover { background: var(--brand); color: var(--offwhite); }
  .cta-band.lit { color: var(--offwhite); }
  .cta-band.lit h2 { color: var(--offwhite); }
  .cta-band.lit p { color: rgba(249,249,246,.82); }
  .cta-band.lit .eyebrow { color: var(--offwhite); }
  .cta-band.lit .btn-ghost-light { border-color: rgba(249,249,246,.55); color: var(--offwhite); }
  .cta-band.lit .btn-ghost-light:hover { background: var(--offwhite); color: var(--brand); }
  .cta-band .signet { position: absolute; left: 50%; top: 50%; width: 52vw; max-width: 560px;
    transform: translate(-50%, -50%); opacity: .07; pointer-events: none; }

  /* ---- 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) {
    .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 120px; min-height: auto; }
    .hero-figure { min-height: 52vh; }
    .statement-split { grid-template-columns: 1fr; }
    .erwartung-grid { grid-template-columns: 1fr; gap: 2px; }
    .kontakt-primary { grid-template-columns: 1fr; }
    footer .cols { grid-template-columns: 1fr; }
    nav.main { display: none; }
    .menu-btn { display: inline-flex; }
  }
