/* ==========================================================================
   Schriften lokal ausgeliefert.
   Kein Request an fonts.googleapis.com / fonts.gstatic.com und damit keine
   Uebermittlung der Besucher-IP an Google — fuer eine Kanzlei in der EU
   (LSSI-CE, DSGVO) die einzige vertretbare Variante. Variable Fonts,
   Gewichtsachse 400-600, Subsets latin + latin-ext (deckt Spanisch,
   Katalanisch, Englisch und Deutsch vollstaendig ab).
   Archivo und Faustina: Omnibus-Type, SIL Open Font License 1.1.
   ========================================================================== */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 600;
  font-stretch: 100%; font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 600;
  font-stretch: 100%; font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Faustina"; font-style: normal; font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/faustina-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Faustina"; font-style: normal; font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/faustina-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Bufete Staubach — "Marès y tinta"
   Preview build by PixelUno · https://pixeluno.es
   Kein Build-Step, keine Dependencies.
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities;

/* ── reset ───────────────────────────────────────────────────────────── */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-font-smoothing: antialiased; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; }
  ul, ol { list-style: none; padding: 0; }
  a { color: inherit; }
}

/* ── tokens ──────────────────────────────────────────────────────────── */
@layer tokens {
  :root {
    /* Palette — 5 Werte plus zwei Grautöne, mehr nicht. */
    --paper:      #f3f2ee;
    --paper-2:    #eceae4;
    --ink:        #14192a;
    --navy:       #1e2c4a;
    --navy-deep:  #16223a;
    --red:        #e4222f;   /* Markenrot, Akzentflächen + große Typo */
    --red-deep:   #b81622;   /* Rot für Text und Buttonflächen (AA) */
    --slate:      #5c6478;
    --rule:       #dad8d1;
    --rule-soft:  #e5e3dd;
    --on-navy:    #e8e9ec;
    --on-navy-dim:#98a1b4;

    --preview:    #6d28d9;   /* PixelUno-Streifen */

    /* Typografie */
    --display: "Faustina", "Iowan Old Style", Georgia, serif;
    --text:    "Archivo", "Helvetica Neue", Arial, sans-serif;

    --fs-display: clamp(2.6rem, 1.35rem + 5.2vw, 5.75rem);
    --fs-h2:      clamp(1.85rem, 1.25rem + 2.4vw, 3.15rem);
    --fs-h3:      clamp(1.15rem, 1.02rem + .55vw, 1.45rem);
    --fs-lead:    clamp(1.05rem, .98rem + .4vw, 1.28rem);
    --fs-body:    1.0625rem;
    --fs-sm:      .9375rem;
    --fs-xs:      .8125rem;
    --fs-label:   .72rem;

    /* Rhythmus */
    --gutter:  clamp(1.25rem, 4vw, 3rem);
    --section: clamp(4.5rem, 2.6rem + 6.4vw, 9rem);
    --maxw:    1240px;
    --measure: 64ch;

    --strip-h: 40px;   /* wird in main.js gemessen */
    --header-h: 76px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-card: 0 1px 2px rgba(20,25,42,.04), 0 8px 24px -12px rgba(20,25,42,.10);
    --shadow-lift: 0 2px 4px rgba(20,25,42,.05), 0 20px 44px -20px rgba(20,25,42,.20);
  }
}

/* ── base ────────────────────────────────────────────────────────────── */
@layer base {
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    /* Die Seite ist bewusst hell gestaltet und folgt nicht dem System-Theme. */
    color-scheme: only light;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: var(--fs-body);
    line-height: 1.65;
    font-synthesis-weight: none;
    padding-top: var(--strip-h);
    overflow-x: hidden;
  }

  h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.017em;
    text-wrap: balance;
  }
  h1 { font-size: var(--fs-display); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }

  p { text-wrap: pretty; }

  a { text-decoration-thickness: 1px; text-underline-offset: .22em; }

  :focus-visible {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
    border-radius: 2px;
  }

  ::selection { background: var(--red); color: #fff; }
}

/* ── layout ──────────────────────────────────────────────────────────── */
@layer layout {
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .section { padding-block: var(--section); }
  .section > .wrap > * + * { margin-top: 0; }

  /* Marginalspalte links wie die Randnotiz in einem Schriftsatz */
  .rail {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    grid-template-columns: 1fr;
  }
  @media (min-width: 62rem) {
    .rail { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  }

  .stack > * + * { margin-top: var(--flow, 1.1rem); }

  /* Sprungziele duerfen nicht unter dem klebenden Header landen. */
  section[id], main[id] {
    scroll-margin-top: calc(var(--strip-h) + var(--header-h) + 1rem);
  }
}

/* ── utilities ───────────────────────────────────────────────────────── */
@layer utilities {
  .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .skip-link {
    position: absolute; left: var(--gutter); top: .5rem;
    transform: translateY(-160%);
    background: var(--ink); color: var(--paper);
    padding: .7rem 1.1rem; z-index: 200;
    font-size: var(--fs-sm); font-weight: 500;
    transition: transform .18s var(--ease);
  }
  .skip-link:focus-visible { transform: translateY(0); }

  .measure { max-width: var(--measure); }
  .lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
}

/* ── components ──────────────────────────────────────────────────────── */
@layer components {

  /* PixelUno-Preview-Streifen ───────────────────────────────────────── */
  .preview-strip {
    /* Reihenfolge: Streifen (140) ueber Header (130) ueber Drawer (105).
       Der Header muss ueber dem Drawer liegen, sonst verschwindet der
       Schliessen-Button unter der geoeffneten Navigation. */
    position: fixed; inset: 0 0 auto 0; z-index: 140;
    background: var(--preview);
    color: #f5f3ff;
    font-size: var(--fs-xs);
    letter-spacing: .04em;
    line-height: 1.35;
    text-align: center;
    padding: .6rem var(--gutter);
    display: flex; align-items: center; justify-content: center; gap: .6rem;
  }
  .preview-strip__dot {
    width: .4rem; height: .4rem; border-radius: 50%;
    background: #c4b5fd; flex: none;
  }
  /* Auf schmalen Displays laeuft der uebersetzte Streifentext sonst auf drei
     Zeilen und frisst zusammen mit dem Header zu viel vom ersten Bildschirm. */
  @media (max-width: 40rem) {
    .preview-strip {
      font-size: .75rem; letter-spacing: .015em; padding: .5rem .9rem; gap: .45rem;
    }
    .preview-strip__dot { display: none; }
  }

  /* Header ─────────────────────────────────────────────────────────── */
  .site-header {
    position: sticky; top: var(--strip-h); z-index: 130;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  .site-header[data-condensed="true"] {
    border-bottom-color: var(--rule);
    background: color-mix(in srgb, var(--paper) 94%, transparent);
  }
  .site-header__inner {
    display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
    min-height: var(--header-h);
    transition: min-height .3s var(--ease);
  }
  .site-header[data-condensed="true"] .site-header__inner { min-height: 62px; }

  /* Wortmarke: das rohe rote „A" der Kanzlei neben disziplinierter Typo */
  .brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
  .brand__mark { width: 38px; height: 38px; object-fit: contain; flex: none; }
  .brand__type { display: grid; gap: .12rem; }
  .brand__name {
    font-family: var(--display); font-weight: 600;
    font-size: 1.15rem; line-height: 1; letter-spacing: -.005em;
  }
  .brand__sub {
    font-size: .625rem; letter-spacing: .17em; text-transform: uppercase;
    color: var(--slate); line-height: 1;
  }

  .nav { margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
  .nav__link {
    font-size: var(--fs-sm); text-decoration: none; color: var(--ink);
    position: relative; padding-block: .35rem;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform .32s var(--ease);
  }
  .nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

  .header__aside { display: flex; align-items: center; gap: 1rem; }

  .langswitch { display: flex; align-items: center; gap: .1rem; }
  .langswitch__link {
    font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; color: var(--slate);
    padding: .4rem .45rem; border-radius: 2px;
    transition: color .2s var(--ease);
  }
  .langswitch__link:hover { color: var(--ink); }
  .langswitch__link[aria-current="true"] { color: var(--ink); font-weight: 600; }
  .langswitch__sep { color: var(--rule); font-size: var(--fs-xs); }

  /* Buttons ────────────────────────────────────────────────────────── */
  .btn {
    --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 48px; padding: .8rem 1.5rem;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    font-size: var(--fs-sm); font-weight: 500; letter-spacing: .01em;
    text-decoration: none; text-align: center;
    position: relative; overflow: hidden; isolation: isolate;
    transition: color .3s var(--ease), border-color .3s var(--ease);
  }
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--red-deep);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .38s var(--ease);
  }
  .btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
  .btn:hover, .btn:focus-visible { color: #fff; border-color: var(--red-deep); }

  .btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule); }
  .btn--on-navy { --btn-bg: transparent; --btn-fg: var(--on-navy); --btn-bd: rgba(232,233,236,.32); }
  .btn--call { min-height: 44px; padding: .55rem 1rem; }

  /* Unter 992px uebernimmt der Drawer Navigation, Sprachen und Telefon.
     Bleibt der Sprachumschalter hier stehen, sprengt er die Kopfzeile. */
  @media (max-width: 61.99rem) {
    .nav, .header__aside { display: none; }
  }

  /* Mobile-Navigation ──────────────────────────────────────────────── */
  .navtoggle {
    display: none; width: 46px; height: 46px;
    align-items: center; justify-content: center;
    border: 1px solid var(--rule); margin-left: auto;
  }
  .navtoggle__bars { display: grid; gap: 5px; width: 20px; }
  .navtoggle__bars span {
    height: 1.5px; background: var(--ink); border-radius: 1px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
  }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) { opacity: 0; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  @media (max-width: 61.99rem) { .navtoggle { display: flex; } }

  .drawer {
    position: fixed; inset: 0; z-index: 105;
    background: var(--paper);
    padding: calc(var(--strip-h) + var(--header-h) + 1.25rem) var(--gutter) 2rem;
    display: grid; align-content: start; gap: .25rem;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    /* visibility wird geschaltet, nicht interpoliert: beim Oeffnen sofort,
       beim Schliessen erst nach der Ausblendung. Wuerde visibility
       mitanimiert, waere der Drawer im Moment des Oeffnens noch nicht
       fokussierbar und der Tastaturfokus liefe ins Leere. */
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility 0s linear .28s;
  }
  .drawer[data-open="true"] {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility 0s linear 0s;
  }
  .drawer__link {
    font-family: var(--display); font-size: 1.9rem; font-weight: 500;
    text-decoration: none; padding: .55rem 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .drawer__foot { margin-top: 1.75rem; display: grid; gap: .9rem; }
  .drawer__langs { display: flex; gap: .35rem; align-items: center; }

  /* Hero ───────────────────────────────────────────────────────────── */
  .hero {
    padding-block: clamp(3.5rem, 2rem + 7vw, 8rem) clamp(3rem, 2rem + 4vw, 5.5rem);
    position: relative;
  }
  .eyebrow {
    font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
    color: var(--slate); display: flex; align-items: center; gap: .7rem;
  }
  .eyebrow::before {
    content: ""; width: 1.6rem; height: 2px; background: var(--red); flex: none;
  }
  .hero__title { margin-top: 1.4rem; max-width: 17ch; }
  .hero__title em { font-style: normal; color: var(--red-deep); }

  .hero__body {
    margin-top: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
    display: grid; gap: clamp(2.25rem, 5vw, 4rem);
    grid-template-columns: 1fr;
    align-items: start;
  }
  @media (min-width: 54rem) {
    .hero__body { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  }
  .hero__lead { max-width: 46ch; }
  .hero__actions {
    margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem;
  }

  /* Signature: der Sprachstapel ────────────────────────────────────── */
  .langstack { justify-self: start; }
  @media (min-width: 54rem) { .langstack { justify-self: end; text-align: left; } }

  .langstack__label {
    font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
    color: var(--slate); margin-bottom: 1rem; padding-left: 1.5rem;
  }
  .langstack__list { display: grid; gap: .1rem; }
  .langstack__item {
    position: relative; padding-left: 1.5rem;
    font-family: var(--display);
    font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem);
    font-weight: 400; line-height: 1.28; letter-spacing: -.012em;
    /* 45 % ergibt rund 3:1 gegen das Papier. Das ist die AA-Schwelle fuer
       grosse Schrift — die Sprachnamen sind Information, keine Dekoration.
       Die Hierarchie traegt zusaetzlich Schriftschnitt und roter Marker. */
    color: color-mix(in srgb, var(--ink) 50%, var(--paper));
    transition: color .55s var(--ease), font-weight .2s var(--ease);
  }
  .langstack__item::before {
    content: ""; position: absolute; left: 0; top: .3em; bottom: .3em;
    width: 3px; background: var(--red);
    transform: scaleY(0); transform-origin: center;
    transition: transform .45s var(--ease);
  }
  .langstack__item[data-active="true"] { color: var(--ink); font-weight: 600; }
  .langstack__item[data-active="true"]::before { transform: scaleY(1); }

  /* Vertrauensleiste unter dem Hero */
  .trustbar {
    margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
    display: grid; gap: 1rem .5rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .trustbar__item {
    font-size: var(--fs-sm); color: var(--slate);
    display: flex; align-items: baseline; gap: .55rem;
  }
  .trustbar__item strong { color: var(--ink); font-weight: 600; }

  /* Section-Kopf mit Marginalie ────────────────────────────────────── */
  .seclabel {
    font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
    color: var(--slate); padding-top: .5rem;
    border-top: 2px solid var(--ink);
    align-self: start;
  }
  .sechead { max-width: 22ch; }
  .sechead + .lead { margin-top: 1.25rem; }

  /* Profil + Prinzipien ────────────────────────────────────────────── */
  .pullquote {
    font-family: var(--display);
    font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.2rem);
    font-weight: 400; line-height: 1.26; letter-spacing: -.014em;
    max-width: 26ch;
  }
  .profile__body { margin-top: 1.75rem; max-width: var(--measure); color: var(--slate); }
  .profile__body > * + * { margin-top: 1rem; }

  .principles {
    margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
    display: grid; gap: 1px;
    background: var(--rule);
    border-block: 1px solid var(--rule);
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
  .principle {
    background: var(--paper);
    padding: 1.75rem clamp(1.1rem, 2vw, 1.75rem) 1.9rem;
    position: relative;
  }
  .principle::before {
    content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
  }
  .principle[data-revealed="true"]::before { transform: scaleX(1); }
  .principle:nth-child(2)::before { transition-delay: .08s; }
  .principle:nth-child(3)::before { transition-delay: .16s; }
  .principle:nth-child(4)::before { transition-delay: .24s; }
  .principle__title { font-family: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
  .principle__text { margin-top: .5rem; font-size: var(--fs-sm); color: var(--slate); }

  /* Rechtsgebiete ──────────────────────────────────────────────────── */
  .areas {
    margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
    display: grid; gap: clamp(1rem, 2vw, 1.4rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  }
  .area {
    background: #fbfaf8;
    border: 1px solid var(--rule-soft);
    padding: 1.6rem 1.5rem 1.75rem;
    display: grid; gap: .85rem; align-content: start;
    position: relative; overflow: hidden;
    transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
  }
  .area::after {
    content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
    background: var(--red); transform: scaleY(0); transform-origin: top;
    transition: transform .42s var(--ease);
  }
  .area:hover, .area:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
  }
  .area:hover::after, .area:focus-within::after { transform: scaleY(1); }
  .area__icon { width: 30px; height: 30px; color: var(--ink); }
  .area__icon svg { width: 100%; height: 100%; }
  .area__title { font-family: var(--text); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }
  .area__text { font-size: var(--fs-sm); color: var(--slate); line-height: 1.6; }

  /* Navy-Bänder ────────────────────────────────────────────────────── */
  .band {
    background: var(--navy); color: var(--on-navy);
    padding-block: var(--section);
  }
  .band h2, .band h3 { color: #fff; }
  .band .seclabel { color: var(--on-navy-dim); border-top-color: var(--on-navy-dim); }
  .band .lead { color: var(--on-navy-dim); }

  .reasons {
    margin-top: clamp(2.25rem, 2rem + 2vw, 3.5rem);
    display: grid; gap: 2rem clamp(1.5rem, 3vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
  .reason { border-top: 1px solid rgba(232,233,236,.2); padding-top: 1.25rem; }
  .reason__title { font-family: var(--text); font-size: 1rem; font-weight: 600; color: #fff; }
  .reason__text { margin-top: .5rem; font-size: var(--fs-sm); color: var(--on-navy-dim); }

  /* Ablauf — nummeriert, weil es tatsächlich eine Abfolge ist ──────── */
  .steps {
    margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
    display: grid; gap: clamp(1.75rem, 3vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    counter-reset: step;
  }
  .step { position: relative; padding-top: 2.75rem; }
  .step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-family: var(--display); font-size: 1.5rem; font-weight: 600;
    color: var(--red-deep); line-height: 1;
  }
  .step::after {
    content: ""; position: absolute; top: .55rem; left: 2.5rem; right: 0; height: 1px;
    background: var(--rule);
  }
  .step:last-child::after { display: none; }
  .step__title { font-family: var(--text); font-size: 1.05rem; font-weight: 600; }
  .step__text { margin-top: .5rem; font-size: var(--fs-sm); color: var(--slate); }

  /* Team ───────────────────────────────────────────────────────────── */
  .team {
    margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
    display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }
  .member__figure {
    width: 100%; max-width: 200px; aspect-ratio: 167 / 234;
    overflow: hidden; background: var(--paper-2);
    border-bottom: 2px solid var(--ink);
  }
  .member__figure img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    filter: contrast(1.04);
    transition: transform .6s var(--ease);
  }
  .member:hover .member__figure img { transform: scale(1.035); }
  .member__name { margin-top: 1rem; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
  .member__role { font-size: var(--fs-sm); color: var(--slate); margin-top: .1rem; }
  .member__langs { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .8rem; }
  .lang-chip {
    font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
    border: 1px solid var(--rule); padding: .22rem .5rem; color: var(--slate);
  }
  .member__mail {
    display: inline-block; margin-top: .8rem; font-size: var(--fs-sm);
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px; word-break: break-word;
    transition: border-color .25s var(--ease), color .25s var(--ease);
  }
  .member__mail:hover { color: var(--red-deep); border-color: var(--red-deep); }

  .staff {
    margin-top: clamp(2.5rem, 3vw, 3.5rem);
    border-top: 1px solid var(--rule); padding-top: 1.75rem;
    display: grid; gap: 1.25rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
  .staff__label {
    grid-column: 1 / -1;
    font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase; color: var(--slate);
  }
  .staff__name { font-weight: 600; font-size: var(--fs-body); }
  .staff__role { font-size: var(--fs-sm); color: var(--slate); }

  /* Standorte ──────────────────────────────────────────────────────── */
  .offices {
    margin-top: clamp(2.25rem, 2rem + 2vw, 3.5rem);
    display: grid; gap: clamp(1.75rem, 3vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  }
  .office { border-top: 2px solid var(--red); padding-top: 1.35rem; }
  .office__kind {
    font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
    color: var(--on-navy-dim);
  }
  .office__city { margin-top: .55rem; font-family: var(--display); font-size: 1.75rem; font-weight: 600; color: #fff; }
  .office__addr { margin-top: .85rem; font-size: var(--fs-sm); color: var(--on-navy-dim); font-style: normal; line-height: 1.7; }
  .office__rows { margin-top: 1.1rem; display: grid; gap: .4rem; }
  .office__row { display: flex; gap: .7rem; font-size: var(--fs-sm); flex-wrap: wrap; }
  .office__row dt { color: var(--on-navy-dim); min-width: 4.5rem; }
  .office__row dd { margin: 0; }
  .office__row a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); word-break: break-word; }
  .office__row a:hover { border-bottom-color: var(--red); }
  .office__route { margin-top: 1.25rem; }

  .mapbox {
    margin-top: clamp(2rem, 3vw, 3rem);
    position: relative;
    /* width muss explizit sein: aspect-ratio zusammen mit min-height laesst
       den Grid-Container sonst seine Breite aus der Hoehe ableiten
       (260px x 21/9 = 607px) und erzeugt horizontalen Ueberlauf. */
    width: 100%;
    aspect-ratio: 16 / 10; min-height: 240px; max-height: 60vh;
    background: var(--navy-deep);
    border: 1px solid rgba(232,233,236,.16);
    display: grid; place-items: center; overflow: hidden;
  }
  @media (min-width: 48rem) { .mapbox { aspect-ratio: 21 / 9; } }
  .mapbox iframe { width: 100%; height: 100%; border: 0; }
  .mapbox__prompt { text-align: center; padding: 1.5rem; display: grid; gap: .85rem; justify-items: center; }
  .mapbox__note { font-size: var(--fs-sm); color: var(--on-navy-dim); max-width: 42ch; }

  /* Kontakt ────────────────────────────────────────────────────────── */
  .contact__grid {
    margin-top: clamp(2.25rem, 2rem + 2vw, 3.5rem);
    display: grid; gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: 1fr;
    align-items: start;
  }
  @media (min-width: 58rem) {
    .contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  }

  .form { display: grid; gap: 1.1rem; }
  .field { display: grid; gap: .4rem; }
  .field__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .field label { font-size: var(--fs-sm); font-weight: 500; }
  .field .req { color: var(--red-deep); }
  .field input, .field textarea, .field select {
    width: 100%; padding: .85rem .95rem;
    background: #fbfaf8; color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 0; font-size: var(--fs-sm);
    transition: border-color .22s var(--ease), background .22s var(--ease);
  }
  .field select {
    appearance: none; padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%);
    background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
    background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  }
  .field textarea { min-height: 8.5rem; resize: vertical; }
  .field input:hover, .field textarea:hover, .field select:hover { border-color: var(--slate); }
  .field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--ink); }
  .field input:user-invalid, .field textarea:user-invalid { border-color: var(--red-deep); }

  .consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
  .consent input { width: 1.1rem; height: 1.1rem; margin-top: .28rem; accent-color: var(--red-deep); }
  .consent label { font-size: var(--fs-xs); color: var(--slate); line-height: 1.55; font-weight: 400; }
  .consent a { color: var(--ink); }

  .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .formstatus { font-size: var(--fs-sm); padding: .9rem 1.1rem; border-left: 3px solid var(--slate); background: var(--paper-2); }
  .formstatus:empty { display: none; }
  .formstatus[data-state="ok"] { border-left-color: #1c7c4a; }
  .formstatus[data-state="error"], .formstatus[data-state="setup"] { border-left-color: var(--red-deep); }

  .channels { display: grid; gap: 1.4rem; }
  .channel { border-top: 1px solid var(--rule); padding-top: 1.1rem; }
  .channel__label { font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase; color: var(--slate); }
  .channel__value { margin-top: .35rem; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
  .channel__value a { text-decoration: none; border-bottom: 1px solid var(--rule); word-break: break-word; }
  .channel__value a:hover { border-bottom-color: var(--red); }
  .channel__note { margin-top: .3rem; font-size: var(--fs-xs); color: var(--slate); }

  /* Footer ─────────────────────────────────────────────────────────── */
  .site-footer { background: var(--navy-deep); color: var(--on-navy); padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) 2rem; }
  .footer__top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .footer__brand { display: flex; align-items: center; gap: .7rem; }
  .footer__brand .brand__mark { filter: brightness(1.55); }
  .footer__brand .brand__name { color: #fff; }
  .footer__brand .brand__sub { color: var(--on-navy-dim); }
  .footer__tagline { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--on-navy-dim); max-width: 34ch; }
  .footer__h { font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase; color: var(--on-navy-dim); margin-bottom: .9rem; }
  .footer__list { display: grid; gap: .55rem; font-size: var(--fs-sm); }
  .footer__list a { text-decoration: none; color: var(--on-navy); border-bottom: 1px solid transparent; }
  .footer__list a:hover { border-bottom-color: var(--red); }
  .footer__addr { font-style: normal; font-size: var(--fs-sm); color: var(--on-navy-dim); line-height: 1.7; }

  .footer__bottom {
    margin-top: clamp(2.5rem, 4vw, 4rem); padding-top: 1.5rem;
    border-top: 1px solid rgba(232,233,236,.15);
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
    align-items: center; justify-content: space-between;
    font-size: var(--fs-xs); color: var(--on-navy-dim);
  }
  .footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; }
  .footer__legal a { text-decoration: none; border-bottom: 1px solid transparent; }
  .footer__legal a:hover { border-bottom-color: var(--red); }
  .madeby { display: inline-flex; align-items: center; gap: .35rem; }
  .madeby__heart { color: var(--red); }
  .madeby a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
  .madeby a:hover { border-bottom-color: var(--red); }

  /* Scroll-Reveal ──────────────────────────────────────────────────── */
  /* Nur wenn JS laeuft, wird ueberhaupt etwas versteckt. Ohne JS ist
     die gesamte Seite sofort sichtbar. */
  .js [data-reveal] {
    opacity: 0; transform: translateY(14px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .js [data-reveal][data-revealed="true"] { opacity: 1; transform: none; }
  .js [data-reveal-delay="1"] { transition-delay: .09s; }
  .js [data-reveal-delay="2"] { transition-delay: .18s; }
  .js [data-reveal-delay="3"] { transition-delay: .27s; }

  .js [data-enter] { opacity: 0; transform: translateY(12px); }
  .js body[data-entered="true"] [data-enter] {
    opacity: 1; transform: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .js body[data-entered="true"] [data-enter="1"] { transition-delay: .06s; }
  .js body[data-entered="true"] [data-enter="2"] { transition-delay: .16s; }
  .js body[data-entered="true"] [data-enter="3"] { transition-delay: .26s; }
  .js body[data-entered="true"] [data-enter="4"] { transition-delay: .36s; }
  .js body[data-entered="true"] [data-enter="5"] { transition-delay: .46s; }
}

/* ── Reduced Motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal], .js [data-enter] { opacity: 1 !important; transform: none !important; }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
  .preview-strip, .site-header, .navtoggle, .drawer, .mapbox, .form, .btn { display: none !important; }
  body { padding-top: 0; background: #fff; }
  .band, .site-footer { background: #fff !important; color: #000 !important; }
  .band h2, .band h3, .office__city, .office__row a { color: #000 !important; }
}
