/* NIP & Wyse Legal Partners — nipwyse.com
   Brand: Anthracite + Paper carry ~90% of every surface; rose gold is a scarce accent
   (the § mark, hairlines, one highlight per surface). Display: Cormorant Garamond. Text: Archivo. */

:root {
  --anthracite: #14181D;
  --anthracite-2: #1A1F26;
  --anthracite-3: #232A33;
  --night: #0F1216;
  --graphite: #6B7078;
  --muted: #565B63;
  --paper: #F6F3F2;
  --rose-paper: #F2E7E2;
  --white: #FFFFFF;
  --rose-deep: #A96A5F;
  /* rose-deep darkened for small text on light surfaces (4.6:1 on rose-paper, WCAG AA); lines and large type keep rose-deep */
  --rose-ink: #92584E;
  --rose: #C98F82;
  --rose-light: #D9A296;
  --rose-grad: linear-gradient(135deg, #A96A5F 0%, #C98F82 55%, #D9A296 100%);
  --error: #9E2F25;

  --ink-soft: rgba(20, 24, 29, 0.78);
  --line: rgba(20, 24, 29, 0.10);
  --line-strong: rgba(20, 24, 29, 0.2);
  --line-light: rgba(246, 243, 242, 0.13);
  --line-light-strong: rgba(246, 243, 242, 0.26);
  --text-light: #F6F3F2;
  --text-light-muted: rgba(246, 243, 242, 0.68);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open, body.dialog-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--rose-light); color: var(--anthracite); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose-deep);
}
.on-dark h1 em, .on-dark h2 em {
  background: var(--rose-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* Clean line breaks. Running text avoids a single word in the last line (pretty),
   short texts such as leads, list points and card texts get even lines (balance).
   Small words are bound to the next word by the build (typeset in scripts/build.mjs);
   after a colon the rest of a short sentence starts as one piece (.nach-dp).
   Check: ~/.claude/skills/web-0-start/scripts/umbrueche.mjs */
p, li, dd, dt, td, th, blockquote, figcaption, legend, label { text-wrap: pretty; }
.hero__lead, .section-head__lead, .page-hero__lead, .cta-band__text, .contact-panel__lead,
.practice__teaser, .practice__group li, .criminal__group li, .criminal__urgent > p, .member__role,
.post-cta__text, .fact__label, .compare th, .faq-item summary,
.footer__brand p, .contact-success__text {
  text-wrap: balance;
}
.dp-satz { text-wrap: inherit; }
.nach-dp, .satz { display: inline-block; text-wrap: balance; }
.wg { display: inline-block; } /* word group from the build: starts a new line as one piece */
/* Safety net: a bound group that is still wider than its box breaks instead of running out of it */
.display, .cta-band__title { overflow-wrap: break-word; }
.court__title, .practice__group li { overflow-wrap: anywhere; }
/* Table cells wrap normally; the phone label ("NIP & Wyse advocates") must not inherit balance */
.compare td::before { text-wrap: wrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; background: var(--paper); color: var(--anthracite);
  font-weight: 600; transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.on-dark { background: var(--anthracite); color: var(--text-light); }

.icon { width: 18px; height: 18px; flex: none; }
.icon--arrow { transition: transform 0.4s var(--ease); }
.icon--ext { width: 15px; height: 15px; }

/* ---------- type helpers ---------- */
.display { font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 28px;
  font: 600 11.5px/1.4 var(--sans);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
.eyebrow::before {
  content: ""; width: 40px; height: 1px; flex: none;
  background: currentColor; opacity: 0.75;
}
.eyebrow--light { color: var(--rose-light); }
.label-rule {
  display: flex; align-items: center; gap: 20px;
  margin: 0 0 8px;
  font: 600 11.5px/1.4 var(--sans);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--graphite);
}
.label-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--btn-h);
  padding: 0 28px;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover .icon--arrow { transform: translateX(5px); }
.btn--small { --btn-h: 44px; padding: 0 20px; font-size: 11px; gap: 10px; }
.btn--large { --btn-h: 60px; padding: 0 34px; }
.btn--block { width: 100%; }
.btn--rose {
  background: var(--rose-grad);
  background-size: 140% 100%;
  background-position: 0% 0;
  color: var(--anthracite);
  transition: background-position 0.6s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--rose:hover { background-position: 100% 0; box-shadow: 0 10px 30px -12px rgba(201, 143, 130, 0.55); }
.btn--dark { background: var(--anthracite); color: var(--paper); }
.btn--dark:hover { background: var(--anthracite-3); }
.btn--line-light { border-color: var(--line-light-strong); color: var(--paper); }
.btn--line-light:hover { border-color: var(--rose-light); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-ext, .link-back {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: inherit; opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}
.link-ext:hover, .link-back:hover { opacity: 1; color: var(--rose-light); }
.link-back:hover { color: var(--rose-deep); }
.link-back::before { content: "←"; font-size: 14px; letter-spacing: 0; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; color: inherit; }
.logo__mark {
  font-family: var(--serif); font-size: 36px; line-height: 1; font-weight: 500;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 0.04em 0.06em;
}
.logo__divider { width: 1px; height: 34px; background: currentColor; opacity: 0.3; }
.logo__text { display: flex; flex-direction: column; gap: 7px; }
.logo__word {
  font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1;
  letter-spacing: 0.11em; white-space: nowrap;
}
.logo__sub {
  font: 600 8.5px/1 var(--sans); letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--rose-light); white-space: nowrap;
}
.logo--large .logo__mark { font-size: 46px; }
.logo--large .logo__divider { height: 44px; }
.logo--large .logo__word { font-size: 27px; }
.logo--large .logo__sub { font-size: 9.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--text-light);
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s;
}
.site-header.is-scrolled, body.menu-open .site-header {
  background: rgba(20, 24, 29, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line-light);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  height: var(--header-h);
  transition: height 0.45s var(--ease);
}
.is-scrolled .header__inner { height: 72px; }
.header__logo { text-decoration: none; flex: none; }
.header__nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.header__nav a {
  position: relative;
  font: 500 13.5px/1 var(--sans); letter-spacing: 0.03em;
  text-decoration: none; color: var(--text-light-muted);
  padding: 8px 0;
  transition: color 0.3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--rose-light); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.header__nav a:hover { color: var(--paper); }
.header__nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 22px; }

.lang { display: flex; align-items: center; gap: 10px; }
.lang a {
  font: 600 11px/1 var(--sans); letter-spacing: 0.18em;
  text-decoration: none; color: var(--text-light-muted);
  padding: 8px 2px;
  transition: color 0.3s;
}
.lang a:hover { color: var(--paper); }
.lang a[aria-current="true"] { color: var(--rose-light); }
.lang__sep { width: 1px; height: 11px; background: var(--line-light-strong); }

.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-light-strong); border-radius: 50%;
  cursor: pointer; align-items: center; justify-content: center;
}
.burger__lines { display: grid; gap: 6px; width: 16px; }
.burger__lines span { display: block; height: 1px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger[aria-expanded="true"] .burger__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 72px 0 0; z-index: 59;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--anthracite);
  color: var(--text-light);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.15;
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-nav__foot { display: grid; gap: 20px; margin-top: 40px; }
.mobile-nav__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: 15px; color: var(--text-light-muted); }
.mobile-nav__contact a { text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + clamp(48px, 9vh, 120px)) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 0% 100%, rgba(35, 42, 51, 0.9), transparent 70%);
}

/* ---------- rose glow on dark surfaces ----------
   The light behind the hero seal, repeated on every dark surface so they share one atmosphere.
   Each surface sets where the light sits (--glow-x/--glow-y) and how strong it is (--glow).
   It breathes very slowly (transform and opacity only, GPU-cheap) and stands still for reduced motion. */
.hero, .litigation, .offices, .cta-band, .page-hero, .site-footer { position: relative; isolation: isolate; }
.hero::after, .litigation::before, .offices::before, .cta-band::before, .page-hero::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(var(--glow-size, 60% 55%) at var(--glow-x, 78%) var(--glow-y, 38%), rgba(169, 106, 95, var(--glow, 0.13)), transparent 70%);
  transform-origin: var(--glow-x, 78%) var(--glow-y, 38%);
  animation: glow-breathe 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.litigation { --glow-x: 14%; --glow-y: 10%; --glow-size: 60% 55%; --glow: 0.17; }
.offices { --glow-x: 86%; --glow-y: 20%; --glow-size: 60% 55%; --glow: 0.16; }
.cta-band { --glow-x: 80%; --glow-y: 50%; --glow-size: 55% 70%; --glow: 0.16; }
.page-hero { --glow-x: 80%; --glow-y: 30%; --glow-size: 55% 70%; --glow: 0.14; }
.site-footer { --glow-x: 18%; --glow-y: 0%; --glow-size: 50% 45%; --glow: 0.08; }
.litigation::before { animation-delay: -4s; }
.offices::before { animation-delay: -9s; }
.cta-band::before { animation-delay: -2s; }
.site-footer::before { animation-delay: -6s; }
@keyframes glow-breathe {
  from { opacity: 0.7; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after, .litigation::before, .offices::before, .cta-band::before, .page-hero::before, .site-footer::before { animation: none; }
}
.hero__lines {
  position: absolute; inset: 0; z-index: -1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}
.hero__lines span { border-left: 1px solid rgba(246, 243, 242, 0.045); }
.hero__lines span:last-child { border-right: 1px solid rgba(246, 243, 242, 0.045); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  flex: 1;
}
.hero__title {
  font-size: clamp(3.3rem, 8.6vw, 7.9rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.hero__title em { display: inline-block; }
.hero__lead {
  max-width: 33em;
  margin: 0 0 clamp(32px, 4vw, 48px);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-light-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.seal {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  aspect-ratio: 1;
}
.seal__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: seal-spin 90s linear infinite;
}
.seal__ring text {
  font: 600 12.5px var(--sans);
  letter-spacing: 0.32em;
  fill: rgba(246, 243, 242, 0.5);
}
.seal__outer, .seal__inner {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.seal__outer { inset: 0; border: 1px solid var(--line-light); }
.seal__inner { inset: 19%; border: 1px solid rgba(201, 143, 130, 0.55); }
.seal__glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(110px, 13vw, 200px); line-height: 1;
  padding-bottom: 0.26em; /* optical centre: the ink of § sits low in Cormorant's line box (measured 0.13em) */
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }

.facts {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 9vh, 120px);
  border-top: 1px solid var(--line-light);
}
.fact { padding: 30px 24px 40px 0; display: flex; flex-direction: column; gap: 10px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line-light); }
.fact__value { font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; }
.fact__label { font-size: 13.5px; line-height: 1.5; color: var(--text-light-muted); max-width: 17em; }

/* ---------- clients trust band ---------- */
.clients {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.clients__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: 30px 0;
}
.clients__label {
  margin: 0; max-width: 16em; /* 13em was narrower than "Unsere Advokaten" in capitals */
  font: 600 11px/1.6 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--graphite);
}
.clients__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  list-style: none;
  display: flex; width: max-content;
  animation: clients-marquee 70s linear infinite;
}
.clients__viewport:hover .clients__track { animation-play-state: paused; }
.clients__name {
  display: flex; align-items: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1;
  letter-spacing: 0.01em; white-space: nowrap;
  color: var(--anthracite);
}
.clients__name::after {
  content: ""; width: 5px; height: 5px; margin: 0 clamp(28px, 3.4vw, 48px);
  border-radius: 50%; background: var(--rose);
  opacity: 0.8;
}
@keyframes clients-marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-head__lead { margin: 0; max-width: 31em; color: var(--muted); font-size: 1.06rem; }
.on-dark .section-head__lead { color: var(--text-light-muted); }

/* intro */
.intro__top {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 104px); align-items: end;
}
.intro__body p { color: var(--muted); font-size: 1.06rem; }
.intro__body p:first-child { color: var(--anthracite); font-size: 1.16rem; }
.pillars {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(72px, 9vw, 128px);
}
.pillar { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.pillar__num { display: block; margin-bottom: 26px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.3em; color: var(--rose-ink); }
.pillar__title { font-size: clamp(1.55rem, 2.2vw, 1.95rem); margin-bottom: 14px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* advocate vs consultant */
.advocate { background: var(--rose-paper); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 26px 24px; }
.compare thead th {
  padding-top: 22px; padding-bottom: 20px;
  font: 600 11px/1.5 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
}
.compare thead th:first-child { padding-left: 0; }
.compare thead th.is-us { color: var(--rose-ink); position: relative; }
.compare thead th.is-us::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--rose-grad);
}
.compare tbody th {
  width: 44%; padding-left: 0;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3;
}
.compare tbody tr { border-bottom: 1px solid var(--line); }
.compare td { width: 28%; font-size: 15.5px; }
.compare td.is-us { background: rgba(255, 255, 255, 0.55); }
.compare thead th.is-us { background: rgba(255, 255, 255, 0.55); }
.compare__no { color: var(--muted); display: inline-flex; gap: 12px; }
.compare__no::before { content: ""; width: 12px; height: 1px; margin-top: 0.8em; background: var(--graphite); flex: none; }
.compare__yes { font-weight: 500; display: inline-flex; gap: 12px; }
.compare__yes::before {
  content: ""; flex: none; width: 13px; height: 7px; margin-top: 0.45em;
  border-left: 1.5px solid var(--rose-deep); border-bottom: 1.5px solid var(--rose-deep);
  transform: rotate(-45deg);
}
.advocate__note {
  max-width: 52em; margin: clamp(40px, 5vw, 64px) 0 0;
  padding-left: 24px; border-left: 1px solid var(--rose);
  color: var(--muted); font-size: 15.5px;
}

/* services */
.practices { border-top: 1px solid var(--line-strong); }
.practice { border-bottom: 1px solid var(--line-strong); }
.practice__summary {
  list-style: none;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 48px;
  column-gap: 24px;
  padding: clamp(26px, 3vw, 38px) 0;
  cursor: pointer;
}
.practice__summary::-webkit-details-marker { display: none; }
.practice__num {
  grid-row: 1 / span 2;
  padding-top: 0.9em;
  font: 600 11.5px/1 var(--sans); letter-spacing: 0.3em; color: var(--rose-ink);
}
.practice__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.65rem, 3.1vw, 2.65rem); line-height: 1.1;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.practice__teaser { grid-column: 2; margin-top: 10px; max-width: 48em; color: var(--muted); font-size: 15.5px; }
.practice__toggle {
  grid-column: 3; grid-row: 1 / span 2; justify-self: end; align-self: start;
  position: relative; width: 46px; height: 46px; margin-top: 2px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: border-color 0.3s, background-color 0.3s, transform 0.5s var(--ease);
}
.practice__toggle::before, .practice__toggle::after,
.faq-item__toggle::before, .faq-item__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1px; margin: -0.5px 0 0 -7px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.practice__toggle::after, .faq-item__toggle::after { transform: rotate(90deg); }
.practice[open] .practice__toggle::after, .faq-item[open] .faq-item__toggle::after { transform: rotate(0deg); }
.practice__summary:hover .practice__title { transform: translateX(6px); }
.practice__summary:hover .practice__toggle { border-color: var(--rose-deep); }
.practice[open] .practice__toggle { background: var(--anthracite); border-color: var(--anthracite); color: var(--paper); }
.practice__body { padding: 0 0 clamp(40px, 5vw, 56px) 100px; }
.practice__scope {
  margin: 4px 0 28px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--graphite);
}
.practice__groups {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px 44px; margin-bottom: 40px;
}
.practice__group h3 {
  font: 600 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-strong);
}
.practice__group ul { list-style: none; }
.practice__group li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.practice__group li::before {
  content: ""; position: absolute; left: 0; top: 0.75em;
  width: 9px; height: 1px; background: var(--rose-deep);
}

/* animated open for details (progressive enhancement) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .practice::details-content, .faq-item::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 0.55s var(--ease-in-out), content-visibility 0.55s allow-discrete;
  }
  .practice[open]::details-content, .faq-item[open]::details-content { block-size: auto; }
}

/* litigation */
.courts {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.court {
  background: var(--anthracite);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.4vw, 34px) clamp(32px, 3.4vw, 44px);
  display: flex; flex-direction: column;
  transition: background-color 0.5s var(--ease);
}
.court:hover { background: var(--anthracite-2); }
.court__num { margin-bottom: 40px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.3em; color: var(--rose-light); }
.court__title { font-size: clamp(1.5rem, 2vw, 1.8rem); margin-bottom: 14px; hyphens: auto; }
.court p { margin: 0; font-size: 15px; color: var(--text-light-muted); }
.court--cta { background: var(--anthracite-2); justify-content: space-between; gap: 28px; }
.court--cta p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; color: var(--paper); }
/* the ID label is about as wide as the card: smaller side padding, and a second line rather than overflow */
.court--cta .btn { align-self: flex-start; max-width: 100%; padding-inline: 20px; white-space: normal; line-height: 1.4; }

/* audiences */
.audiences__head { max-width: 860px; margin-bottom: clamp(56px, 7vw, 88px); }
.audience-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.6vw, 36px);
}
.audience { border-top: 1px solid var(--anthracite); padding-top: 24px; }
.audience h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 12px; }
.audience p { margin: 0; font-size: 15px; color: var(--muted); }

/* approach */
.approach { background: var(--rose-paper); }
.steps {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px);
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px;
  background: var(--line-strong);
}
.step { position: relative; padding-top: 44px; }
.step__dot {
  position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--rose-grad); box-shadow: 0 0 0 6px var(--rose-paper);
}
.step__num { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 4vw, 3.6rem); line-height: 1; color: var(--graphite); margin-bottom: 22px; }
.step__title { font-size: 1.6rem; margin-bottom: 12px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* offices */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.office {
  position: relative;
  display: flex; flex-direction: column;
  padding-top: 36px;
  border-top: 1px solid var(--line-light-strong);
}
.office::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--rose-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.office:hover::before { transform: scaleX(1); }
.office__tag { margin: 0 0 18px; font: 600 11px/1.4 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose-light); }
.office__city { font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; margin-bottom: 22px; }
.office__text { color: var(--text-light-muted); font-size: 15.5px; margin-bottom: 28px; }
.office__address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--paper); margin-bottom: 24px; }
.office__meta { display: grid; gap: 10px; margin: 0 0 32px; font-size: 15px; }
.office__meta div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.office__meta dt { font: 600 11px/2.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-light-muted); }
.office__meta dd { margin: 0; }
.office__meta a { text-decoration: none; border-bottom: 1px solid var(--line-light-strong); transition: border-color 0.3s; }
.office__meta a:hover { border-color: var(--rose-light); }
.office__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* team */
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.member__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(169, 106, 95, 0.16), transparent 70%),
    linear-gradient(160deg, var(--anthracite-3), var(--anthracite));
  display: grid; place-items: center;
}
.member__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 1s var(--ease); }
.member:hover .member__portrait img { transform: scale(1.03); }
.member__initials {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5vw, 4.4rem);
  letter-spacing: 0.08em; color: rgba(246, 243, 242, 0.9);
}
.member__name { font-size: 1.75rem; margin-bottom: 8px; }
.member__role { margin: 0 0 14px; font: 600 11px/1.5 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose-ink); }
.member__bio { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.member__email { font-size: 14px; color: var(--anthracite); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.member__email:hover { border-color: var(--rose-deep); }

/* faq */
.faq { background: var(--rose-paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .section-head__lead { margin: 28px 0 36px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 24px; align-items: start;
  padding: 26px 0;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover span:first-child { color: var(--rose-deep); }
.faq-item summary span:first-child { transition: color 0.3s; }
.faq-item__toggle { position: relative; width: 32px; height: 32px; }
.faq-item__answer { padding: 0 56px 30px 0; }
.faq-item__answer p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* cta band */
.cta-band { position: relative; padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.cta-band::after {
  content: "§"; position: absolute; right: max(2vw, calc(50% - 760px)); top: 50%;
  transform: translateY(-52%);
  font-family: var(--serif); font-size: clamp(260px, 34vw, 520px); line-height: 1;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.16; pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: end; }
.cta-band__title { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1; margin-bottom: 24px; }
.cta-band__text { margin: 0; max-width: 30em; color: var(--text-light-muted); font-size: 1.1rem; }
.cta-band__actions { display: grid; justify-items: start; gap: 22px; }
.cta-band__call { margin: 0; font-size: 15px; color: var(--text-light-muted); }
.cta-band__call a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-light-strong); }
.cta-band__call a:hover { border-color: var(--rose-light); }

/* footer */
.site-footer { background: var(--night); color: var(--text-light-muted); padding: clamp(72px, 9vw, 112px) 0 40px; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line-light);
}
.footer__brand a { color: var(--paper); text-decoration: none; display: inline-block; margin-bottom: 24px; }
.footer__brand p { max-width: 22em; font-size: 15px; }
.footer__heading { margin: 0 0 22px; font: 600 11px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper); }
.footer__offices, .footer__links { list-style: none; display: grid; gap: 14px; font-size: 14.5px; }
.footer__offices li { display: grid; gap: 2px; }
.footer__city { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); }
.footer__links a { text-decoration: none; transition: color 0.3s; }
.footer__links a:hover { color: var(--paper); }
.footer__cta { display: inline-flex; align-items: center; gap: 10px; color: var(--rose-light); }
.footer__bottom { padding-top: 32px; font-size: 13px; }
.footer__disclaimer { max-width: 62em; margin-bottom: 20px; color: rgba(246, 243, 242, 0.5); }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer__meta p { margin: 0; margin-right: auto; }
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: var(--paper); }

/* legal & 404 */
.page-hero { padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 8vw, 104px); }
.page-hero--full { min-height: 100svh; display: flex; align-items: center; }
.page-hero__title { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1; margin-bottom: 20px; }
.page-hero__meta { margin: 0; font-size: 14px; color: var(--text-light-muted); }
.page-hero__lead { max-width: 34em; margin: 0 0 40px; color: var(--text-light-muted); font-size: 1.12rem; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 72px 0 24px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 12px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin: 36px 0 10px; }
.prose p { color: var(--muted); }
.prose a { color: var(--anthracite); }
.legal__dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px 24px; margin: 0; padding: 28px 0; border-block: 1px solid var(--line); }
.legal__dl dt { font: 600 11px/1.9 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--graphite); }
.legal__dl dd { margin: 0; }
.legal__back { margin-top: 64px; }

/* ---------- contact dialog ---------- */
.contact-dialog {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  overflow: hidden;
}
.contact-dialog::backdrop {
  background: rgba(10, 12, 15, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.contact-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(620px, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 56px) clamp(32px, 5vw, 56px);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.5);
}
.contact-dialog[open] .contact-panel { animation: panel-in 0.6s var(--ease) both; }
.contact-dialog[open]::backdrop { animation: fade-in 0.4s ease both; }
@keyframes panel-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
.contact-panel__close {
  position: sticky; top: 0; float: right; z-index: 2;
  width: 46px; height: 46px; margin: -6px -8px 0 16px;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.contact-panel__close:hover { border-color: var(--anthracite); transform: rotate(90deg); }
.contact-panel__head .eyebrow { margin-bottom: 20px; }
.contact-panel__title { font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1.02; margin-bottom: 16px; }
.contact-panel__lead { color: var(--muted); font-size: 15.5px; margin-bottom: 36px; }
.contact-panel.is-sent .contact-panel__head { display: none; }

.contact-form { display: grid; gap: 26px; }
.contact-form[hidden], .contact-success[hidden] { display: none; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field__label {
  padding: 0;
  font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--anthracite);
}
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  font: 400 16.5px/1.4 var(--sans); color: var(--anthracite);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input::placeholder { color: rgba(20, 24, 29, 0.38); }
.input:hover { border-bottom-color: rgba(20, 24, 29, 0.4); }
.input:focus { outline: none; border-bottom-color: var(--anthracite); box-shadow: 0 1px 0 0 var(--anthracite); }
.input--area { min-height: 120px; resize: vertical; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1px solid var(--anthracite); border-bottom: 1px solid var(--anthracite);
  transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 28px; cursor: pointer; }
.select select:invalid { color: rgba(20, 24, 29, 0.45); }
.select option { color: var(--anthracite); }
.field__hint { margin: 0; font-size: 12.5px; color: var(--graphite); }
.field__error { margin: 0; min-height: 0; font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.field.is-invalid .input { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field.is-invalid .field__hint { display: none; }

.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.choice__option { position: relative; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: flex; flex-direction: column; gap: 6px;
  height: 100%;
  padding: 16px 16px 14px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.choice__city { font-family: var(--serif); font-size: 1.45rem; line-height: 1; font-weight: 500; }
.choice__tag { font-size: 11.5px; line-height: 1.35; color: var(--graphite); transition: color 0.3s; }
.choice__option:hover .choice__box { border-color: var(--anthracite); }
.choice__option input:checked + .choice__box { background: var(--anthracite); border-color: var(--anthracite); color: var(--paper); }
.choice__option input:checked + .choice__box .choice__tag { color: var(--rose-light); }
.choice__option input:focus-visible + .choice__box { outline: 2px solid var(--rose); outline-offset: 2px; }
.field.is-invalid .choice__box { border-color: rgba(158, 47, 37, 0.55); }

.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.check__box {
  position: relative; width: 20px; height: 20px; margin-top: 2px;
  border: 1px solid var(--line-strong); background: var(--white);
  transition: background-color 0.25s, border-color 0.25s;
}
.check__box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border-right: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper);
  transform: rotate(45deg) scale(0.6); opacity: 0; transition: opacity 0.2s, transform 0.3s var(--ease);
}
.check input:checked + .check__box { background: var(--anthracite); border-color: var(--anthracite); }
.check input:checked + .check__box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--rose); outline-offset: 2px; }
.field.is-invalid .check__box { border-color: var(--error); }
.check__text { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.check__text a { color: var(--anthracite); }

.contact-form__disclaimer { margin: -6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--graphite); }
.contact-form__status { margin: 0; font-size: 14px; color: var(--error); }
.contact-form__status:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-success { padding-top: clamp(40px, 10vh, 120px); text-align: left; outline: none; }
.contact-success__mark {
  display: block; margin-bottom: 28px;
  font-family: var(--serif); font-size: 88px; line-height: 1;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-success__title { font-size: clamp(2.2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.contact-success__text { color: var(--muted); max-width: 28em; margin-bottom: 36px; }
.contact-success__preview { margin: -20px 0 36px; max-width: 28em; font-size: 13px; letter-spacing: 0.02em; color: var(--muted); }

/* WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--anthracite); color: var(--paper);
  border: 1px solid rgba(201, 143, 130, 0.6);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px); border-color: var(--rose-light); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Hero animates on first paint (CSS only) so the headline never waits for JS. */
.js .hero [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: rise 1.1s var(--ease) both;
}
.js .hero [data-reveal]:nth-child(2) { animation-delay: 0.08s; }
.js .hero [data-reveal]:nth-child(3) { animation-delay: 0.16s; }
.js .hero [data-reveal]:nth-child(4) { animation-delay: 0.24s; }
.js .hero .seal { animation-delay: 0.2s; }
.js .hero .fact { animation-delay: 0.3s; }
.js .hero .fact:nth-child(2) { animation-delay: 0.38s; }
.js .hero .fact:nth-child(3) { animation-delay: 0.46s; }
.js .hero .fact:nth-child(4) { animation-delay: 0.54s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .clients__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 24px; }
  .clients__logo[aria-hidden="true"] { display: none; }
  .pulse::after { display: none; }
  .clients__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- emergency (WhatsApp to Simon) ---------- */
.pulse {
  position: relative; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose-light);
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--rose-light);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.emergency-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(217, 162, 150, 0.45); border-radius: 999px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose-light); text-decoration: none; white-space: nowrap;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.emergency-pill:hover { background: rgba(217, 162, 150, 0.12); border-color: var(--rose-light); color: var(--paper); }
.btn--emergency {
  background: transparent; color: var(--paper);
  border-color: rgba(217, 162, 150, 0.55);
}
.btn--emergency .icon--wa { width: 17px; height: 17px; }
.btn--emergency:hover { border-color: var(--rose-light); background: rgba(217, 162, 150, 0.1); }
.hero__emergency { margin: 28px 0 0; }
.hero__emergency-link {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 14.5px; color: var(--text-light-muted); text-decoration: none;
}
.hero__emergency-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-light);
  padding-bottom: 4px; border-bottom: 1px solid rgba(217, 162, 150, 0.45);
  transition: color 0.3s, border-color 0.3s;
}
.hero__emergency-cta .icon--wa { width: 16px; height: 16px; }
.hero__emergency-link:hover .hero__emergency-cta { color: var(--paper); border-color: var(--paper); }
.emergency-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 18px;
  background: var(--anthracite); color: var(--paper);
  border: 1px solid rgba(217, 162, 150, 0.6); border-radius: 999px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), border-color 0.3s, opacity 0.4s;
}
.emergency-float .icon--wa { width: 22px; height: 22px; }
.emergency-float:hover { transform: translateY(-3px); border-color: var(--rose-light); }
body.dialog-open .emergency-float, body.menu-open .emergency-float { opacity: 0; pointer-events: none; }
/* Desktop: the fixed header always shows the emergency pill, so the floating button would only duplicate it
   and cover content (table column, FAQ toggle). It stays for tablets and phones. */
@media (min-width: 1024px) {
  .emergency-float { display: none; }
}
.footer__emergency, .post-cta__emergency {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rose-light);
}
.post-cta__emergency { margin-top: 18px; color: var(--rose-deep); font-size: 14px; }
.post-cta__emergency .pulse, .post-cta__emergency .pulse::after { background: var(--rose-deep); border-color: var(--rose-deep); }
.post-cta__emergency .pulse::after { background: none; }

/* ---------- criminal defence ---------- */
.criminal {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(48px, 6vw, 80px);
  background: var(--anthracite-2);
  border: 1px solid var(--line-light);
  position: relative;
}
.criminal::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--rose-grad);
}
.criminal__label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 600 11.5px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose-light);
}
.criminal__num { color: var(--text-light-muted); }
.criminal__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.criminal__title em { background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.criminal__lead { color: var(--text-light-muted); font-size: 1.04rem; }
.criminal__exclusion {
  margin: 24px 0 0; padding: 14px 16px;
  border-left: 1px solid var(--rose); background: rgba(246, 243, 242, 0.04);
  font-size: 14.5px; color: var(--paper);
}
.criminal__urgent { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.criminal__urgent > p { margin: 0 0 16px; font-family: var(--serif); font-size: 1.35rem; color: var(--paper); }
.criminal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.criminal__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; align-content: start; }
.criminal__group h4 {
  font: 600 11.5px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-light-strong);
}
.criminal__group ul { list-style: none; }
.criminal__group li { position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 14.5px; line-height: 1.55; color: var(--text-light-muted); }
.criminal__group li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--rose-light); }

/* ---------- client logos ---------- */
.clients__track { align-items: center; }
.clients__logo { display: flex; align-items: center; padding: 0 clamp(28px, 3.6vw, 52px); }
.clients__logo img { width: auto; height: auto; max-height: 56px; }

/* ---------- video: introduction + testimonials ---------- */
.meet__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.meet .section-head__lead { margin: 24px 0 40px; }
.player__tabs { display: grid; border-top: 1px solid var(--line-light); }
.player__tab {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 4px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line-light);
  cursor: pointer; color: var(--text-light-muted);
  transition: color 0.3s, padding 0.4s var(--ease);
}
.player__tab-lang { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.player__tab-person { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.player__tab:hover { color: var(--paper); }
.player__tab[aria-selected="true"] { color: var(--paper); padding-left: 18px; box-shadow: inset 2px 0 0 var(--rose-light); }
.player__tab[aria-selected="true"] .player__tab-person { color: var(--rose-light); }
.player__panel[hidden] { display: none; }
.player__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(70% 70% at 70% 30%, rgba(169, 106, 95, 0.18), transparent 70%),
    linear-gradient(150deg, var(--anthracite-3), #0d1014);
  border: 1px solid var(--line-light);
}
.player__frame video, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__poster, .player__placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 0; border: 0; background: none; color: inherit;
}
.player__poster { cursor: pointer; }
.player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__monogram { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7.5rem); letter-spacing: 0.08em; color: rgba(246, 243, 242, 0.85); }
.player__placeholder .chip { position: absolute; left: 20px; bottom: 20px; }
.player__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 18px 0 0; }
.player__name { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
.player__role { font: 600 11px/2.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-light); }
.play-btn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(20, 24, 29, 0.55); border: 1px solid rgba(246, 243, 242, 0.6); color: var(--paper);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s;
}
.play-btn .icon--play { width: 26px; height: 26px; margin-left: 4px; }
.player__poster:hover .play-btn, .testimonial__media:hover .play-btn { transform: scale(1.08); background: rgba(169, 106, 95, 0.75); border-color: var(--rose-light); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line-light-strong); border-radius: 999px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light-muted);
  background: rgba(20, 24, 29, 0.5);
}
.chip--dark { border-color: var(--line-strong); color: var(--muted); background: rgba(255, 255, 255, 0.6); }

.testimonial-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.testimonial__media {
  position: relative; display: grid; place-items: center; width: 100%;
  aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 0; color: inherit;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(169, 106, 95, 0.14), transparent 70%),
    var(--rose-paper);
}
button.testimonial__media { cursor: pointer; background: var(--anthracite); }
.testimonial__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
button.testimonial__media:hover img { transform: scale(1.03); }
.testimonial__quote { font-family: var(--serif); font-size: clamp(7rem, 12vw, 10rem); line-height: 0.6; color: rgba(169, 106, 95, 0.35); margin-top: 0.3em; }
.testimonial__media--empty .chip { position: absolute; left: 18px; bottom: 18px; }
.testimonial__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 0; }
.testimonial__num { font: 600 11px/1 var(--sans); letter-spacing: 0.3em; color: var(--rose-ink); }
.testimonial__name { font-family: var(--serif); font-size: 1.4rem; }
.testimonial__role { font-size: 14px; color: var(--muted); }

.video-dialog {
  width: min(1100px, 100vw - 2 * var(--gutter)); max-width: none; padding: 0; border: 0;
  background: #000; overflow: visible;
}
.video-dialog::backdrop { background: rgba(10, 12, 15, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-dialog__frame { position: relative; aspect-ratio: 16 / 9; }
.video-dialog__frame video, .video-dialog__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-dialog__close {
  position: absolute; right: 0; top: -58px; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%;
  background: transparent; color: var(--paper); border: 1px solid var(--line-light-strong); cursor: pointer;
}

/* ---------- blog ---------- */
.section--rule { border-top: 1px solid var(--line); }
.section.post, .section.blog, .section.legal { padding-top: clamp(56px, 7vw, 96px); }
.section-head__side { display: grid; gap: 22px; justify-items: start; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--anthracite); text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.link-arrow:hover { border-color: var(--anthracite); }
.link-arrow:hover .icon--arrow { transform: translateX(5px); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 22px; background: var(--anthracite); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px;
  background:
    radial-gradient(70% 80% at 85% 15%, rgba(169, 106, 95, 0.28), transparent 65%),
    linear-gradient(160deg, var(--anthracite-3), var(--anthracite));
}
.post-card__placeholder::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line-light-strong);
}
.post-card__topic { font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose-light); }
.post-card__meta { margin: 0 0 10px; font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); }
.post-card__title { font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.18; margin-bottom: 12px; transition: color 0.3s; }
.post-card__link:hover .post-card__title { color: var(--rose-deep); }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.post-card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
}
.post-card__link:hover .icon--arrow { transform: translateX(5px); }
.blog__note { margin: 0 0 40px; padding: 14px 18px; border-left: 1px solid var(--rose); background: var(--rose-paper); font-size: 14.5px; color: var(--muted); }
.blog__empty { font-family: var(--serif); font-size: 1.6rem; color: var(--muted); }
.page-hero__title--wide { max-width: 15em; }
.page-hero__title--post { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.06; max-width: 18em; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { color: var(--paper); }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose--post { max-width: 720px; font-size: 1.06rem; }
.prose--post p, .prose--post li { color: var(--ink-soft); line-height: 1.75; }
.prose--post h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 56px 0 18px; }
.prose--post h3 { font: 600 13px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 36px 0 12px; }
.prose--post ul, .prose--post ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.prose--post li { margin-bottom: 0.5em; }
.prose--post li::marker { color: var(--rose-deep); }
.prose--post blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--rose); font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--anthracite); }
.prose--post img { max-width: 100%; height: auto; margin: 32px 0; }
.prose--post table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.prose--post th, .prose--post td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.post__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 40px !important; }
.post__aside { position: sticky; top: 110px; }
.post-cta { padding: 32px 28px; background: var(--rose-paper); border-top: 2px solid var(--rose-deep); }
.post-cta__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: 0 0 12px; }
.post-cta__text { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .header__nav { display: none; }
  .burger { display: inline-flex; }
}

/* Four court columns need about 280px each; below that long German words overflow the cards */
@media (max-width: 1360px) {
  .courts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .header__nav { display: none; }
  .burger { display: inline-flex; }
  .audience-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .courts { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .seal, .js .seal.is-visible { position: absolute; right: -28%; top: 0; width: min(78vw, 420px); opacity: 0.16; z-index: -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .section-head, .intro__top, .faq__grid, .cta-band__inner { grid-template-columns: 1fr; align-items: start; }
  .faq__intro { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--line-strong); padding-top: 32px; }
  .step__dot { top: -5px; box-shadow: 0 0 0 5px var(--rose-paper); }
  .office-grid { grid-template-columns: 1fr; gap: 72px; }
  .clients__inner { grid-template-columns: 1fr; gap: 16px; padding: 26px 0 30px; }
  .clients__label { max-width: none; }
  .clients__viewport { margin-inline: calc(-1 * var(--gutter)); }
  .meet__grid, .criminal, .post__grid { grid-template-columns: 1fr; }
  .post__aside { position: static; }
  .testimonial-grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .testimonial { scroll-snap-align: start; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .header__cta { display: none; }
  .header__actions { gap: 14px; }
  .logo { gap: 11px; }
  .logo__mark { font-size: 30px; }
  .logo__divider { height: 28px; }
  .logo__word { font-size: 18px; }
  .logo__sub { font-size: 7.5px; letter-spacing: 0.38em; }
  .eyebrow { letter-spacing: 0.28em; }
  .hero { min-height: auto; }
  .hero__actions .btn { width: 100%; }
  .fact { padding: 24px 12px 28px 0; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact__label { font-size: 12.5px; }
  .practice__summary { grid-template-columns: minmax(0, 1fr) 40px; column-gap: 16px; }
  .practice__num { grid-row: auto; grid-column: 1; padding: 0 0 12px; }
  .practice__title { grid-column: 1; }
  .practice__teaser { grid-column: 1; }
  .practice__toggle { grid-column: 2; grid-row: 1 / span 3; width: 40px; height: 40px; align-self: center; }
  .practice__body { padding-left: 0; }
  .practice__summary:hover .practice__title { transform: none; }

  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 24px 0; }
  .compare tbody th { width: 100%; padding: 0 0 16px; }
  .compare td { padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; }
  .compare td::before {
    content: attr(data-label);
    font: 600 10px/1.6 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite);
  }
  .compare td.is-us::before { color: var(--rose-deep); }

  .courts { grid-template-columns: 1fr; }
  .court__num { margin-bottom: 24px; }
  .audience-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 44px; }
  .member__name { font-size: 1.4rem; }
  .member__bio { font-size: 14px; }
  .member__email { font-size: 12.5px; word-break: break-all; }
  .faq-item__answer { padding-right: 0; }
  .cta-band::after { right: -20%; opacity: 0.1; }
  .cta-band__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .legal__dl { grid-template-columns: 1fr; gap: 4px; }
  .legal__dl dd { margin-bottom: 14px; }

  .emergency-pill { display: none; }
  .emergency-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 50px; padding: 0 16px 0 14px; }
  .criminal { padding: 28px 20px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .criminal__groups { grid-template-columns: 1fr; }
  .criminal__actions .btn { width: 100%; }
  .clients__logo { padding: 0 22px; }
  .clients__logo img { transform: scale(0.82); }
  .post-grid { grid-template-columns: 1fr; }
  .player__tab-lang { font-size: 1.25rem; }
  .play-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .video-dialog__close { top: -52px; }

  .field-row { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
  .choice__box { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 16px; }
  .contact-panel__close { margin-right: -4px; }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line-light); }
}

/* Two partners: wide cards with the portrait beside the text (class set by the build when the team has ≤ 2 people) */
.team-grid.team-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); row-gap: 48px; }
.team-grid--duo .member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr repeat(4, auto); column-gap: clamp(20px, 2.4vw, 36px); }
.team-grid--duo .member__portrait { grid-column: 1; grid-row: 1 / -1; margin-bottom: 0; }
.team-grid--duo .member > :not(.member__portrait) { grid-column: 2; }
.team-grid--duo .member__name { grid-row: 2; }
.team-grid--duo .member__role { grid-row: 3; }
.team-grid--duo .member__bio { grid-row: 4; margin-bottom: 0; }
.team-grid--duo .member__email { grid-row: 5; margin-top: 14px; justify-self: start; }
@media (max-width: 960px) {
  .team-grid.team-grid--duo { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 420px) {
  .team-grid--duo .member { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: 16px; }
}
