/* SHR Rechtsanwälte – Website
   Farben aus dem Logo: Stahlblau #5C8CB0, Fast-Schwarz #1A1A1A, Weiß */

@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: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  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;
  --blue: #5c8cb0;
  --blue-deep: #3b6789;
  --blue-soft: #dfe8f0;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #55606b;
  --line: rgba(26, 26, 26, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }

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

/* ---------- Typografie ---------- */
.serif { font-family: var(--serif); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 8px; background: var(--blue); flex: none; }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #2c343b; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.2s;
}
.text-link:hover { gap: 16px; color: var(--blue-deep); }
.arrow { width: 18px; height: 10px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s, gap 0.3s var(--ease);
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); gap: 18px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--line-light { background: transparent; border-color: rgba(26, 26, 26, 0.55); color: var(--ink); }
.btn--line-light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}
.header.is-stuck .header-in { height: 68px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; transition: height 0.35s var(--ease); }
.header.is-stuck .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; font-size: 15px; font-weight: 500; padding: 8px 0; color: #2a3138;
  transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-tel { font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-tel:hover { color: var(--blue-deep); }
.btn--akte { min-height: 44px; padding: 0 18px; font-size: 14.5px; gap: 10px; }
.btn--akte svg { width: 15px; height: 15px; }
.burger { display: none; width: 46px; height: 46px; position: relative; margin-right: -8px; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.3s;
  overflow-y: auto;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-open body { overflow: hidden; }
.mobile-nav ul a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-nav ul a span { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--blue-deep); }
.mobile-nav-foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-nav-foot .btn { width: 100%; }
.mobile-nav-foot .btn svg { width: 18px; height: 18px; flex: none; }
.mobile-nav-foot .btn { justify-content: center; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding: clamp(40px, 7vw, 96px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 9.4vw, 132px); line-height: 0.96; letter-spacing: -0.035em;
  margin-top: clamp(20px, 2.6vw, 36px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .line > span { display: inline-block; }
.mark {
  background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 80% / 100% 0.4em;
  padding: 0 0.1em; margin: 0 -0.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.hero-sub .lead { max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; justify-content: flex-end; }
.hero-fig { position: relative; margin-top: clamp(36px, 5vw, 72px); }
.hero-fig::before {
  content: ""; position: absolute; left: calc(-1 * var(--gutter)); bottom: -28px;
  width: min(46%, 560px); height: 62%; background: var(--blue);
}
.hero-fig-in { position: relative; overflow: hidden; background: #2d3d49; aspect-ratio: 2.7 / 1; }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 40%; }
.hero-fig figcaption {
  position: absolute; right: 0; bottom: 0;
  background: var(--white); padding: 12px 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.facts { background: var(--paper); padding: clamp(56px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 22px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-num { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 58px); line-height: 1; letter-spacing: -0.03em; }
.fact-txt { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 22em; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 10vw, 148px) 0; }
.section--paper { background: var(--paper); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5.5vw, 76px); }
.section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 5vw, 80px); align-items: end; }
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head p { color: #2c343b; }

/* Kanzlei */
.kanzlei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.kanzlei-left { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.kanzlei-body { display: grid; gap: 22px; }
.kanzlei-body .lead { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 29px); line-height: 1.36; letter-spacing: -0.012em; color: var(--ink); }
.pillars { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pillar { padding: 24px 22px 0 0; }
.pillar + .pillar { padding-left: 22px; border-left: 1px solid var(--line); }
.pillar-no { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--blue-deep); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; letter-spacing: -0.015em; margin: 12px 0 10px; }
.pillar p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.clients { margin-top: clamp(32px, 4vw, 52px); }
.clients h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.clients ul { display: flex; flex-wrap: wrap; gap: 10px; }
.clients li { border: 1px solid var(--line); padding: 9px 16px; font-size: 15px; background: var(--white); }

/* Kompetenzen */
.komp { border-top: 1px solid var(--ink); }
.komp-item { border-bottom: 1px solid var(--line); }
.komp-btn {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; gap: 12px;
  padding: 22px 0; text-align: left;
}
.komp-no { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--blue-deep); }
.komp-title { font-family: var(--serif); font-size: clamp(23px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -0.018em; transition: transform 0.4s var(--ease); }
.komp-ico { position: relative; width: 18px; height: 18px; justify-self: end; }
.komp-ico::before, .komp-ico::after {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.komp-ico::after { transform: rotate(90deg); }
.komp-item.is-open .komp-ico::after { transform: rotate(0deg); opacity: 0; }
.komp-panel-in { padding: 4px 0 30px; }
.komp-intro { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.34; letter-spacing: -0.01em; margin-bottom: 24px; max-width: 30em; }
.komp-list { display: grid; gap: 0; }
.komp-list li {
  position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line);
  font-size: 16.5px; line-height: 1.45;
}
.komp-list li::before { content: ""; position: absolute; left: 0; top: 1.28em; width: 16px; height: 5px; background: var(--blue); }
.komp-more { margin-top: 26px; }

.js .komp-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s var(--ease), visibility 0s 0.45s; }
.js .komp-panel > .komp-panel-in { overflow: hidden; min-height: 0; padding-bottom: 0; }
.js .komp-item.is-open .komp-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.js .komp-item.is-open .komp-panel > .komp-panel-in { padding-bottom: 30px; }

@media (min-width: 960px) {
  .js .komp {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(6, auto) 1fr;
    column-gap: clamp(40px, 6vw, 104px); border-top: 0;
  }
  .js .komp-item { display: contents; }
  .js .komp-item > h3 { grid-column: 1; border-bottom: 1px solid var(--line); }
  .js .komp-item:first-child > h3 { border-top: 1px solid var(--ink); }
  .js .komp-item:nth-child(1) > h3 { grid-row: 1; }
  .js .komp-item:nth-child(2) > h3 { grid-row: 2; }
  .js .komp-item:nth-child(3) > h3 { grid-row: 3; }
  .js .komp-item:nth-child(4) > h3 { grid-row: 4; }
  .js .komp-item:nth-child(5) > h3 { grid-row: 5; }
  .js .komp-item:nth-child(6) > h3 { grid-row: 6; }
  .js .komp-btn { position: relative; padding: 24px 0; }
  .js .komp-item > h3 { box-shadow: inset 0 0 0 var(--blue); transition: box-shadow 0.4s var(--ease); }
  .js .komp-item.is-open > h3 { box-shadow: inset 0 -6px 0 var(--blue); }
  .js .komp-ico::before, .js .komp-ico::after { display: none; }
  .js .komp-ico { width: 22px; height: 12px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.4s var(--ease);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12' fill='none' stroke='%231a1a1a' stroke-width='1.6'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .js .komp-item.is-open .komp-ico { opacity: 1; transform: none; }
  .js .komp-item:not(.is-open) .komp-title { color: #47515a; }
  .js .komp-btn:hover .komp-title { color: var(--ink); transform: translateX(6px); }
  .js .komp-item.is-open .komp-title { transform: translateX(6px); }
  .js .komp-panel {
    grid-column: 2; grid-row: 1 / span 7; display: block; align-self: start;
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0s 0.35s;
    border-top: 1px solid var(--ink); padding-top: 26px;
  }
  .js .komp-item.is-open .komp-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0.08s, 0.08s, 0s; }
  .js .komp-panel > .komp-panel-in, .js .komp-item.is-open .komp-panel > .komp-panel-in { overflow: visible; padding: 0; }
  .komp-list--2 { display: block; columns: 2; column-gap: 40px; }
  .komp-list--2 li { break-inside: avoid; }
}

/* Anwälte */
.lawyers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 88px); }
.lawyer { display: grid; align-content: start; }
.lawyer-photo { position: relative; margin: 0 0 34px 0; width: min(100%, 420px); }
.lawyer-photo::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 58%; height: 44%; background: var(--blue); }
.lawyer-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #d9dde1; }
.lawyer h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.022em; }
.lawyer-role { margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-deep); line-height: 1.6; }
.lawyer-facts { margin-top: 22px; display: grid; gap: 4px; color: #2c343b; }
.lawyer h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); background: var(--white); padding: 7px 13px; font-size: 14.5px; line-height: 1.35; }
.vita { margin-top: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.vita summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-weight: 600; font-size: 16px;
}
.vita summary::-webkit-details-marker { display: none; }
.vita summary .komp-ico { flex: none; }
.vita[open] summary .komp-ico::after { transform: rotate(0deg); opacity: 0; }
.vita-list { padding-bottom: 8px; }
.vita-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.vita-list .yr { font-weight: 600; font-variant-numeric: tabular-nums; }
.vita-extra { padding: 6px 0 22px; display: grid; gap: 14px; font-size: 15.5px; }
.vita-extra strong { display: block; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }

/* Referenzen */
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .eyebrow { color: #a9c5db; }
.section--ink .section-head p { color: rgba(255, 255, 255, 0.78); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.6); margin-bottom: clamp(48px, 6vw, 88px); }
.project { padding: 22px 22px 0 0; }
.project + .project { padding-left: 22px; border-left: 1px solid var(--line-light); }
.project small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #a9c5db; }
.project p { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.02em; margin-top: 10px; }
.refs-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); margin-bottom: 18px; }
.refs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); }
.ref { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14%; background: var(--tile, #fff); overflow: hidden; }
.ref img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.9; transition: filter 0.4s, opacity 0.4s, transform 0.5s var(--ease); }
.ref:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.ref--note { grid-column: span 2; aspect-ratio: auto; background: var(--blue); color: var(--ink); padding: 12px 14px; place-items: end start; font-size: clamp(12.5px, 1.05vw, 15px); font-weight: 600; line-height: 1.3; }
.refs-more { display: none; margin-top: 22px; }

/* Service */
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.akte { background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; justify-content: space-between; min-height: 380px; position: relative; overflow: hidden; }
.akte::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44%; height: 16px; background: var(--blue); }
.akte svg.lock { width: 34px; height: 34px; color: #a9c5db; }
.akte h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.06; letter-spacing: -0.02em; }
.akte p { color: rgba(255, 255, 255, 0.78); max-width: 30em; }
.akte .btn { align-self: flex-start; margin-bottom: 18px; }
.downloads { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); }
.downloads h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.dl a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 17px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500;
  transition: padding 0.35s var(--ease), color 0.2s;
}
.dl li:last-child a { border-bottom: 1px solid var(--line); }
.dl a small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.dl a svg { width: 16px; height: 16px; }
.dl a:hover { padding-left: 12px; color: var(--blue-deep); }

/* Kontakt */
.contact { background: var(--blue); color: var(--ink); padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.contact .eyebrow { color: var(--ink); }
.contact .eyebrow::before { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.contact h2 { color: var(--white); font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.03em; margin-top: 24px; }
.contact-tel { display: inline-block; margin-top: clamp(28px, 4vw, 48px); font-family: var(--serif); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.02em; border-bottom: 2px solid var(--ink); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.contact-tel:hover { color: var(--white); border-color: var(--white); }
.contact-note { margin-top: 26px; font-size: 14.5px; line-height: 1.55; max-width: 34em; color: #14212b; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(26, 26, 26, 0.3); }
.contact-row dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding-top: 4px; }
.contact-row dd { font-size: 18px; line-height: 1.5; }
.contact-row dd a { border-bottom: 1px solid rgba(26, 26, 26, 0.5); }
.contact-row dd a:hover { color: var(--white); border-color: var(--white); }
.contact-row dd small { display: block; font-size: 15px; color: #14212b; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Fußzeile */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: clamp(52px, 6vw, 84px) 0 28px; font-size: 15px; }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 36px clamp(24px, 4vw, 64px); }
.footer-brand img { height: 58px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 26em; line-height: 1.55; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer li + li { margin-top: 9px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 68px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* Mobile Anrufleiste */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  grid-template-columns: 1fr 1fr; background: var(--ink);
  transform: translateY(100%); transition: transform 0.4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar.is-on { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; color: var(--white); font-weight: 600; font-size: 15.5px; }
.callbar a:first-child { background: var(--white); color: var(--ink); box-shadow: inset 0 1px 0 var(--line); }
.callbar svg { width: 17px; height: 17px; }

/* ---------- Rechtstexte ---------- */
.page-head { background: var(--paper); padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.6vw, 88px); line-height: 1; letter-spacing: -0.03em; margin-top: 22px; }
.page-head h1 .mark { background-size: 100% 0.4em; }
.legal { padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 128px); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); }
.legal-aside { font-size: 15px; color: var(--muted); display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--header-h) + 28px); }
.legal-body { max-width: 46em; }
.legal-body section + section { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 14px; }
.legal-body h3 { font-size: 16px; font-weight: 600; margin: 20px 0 6px; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 12px 0; display: grid; gap: 8px; }
.legal-body ul li { position: relative; padding-left: 28px; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 14px; height: 5px; background: var(--blue); }
.legal-body a { color: var(--blue-deep); border-bottom: 1px solid currentColor; }
.legal-body a:hover { color: var(--ink); }
.legal-body address { font-style: normal; }

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .hero h1 .line > span { animation: rise 1.1s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.js .hero .mark { animation: bar 1.1s var(--ease) 0.75s both; }
.js .hero .eyebrow, .js .hero-sub { animation: fade 1s var(--ease) 0.35s both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes bar { from { background-size: 0% 0.4em; } to { background-size: 100% 0.4em; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .hero-fig::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.5s; }
.js .hero-fig.is-in::before { transform: none; }
.js .hero-fig img { transform: scale(1.06); transition: transform 2.2s var(--ease); }
.js .hero-fig.is-in img { transform: none; }
.js .lawyer-photo::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.3s; }
.js .lawyer.is-in .lawyer-photo::before { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .rv, .js .hero-fig img { opacity: 1; transform: none; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1180px) {
  .header-tel { display: none; }
}
@media (max-width: 1020px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .refs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .kanzlei, .service, .contact-grid, .legal-grid, .section-head--split, .hero-sub { grid-template-columns: minmax(0, 1fr); }
  .kanzlei-left, .legal-aside { position: static; }
  .hero-actions { justify-content: flex-start; }
  .lawyers { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero-fig-in { aspect-ratio: 16 / 9; }
  .akte { min-height: 0; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 16.5px; padding-bottom: 0; }
  .brand img, .header.is-stuck .brand img { height: 36px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.15em; gap: 12px; }
  .eyebrow::before { width: 26px; }
  .header.is-stuck .header-in { height: 60px; }
  .hero-fig-in { aspect-ratio: 4 / 3.4; }
  .hero-fig::before { bottom: -18px; height: 50%; width: 62%; }
  .hero-fig figcaption { font-size: 11px; padding: 10px 14px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 14px 22px 0; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pillars, .projects { grid-template-columns: minmax(0, 1fr); }
  .pillar, .project { padding: 20px 0 22px; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .project + .project { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .komp-btn { grid-template-columns: 36px minmax(0, 1fr) 20px; padding: 19px 0; }
  .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .js .refs:not(.is-all) .ref:nth-child(n + 16) { display: none; }
  .js .refs-more { display: inline-flex; }
  .js .refs.is-all + .refs-more { display: none; }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .contact-actions .btn { width: 100%; }
  .vita-list li { grid-template-columns: 84px minmax(0, 1fr); }
  .callbar { display: grid; }
  .footer { padding-bottom: 92px; }
  .hero-actions .btn { width: 100%; }
}
