/* SHR Rechtsanwälte – Variante 3 „Hell & präzise“
   Weiß, Serifenschrift für Überschriften, feine Linien statt Karten, kantige Formen.
   Farben aus dem Logo: Schwarz, Stahlblau, Hellgrau. Mobil zuerst. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --text: #3a4149;
  --muted: #5d6873;
  --line: #dce2e8;
  --haze: #f4f6f8;
  --blue: #3b6789;
  --sky: #5c8cb0;
  --white: #fff;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 20px;
  --wrap: 1240px;
  --head: 64px;
  --sec: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 700px) { :root { --pad: 36px; } }
@media (min-width: 1000px) { :root { --pad: 48px; --head: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Schrift ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 5.3vw, 4.25rem); line-height: 1.04; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.5rem; line-height: 1.2; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 38em; text-wrap: pretty; }
.lead--ink { color: var(--ink); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; }

/* Kleine Zeile über Überschriften: kurze blaue Linie + Versalien */
.label { display: flex; align-items: center; gap: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.label--light { color: #fff; }

.no { font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.08em; color: var(--blue); font-variant-numeric: tabular-nums; }

/* ---------- Schaltflächen und Links ---------- */

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 12px 20px 12px 22px; border: 1px solid var(--ink); border-radius: 2px; font-weight: 600; font-size: 1rem; line-height: 1.2; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.35s var(--ease); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
@media (hover: hover) {
  .btn--solid:hover { background: var(--blue); border-color: var(--blue); }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn:hover svg { transform: translateX(4px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); padding-bottom: 5px; border-bottom: 1px solid var(--ink); transition: color 0.25s, border-color 0.25s; }
.more svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
@media (hover: hover) {
  .more:hover, a:hover > .lcard-txt .more { color: var(--blue); border-color: var(--blue); }
  .more:hover svg, a:hover > .lcard-txt .more svg { transform: translateX(4px); }
}

/* ---------- Kopfzeile ---------- */

.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.scrolled .head, .menu-open .head { border-bottom-color: var(--line); }
.menu-open .head { background: #fff; }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head); }
.brand { flex: none; margin-right: auto; }
.brand img { height: 38px; width: auto; }
.nav, .head-akte { display: none; }
.burger { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px 0 8px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.burger-i { position: relative; width: 26px; height: 12px; }
.burger-i i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger-i i:first-child { top: 0; }
.burger-i i:last-child { top: 10.5px; }
.menu-open .burger-i i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger-i i:last-child { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1000px) {
  .brand img { height: 48px; }
  .burger { display: none; }
  .nav { display: block; }
  .nav ul { display: flex; gap: clamp(20px, 2.6vw, 38px); }
  .nav a { position: relative; display: block; padding: 10px 0; font-size: 0.9688rem; font-weight: 500; color: var(--ink); }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .nav a[aria-current] { color: var(--blue); }
  .head-akte { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; margin-left: 8px; border: 1px solid var(--line); border-radius: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); transition: border-color 0.25s, color 0.25s; }
  .head-akte svg { width: 18px; height: 18px; color: var(--blue); }
  .head-akte:hover { border-color: var(--blue); color: var(--blue); }
}

/* Menü (Handy und Tablet): ganze Fläche, große Zeilen */
.menu { position: fixed; inset: var(--head) 0 0; z-index: 49; background: #fff; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s; }
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s; }
.menu-open body { overflow: hidden; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 12px var(--pad) calc(24px + env(safe-area-inset-bottom)); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: flex; align-items: baseline; gap: 18px; padding: 17px 0; font: 500 1.5rem/1.2 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.menu-list a span { font: 500 0.75rem/1 var(--sans); letter-spacing: 0.08em; color: var(--blue); width: 22px; }
.menu-list a[aria-current] { color: var(--blue); }
.menu-foot { display: grid; gap: 10px; }
.menu-foot .btn { width: 100%; }
@media (min-width: 1000px) { .menu { display: none; } }

/* ---------- Startseite: Auftakt ---------- */

.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero-in { display: grid; gap: 36px; }
.hero h1 span { display: block; }
.hero h1 .alt { color: var(--blue); }
.hero .lead { margin-top: 24px; }
.hero .actions { margin-top: 30px; }
.hero-fig { position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 36%; border-radius: 2px; }
.hero-fig figcaption { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: space-between; padding-top: 12px; font-size: 0.8125rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.hero-fig figcaption span:first-child { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) {
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: end; }
  .hero-txt { padding-bottom: 46px; }
  .hero-fig img { aspect-ratio: 5 / 6; max-height: min(74vh, 720px); object-position: 50% 40%; }
}

/* Kennzahlen */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip--top { border-top: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 26px 16px 26px 0; display: grid; gap: 8px; align-content: start; }
.facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.facts strong { font: 400 clamp(1.75rem, 3.8vw, 3rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.facts span { font-size: 0.9063rem; line-height: 1.45; color: var(--muted); max-width: 22em; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(even) { padding: 40px 28px; border-left: 1px solid var(--line); border-top: 0; }
  .facts li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Abschnitte ---------- */

.sec { padding: var(--sec) 0; }
.sec--haze { background: var(--haze); }
.sec--line { border-top: 1px solid var(--line); }
.sec--flush { padding-top: 0; }
.shead { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.shead .lead { margin-top: 18px; }

/* Zwei Spalten: Überschrift links, Inhalt rechts */
.duo { display: grid; gap: 28px; }
.duo h2 + .lead { margin-top: 18px; }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .duo--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* Kompetenzen als Verzeichnis */
.index { border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 4px 8px; padding: 22px 0; align-items: start; transition: background-color 0.3s; }
.index .no { padding-top: 0.55em; }
.index h3 { font-size: clamp(1.3125rem, 2.4vw, 1.75rem); transition: color 0.25s; }
.index p { grid-column: 2 / 3; font-size: 0.9688rem; line-height: 1.5; color: var(--muted); }
.index svg { grid-column: 3; grid-row: 1; width: 22px; height: 22px; margin-top: 0.3em; color: var(--ink); transition: transform 0.35s var(--ease), color 0.25s; }
@media (min-width: 900px) {
  .index a { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr) 32px; gap: 0 32px; padding: 30px 0; align-items: baseline; }
  .index .no { padding-top: 0; }
  .index p { grid-column: 3; font-size: 1rem; }
  .index svg { grid-column: 4; align-self: center; margin: 0; }
}
@media (hover: hover) {
  .index a:hover h3, .index a:hover svg { color: var(--blue); }
  .index a:hover svg { transform: translateX(6px); }
}

/* Herkunft */
.zeit { margin: 28px 0 32px; border-top: 1px solid var(--ink); }
.zeit li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; color: var(--ink); }
.zeit .yr { font: 600 1.0625rem/1.4 var(--sans); color: var(--blue); font-variant-numeric: tabular-nums; }
.duo > div > .zeit:first-child { margin-top: 0; }
.duo > div > .zeit:last-child { margin-bottom: 0; }

/* Drei Spalten */
.cols3 { display: grid; gap: 0; }
.cols3 li { padding: 24px 0 28px; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.cols3 p { color: var(--muted); max-width: 30em; }
@media (min-width: 800px) {
  .cols3 { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
  .cols3 li { padding-bottom: 0; }
  .cols3 h3 { margin-top: 18px; }
}

/* Anwälte: Foto mit blauem Namensband (wie im Logo) */
.portrait { background: var(--haze); border-radius: 2px; overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); }
.portrait figcaption { background: var(--blue); color: #fff; padding: 13px 16px 14px; font: 600 1.0625rem/1.25 var(--sans); letter-spacing: -0.005em; }
.lgrid { display: grid; gap: 40px; }
.lcard { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; align-items: start; }
.lcard .portrait figcaption { font-size: 0.9375rem; padding: 10px 12px 11px; }
.lcard-txt { display: grid; gap: 14px; justify-items: start; }
.role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.plain { width: 100%; border-top: 1px solid var(--line); }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.4; color: var(--ink); }
@media (min-width: 620px) {
  .lgrid { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
  .lcard { grid-template-columns: 1fr; gap: 22px; }
  .lcard .portrait figcaption { font-size: 1.125rem; padding: 14px 18px 15px; }
}

/* Mandanten */
.who { display: grid; border-top: 1px solid var(--ink); }
.who li { padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 1.0625rem/1.4 var(--sans); color: var(--ink); }
@media (min-width: 620px) {
  .who { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

.areale { margin-top: 28px; border-top: 1px solid var(--ink); }
.duo > div > .areale:first-child { margin-top: 0; }
.areale li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.areale small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.areale p { font: 500 clamp(1.1875rem, 2vw, 1.5rem)/1.25 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
@media (min-width: 620px) {
  .areale li { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; }
}

.names { margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 22px; justify-items: start; grid-template-columns: minmax(0, 1fr); }
.names-h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.names .refs { width: 100%; }
.refs.refs--start { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 800px) { .refs.refs--start { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Blaues Band (Kontakt) ---------- */

.band { background: var(--blue); color: #e6eef4; padding: clamp(56px, 8vw, 104px) 0; }
.band-in { display: grid; gap: 36px; }
.band h2 { color: #fff; }
.band h2 + p { margin-top: 16px; max-width: 30em; }
.band-links { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.band-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.band-links a { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 16px; padding: 16px 0; align-items: center; color: #fff; }
.band-links small { grid-column: 1; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #d3e1ec; }
.band-links span { grid-column: 1; font: 500 clamp(1.125rem, 2vw, 1.4375rem)/1.3 var(--sans); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.band-links svg { grid-column: 2; grid-row: 1 / 3; width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
@media (hover: hover) { .band-links a:hover svg { transform: translateX(6px); } }
@media (min-width: 900px) {
  .band-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
}

/* ---------- Fußzeile ---------- */

.foot { padding: clamp(48px, 6vw, 80px) 0 28px; font-size: 0.9375rem; color: var(--muted); }
.foot-in { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 18px; max-width: 24rem; }
.foot-brand img { width: 132px; }
.foot-h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot li { padding: 4px 0; }
.foot a { color: var(--text); transition: color 0.2s; }
.foot a:hover { color: var(--blue); }
.foot-in > div:last-child { grid-column: 1 / -1; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 0.8438rem; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-legal li { padding: 0; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); gap: 40px; }
  .foot-brand, .foot-in > div:last-child { grid-column: auto; }
}

/* Anruf-Leiste auf dem Handy */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); padding-bottom: env(safe-area-inset-bottom); transform: translateY(105%); transition: transform 0.4s var(--ease); }
.mbar.on { transform: none; }
.menu-open .mbar { transform: translateY(105%); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; color: #fff; font-weight: 600; font-size: 0.9688rem; }
.mbar a + a { border-left: 1px solid rgba(255, 255, 255, 0.35); }
.mbar svg { width: 19px; height: 19px; }
@media (max-width: 999px) { .foot { padding-bottom: calc(82px + env(safe-area-inset-bottom)); } }
@media (min-width: 1000px) { .mbar { display: none; } }

/* ---------- Unterseiten ---------- */

.phead { padding: clamp(36px, 6vw, 88px) 0 clamp(40px, 6vw, 72px); }
.phead h1 { max-width: 20em; font-size: clamp(2.125rem, 4.6vw, 3.75rem); }
.phead .lead { margin-top: 22px; }
.phead--legal { padding-bottom: clamp(28px, 4vw, 44px); }
.phead-note { margin-top: 18px; color: var(--muted); display: grid; gap: 6px; max-width: 44rem; }
.phead-note a, .legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Kompetenzen: aufklappbare Rechtsgebiete */
.accs { border-top: 1px solid var(--ink); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 8px; align-items: baseline; padding: 22px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { font-size: clamp(1.375rem, 3vw, 2.125rem); transition: color 0.25s; }
.acc summary:hover h2, .acc[open] summary h2 { color: var(--blue); }
.acc-x { position: relative; width: 22px; height: 22px; align-self: center; justify-self: end; }
.acc-x::before, .acc-x::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); transition: transform 0.35s var(--ease); }
.acc-x::after { transform: rotate(90deg); }
.acc[open] .acc-x::after { transform: rotate(0deg); }
.acc-body { padding: 0 0 36px; display: grid; gap: 24px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; }
@media (min-width: 900px) {
  .acc summary { grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 32px; padding: 30px 0; }
  .acc-body { padding: 4px 64px 52px 104px; gap: 30px; }
}

/* Zeilenliste mit feinen Linien */
.rows { border-top: 1px solid var(--line); }
.rows li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink); break-inside: avoid; }
.rows li::before { content: ""; position: absolute; left: 0; top: 1.38em; width: 10px; height: 1px; background: var(--blue); }
@media (min-width: 900px) {
  .rows--two { columns: 2; column-gap: 48px; border-top: 0; }
  .rows--two li { border-top: 1px solid var(--line); border-bottom: 0; }
}

/* Anwälte, ausführlich */
.lawyer { display: grid; gap: 28px; padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--ink); scroll-margin-top: var(--head); }
.lawyer-side .portrait { max-width: 300px; }
.lawyer-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.lawyer-body .lead { margin-top: 12px; color: var(--muted); }
.lawyer-body h3 { margin: 40px 0 16px; font-size: 1.375rem; }
.vita { border-top: 1px solid var(--line); }
.vita li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.vita .yr { font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; font-size: 0.9375rem; padding-top: 0.08em; }
.vita span:last-child { color: var(--ink); }
.extra { margin-top: 32px; display: grid; gap: 20px; }
.extra dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.extra dd { color: var(--ink); line-height: 1.5; }
@media (min-width: 620px) { .extra { grid-template-columns: 1fr 2fr; gap: 32px; } }
@media (min-width: 900px) {
  .lawyer { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
  .lawyer-side .portrait { max-width: 340px; position: sticky; top: calc(var(--head) + 28px); }
}

/* Bild über die ganze Breite */
.wide img { width: 100%; height: clamp(220px, 40vw, 520px); object-fit: cover; object-position: 50% 45%; }

/* Referenzen: Logos */
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
/* Logos zunächst in Graustufen, farbig beim Überfahren, Antippen oder Fokus */
.ref { position: relative; aspect-ratio: 3 / 2; background: var(--tile, #fff); overflow: hidden; filter: grayscale(1); transition: filter 0.45s var(--ease); }
.ref:hover, .ref:focus-within, .ref:active { filter: none; }
.ref img { position: absolute; left: 13%; top: 15%; width: 74%; height: 70%; object-fit: contain; }
.ref-link { position: absolute; inset: 0; }
.ref-link:focus-visible { outline-offset: -3px; }
@media (min-width: 560px) { .refs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .refs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .refs { grid-template-columns: repeat(6, 1fr); } }

/* Kontakt */
.cgrid { display: grid; border-top: 1px solid var(--ink); }
.cgrid > div { padding: 26px 0 30px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; justify-items: start; }
.cgrid h2 { font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.cgrid p { color: var(--text); line-height: 1.55; }
.cgrid .big { font: 500 clamp(1.1875rem, 2.2vw, 1.5rem)/1.3 var(--sans); letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.cgrid .more { margin-top: 6px; }
.note { margin-top: 28px; max-width: 46rem; font-size: 0.9375rem; color: var(--muted); padding-left: 16px; border-left: 2px solid var(--sky); }
@media (min-width: 760px) {
  .cgrid { grid-template-columns: 1fr 1fr; }
  .cgrid > div { padding: 36px 40px 40px 0; }
  .cgrid > div:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
}
.duo .actions { margin-top: 28px; }
.list-h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dl { border-top: 1px solid var(--ink); }
.dl li { border-bottom: 1px solid var(--line); }
.dl a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; color: var(--ink); font-weight: 500; transition: color 0.25s; }
.dl svg { width: 22px; height: 22px; color: var(--blue); }
.dl small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dl a:hover { color: var(--blue); }

/* Rechtstexte */
.legal { max-width: 46rem; border-top: 1px solid var(--ink); }
.legal section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal section > * + * { margin-top: 14px; }
.legal h2 { font-size: 1.5rem; }
.legal ul { display: grid; gap: 6px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--blue); }
.legal strong { color: var(--ink); }
.legal .actions { margin-top: 28px; }
.legal p, .legal li { overflow-wrap: anywhere; }

/* ---------- Bewegung ---------- */

.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (max-width: 899px) { .js .rv { transition-delay: 0s; } }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
.hero-txt > * { animation: rise 0.8s var(--ease) both; }
.hero-txt > :nth-child(2) { animation-delay: 0.06s; }
.hero-txt > :nth-child(3) { animation-delay: 0.14s; }
.hero-txt > :nth-child(4) { animation-delay: 0.2s; }
.hero-fig { animation: show 1.1s ease 0.1s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .head, .menu, .mbar, .band { display: none; }
  .js .rv { opacity: 1; transform: none; }
}
