/* SHR Rechtsanwälte – Variante 2 („Klar“). Reines CSS, keine fremden Dienste. */

@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;
  --ink2: #4d5560;
  --muted: #7d8590;
  --navy: #1a1a1a;
  --navy2: #3b6789;
  --blue: #3b6789;
  --accent: #5c8cb0;
  --haze: #f4f6f8;
  --line: #e0e5eb;
  --white: #fff;
  --panel: linear-gradient(120deg, #33597a 0%, #3b6789 50%, #5c8cb0 135%);
  --r: 20px;
  --r-sm: 14px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow: 0 1px 2px rgba(26, 26, 26, 0.05), 0 14px 34px -18px rgba(26, 26, 26, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.lead { font-size: 18.5px; color: var(--ink2); max-width: 56ch; }
.ico { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--haze); color: var(--blue); }
.ico svg { width: 22px; height: 22px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--blue); }
.more svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
a:hover > .more svg, a.more:hover svg { transform: translateX(4px); }

/* Schaltflächen */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 6px 6px 6px 24px; border-radius: 99px; font-weight: 600; font-size: 16px; line-height: 1.2; border: 0; cursor: pointer; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.btn i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; transition: transform 0.35s var(--ease); }
.btn i svg { width: 18px; height: 18px; }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary i { background: var(--accent); }
.btn--primary:hover { background: var(--blue); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark i { background: rgba(255, 255, 255, 0.14); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--white i { background: var(--navy2); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line i { background: var(--haze); color: var(--blue); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.42); }
.btn--ghost i { background: rgba(255, 255, 255, 0.16); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--plain { padding-inline: 28px; }
.btn--sm { min-height: 46px; padding-left: 20px; font-size: 15px; gap: 12px; }
.btn--sm i { width: 34px; height: 34px; }

/* Kopfzeile */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.head.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(26, 26, 26, 0.35); }
.head-in { display: flex; align-items: center; gap: 18px; height: 78px; }
.brand { flex: none; margin-right: auto; }
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 10px; font-weight: 500; font-size: 15.5px; color: var(--ink2); transition: color 0.2s, background-color 0.2s; }
.nav a:hover { color: var(--ink); background: var(--haze); }
.nav a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav a svg { width: 16px; height: 16px; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -8px; min-width: 320px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 10px 12px; color: var(--ink); box-shadow: none !important; border-radius: 9px !important; }
.akte-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink2); padding: 10px 8px; }
.akte-link svg { width: 18px; height: 18px; }
.akte-link:hover { color: var(--ink); }
.burger { display: none; position: relative; width: 50px; height: 46px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mnav { display: none; }

/* Start: Sommerbild der Kanzlei mit Leistungsliste */
.hero { position: relative; isolation: isolate; background: #1f2a22; color: #fff; overflow: hidden; }
/* Der Engel (bei 61,5 % der Bildbreite) steht in der Lücke zwischen Text und Liste: Mitte + 80px */
.hero-bg { position: absolute; top: 50%; left: calc(50% + 80px); z-index: -2; width: max(calc((50% + 80px) / 0.615), calc((50% - 80px) / 0.385)); max-width: none; height: auto; min-height: 100%; object-fit: cover; transform: translate(-61.5%, -50%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.62) 34%, rgba(26, 26, 26, 0.08) 58%, rgba(26, 26, 26, 0.12) 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 560px) minmax(320px, 400px); justify-content: space-between; align-items: center; gap: clamp(28px, 5vw, 72px); padding-block: clamp(64px, 9vw, 124px); }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); margin-top: 18px; letter-spacing: -0.03em; line-height: 1.04; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero-lead { margin-top: 22px; font-size: 19px; color: rgba(255, 255, 255, 0.92); max-width: 46ch; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-card { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); border-radius: var(--r); padding: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.hero-card li + li { border-top: 1px solid var(--line); }
.hero-card li a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.25; transition: background-color 0.2s; }
.hero-card li a > svg { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s; }
.hero-card li a:hover { background: var(--haze); }
.hero-card li a:hover > svg { transform: translateX(4px); color: var(--blue); }
.hero-card .ico { width: 38px; height: 38px; border-radius: 10px; }
.hero-card .ico svg { width: 20px; height: 20px; }
.hero-card-all { display: flex; align-items: center; gap: 8px; padding: 14px 12px 8px; font-weight: 600; font-size: 15px; color: var(--blue); border-top: 1px solid var(--line); margin-top: 2px; }
.hero-card-all svg { width: 18px; height: 18px; }

/* Kennzahlen */
.facts { padding-block: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.facts--plain { border-top: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.facts-row li { display: grid; gap: 6px; align-content: start; }
.facts-row strong { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy2); }
.facts-row span { font-size: 15.5px; color: var(--ink2); line-height: 1.45; }

/* Abschnitte */
.section { padding-block: clamp(64px, 8.500vw, 112px); }
.section--haze { background: var(--haze); }
.section--tight { padding-top: 0; }
.section--tightb { padding-bottom: clamp(40px, 5vw, 64px); }
.section--cta { padding-block: clamp(48px, 6vw, 80px); }
.section--haze + .section--cta { background: linear-gradient(var(--haze) 50%, transparent 50%); padding-top: 0; }
.shead { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 48px); max-width: 780px; }
.shead--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shead--row > div { display: grid; gap: 14px; max-width: 780px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split-txt { display: grid; gap: 18px; justify-items: start; }

/* Drei Kacheln */
.tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 480px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--haze); color: #fff; isolation: isolate; }
.tile--tall { grid-row: span 2; }
.tile > img, .tile-duo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.tile-duo { display: grid; grid-template-columns: 1fr 1fr; }
.tile-duo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.tile:hover > img, .tile:hover .tile-duo { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0) 38%, rgba(26, 26, 26, 0) 62%, rgba(26, 26, 26, 0.4) 100%); }
.tile-label { position: absolute; left: 22px; top: 20px; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.tile > i { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy2); transition: transform 0.35s var(--ease); }
.tile > i svg { width: 18px; height: 18px; }
.tile:hover > i { transform: translateX(3px); }
.tile--navy { background: var(--panel); padding: 22px 70px 22px 22px; display: grid; align-content: center; gap: 8px; }
.tile--navy::before { display: none; }
.tile-h { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.tile-p { font-size: 15px; color: rgba(255, 255, 255, 0.8); line-height: 1.45; }

/* Logo-Laufband */
.marquee { display: flex; gap: 10px; overflow: hidden; margin-block: clamp(28px, 4vw, 44px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; flex: none; animation: marquee 70s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-100% - 10px)); } }
.js .marquee { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.js .marquee::-webkit-scrollbar { display: none; }
.js .marquee-track { animation: none; }
.js .marquee.is-drag { cursor: grabbing; user-select: none; }
.js .marquee.is-drag .ref-link { pointer-events: none; }
.ref { position: relative; display: grid; place-items: center; width: 156px; height: 100px; padding: 18px 22px; border-radius: var(--r-sm); background: var(--tile, #fff); overflow: hidden; flex: none; box-shadow: 0 1px 2px rgba(26, 26, 26, 0.06); }
.ref img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.6s var(--ease); }
.ref:hover img { transform: scale(1.07); }
.ref-link { position: absolute; inset: 0; border-radius: inherit; }
.ref-link:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.refs .ref { width: auto; height: auto; aspect-ratio: 3 / 2; }
.whobox { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.who li, .checks li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.4; }
.who li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--haze) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233b6789' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.300l2.700 2.700L14 7.500'/%3E%3C/svg%3E") center / 20px no-repeat; }
.center-link { text-align: center; margin-top: 28px; }

/* Arbeitsweise */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: var(--panel); color: #fff; border-radius: var(--r); padding: clamp(26px, 3.500vw, 44px); display: grid; align-content: center; }
.why-card ul { display: grid; gap: 30px; }
.why-card li { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.why-card .ico { background: rgba(255, 255, 255, 0.16); color: #fff; }
.why-card h3 { font-size: 21px; }
.why-card p { margin-top: 6px; color: rgba(255, 255, 255, 0.88); font-size: 16.5px; }
.why-photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 440px; background: var(--haze); }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why-photo figcaption { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 15px; line-height: 1.35; }
.why-photo figcaption span { color: var(--ink2); }

/* Kompetenz-Karten */
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kcard { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r); background: var(--haze); transition: background-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease); }
.kcard:hover { background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transform: translateY(-3px); }
.kcard .ico { background: #fff; margin-bottom: 6px; }
.kcard:hover .ico { background: var(--haze); }
.kcard-no { position: absolute; right: 22px; top: 14px; font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: rgba(59, 103, 137, 0.14); line-height: 1; }
.kcard p { color: var(--ink2); font-size: 16px; }
.kcard .more { margin-top: 6px; }
.section--haze .kcard { background: #fff; }

/* Anwälte */
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lcard { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--haze); transition: box-shadow 0.3s, background-color 0.3s; }
.lcard:hover { background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.lcard figure { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; background: #dfe5ee; }
.lcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.lcard > div { display: grid; gap: 10px; padding-right: 12px; justify-items: start; }
.lcard h3 { font-size: 26px; letter-spacing: -0.025em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 12px; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.lawyer { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; scroll-margin-top: 100px; }
.lawyer + .lawyer { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.lawyer-photo { position: sticky; top: 104px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--haze); }
.lawyer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.lawyer-body { display: grid; gap: 14px; }
.lawyer-body h2 { font-size: clamp(32px, 4vw, 46px); }
.lawyer-body h3 { margin-top: 22px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.vita li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.vita li:last-child { border-bottom: 1px solid var(--line); }
.vita .yr { font-weight: 700; color: var(--navy2); }
.extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.extra > div { background: var(--haze); border-radius: var(--r-sm); padding: 18px 20px; }
.extra dt { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* Areale */
.areale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.areal { background: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.areale--line .areal { box-shadow: inset 0 0 0 1px var(--line); }
.areal small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.areal p { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

/* Blauer Kontakt-Kasten */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(30px, 5vw, 60px); border-radius: calc(var(--r) + 6px); color: #fff; background: var(--panel); }
.cta::after { content: ""; position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.06); pointer-events: none; }
.cta > div:first-child { display: grid; gap: 12px; max-width: 560px; }
.cta h2 { font-size: clamp(32px, 4.200vw, 52px); }
.cta p:not(.eyebrow) { color: rgba(255, 255, 255, 0.82); font-size: 17.5px; }
.cta-actions { position: relative; z-index: 1; display: grid; gap: 10px; }
.cta-actions .btn { justify-content: space-between; }

/* Kopf der Unterseiten */
.phead { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); color: #fff; padding-block: clamp(40px, 6vw, 76px) clamp(44px, 6.500vw, 84px); }
.phead .wrap { display: grid; gap: 16px; }
.phead h1 { font-size: clamp(34px, 4.600vw, 58px); max-width: 20ch; letter-spacing: -0.03em; }
.phead-lead { font-size: 19px; color: rgba(255, 255, 255, 0.84); max-width: 60ch; }
.phead .eyebrow { color: rgba(255, 255, 255, 0.7); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-bottom: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: rgba(255, 255, 255, 0.9); }

/* Kompetenz-Seite */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-main { display: grid; gap: 26px; }
.detail-main h2 { font-size: clamp(26px, 3vw, 34px); }
.checks { display: grid; gap: 0; }
.checks li { padding-block: 14px; font-weight: 500; border-top: 1px solid var(--line); }
.checks li::before { top: calc(14px + 0.15em); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks--one li { font-weight: 500; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.detail-side { position: sticky; top: 104px; display: grid; gap: 14px; }
.sidecard { border-radius: var(--r); padding: 22px; background: var(--haze); display: grid; gap: 12px; }
.sidecard--navy { background: var(--panel); color: #fff; }
.side-tel, .side-mail { display: flex; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.side-tel { font-size: 21px; letter-spacing: -0.01em; }
.side-tel svg, .side-mail svg { width: 20px; height: 20px; flex: none; opacity: 0.8; }
.sidelist li + li { border-top: 1px solid var(--line); }
.sidelist a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.sidelist a > svg { width: 16px; height: 16px; margin-left: auto; flex: none; color: var(--muted); transition: transform 0.3s var(--ease); }
.sidelist a:hover > svg { transform: translateX(3px); color: var(--blue); }
.sidelist .ico { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.sidelist .ico svg { width: 18px; height: 18px; }

/* Kanzlei */
.timeline { display: grid; gap: 0; width: 100%; margin-top: 6px; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: 17.5px; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .yr { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.pillars li { position: relative; background: #fff; border-radius: var(--r); padding: 28px 26px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.pillars h3 { font-size: 22px; padding-right: 60px; }
.pillars p { color: var(--ink2); font-size: 16px; }

/* Kontakt */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { background: var(--haze); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.ccard .ico { background: #fff; margin-bottom: 4px; }
.ccard h2 { font-size: 20px; letter-spacing: -0.015em; }
.ccard p { color: var(--ink2); font-size: 16px; overflow-wrap: anywhere; }
.ccard p a { color: var(--ink); font-weight: 600; }
.ccard .more { margin-top: 4px; }
.note { margin-top: 24px; color: var(--muted); font-size: 14.5px; max-width: 76ch; }
.akte { background: #fff; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; justify-items: start; box-shadow: var(--shadow); }
.akte h2 { font-size: 30px; }
.dl { display: grid; gap: 8px; margin-top: 14px; }
.dl a { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; background: #fff; border-radius: var(--r-sm); font-weight: 600; transition: box-shadow 0.25s, transform 0.3s var(--ease); }
.dl a:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.dl small { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Rechtstexte */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-aside { position: sticky; top: 104px; display: grid; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--haze); font-size: 15.5px; color: var(--ink2); }
.legal-aside a, .legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body { display: grid; gap: 34px; max-width: 760px; }
.legal-body section { display: grid; gap: 12px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.02em; }
.legal-body h3 { font-size: 18px; margin-top: 6px; }
.legal-body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal-body address { font-style: normal; display: grid; gap: 10px; }
.legal-body .btn { text-decoration: none; color: #fff; }

/* Fußzeile */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.78); margin-top: 0; font-size: 15.5px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.300fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(48px, 6vw, 72px) 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 340px; }
.foot-brand img { height: 56px; width: auto; }
.foot-h { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; }
.foot a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }

.callfab { display: none; }

/* Einblenden */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Kleinere Bildschirme ---------- */

@media (max-width: 1180px) {
  .akte-link { display: none; }
  .nav a { padding-inline: 10px; }
}

@media (max-width: 1020px) {
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  .mnav { display: block; position: fixed; inset: 78px 0 0; z-index: 45; background: #fff; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
  .nav-open .mnav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .mnav > ul > li { border-bottom: 1px solid var(--line); }
  .mnav > ul > li > a { display: block; padding: 15px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
  .mnav a[aria-current] { color: var(--blue); }
  .mnav ul ul { padding: 0 0 12px; display: grid; }
  .mnav ul ul a { display: block; padding: 8px 0 8px 14px; color: var(--ink2); border-left: 2px solid var(--line); }
  .mnav-foot { display: grid; gap: 10px; margin-top: 22px; }
  .mnav-foot .btn { justify-content: space-between; }

  .hero-in { grid-template-columns: 1fr; }
  .hero { background: var(--ink); }
  .hero-bg { position: static; display: block; width: 100%; height: 320px; min-height: 0; transform: none; object-position: 64% 42%; }
  .hero::after { display: none; }
  .hero-in { padding-block: 40px 48px; }
  .kgrid { grid-template-columns: 1fr 1fr; }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .lgrid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  html { scroll-padding-top: 84px; }
  .head-in { height: 68px; }
  .brand img { height: 40px; }
  .mnav { inset: 68px 0 0; }
  .hero-bg { height: 230px; }
  .hero-in { padding-block: 30px 36px; gap: 28px; }
  .hero h1 { font-size: clamp(36px, 10.500vw, 46px); }
  .hero-lead { font-size: 17px; margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-card li a { padding: 9px 8px; font-size: 15.5px; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .facts-row span { font-size: 14.5px; }
  .split, .why { grid-template-columns: 1fr; }
  .tiles { min-height: 0; grid-template-rows: none; grid-auto-rows: 190px; }
  .tile--tall { grid-row: auto; grid-column: span 2; height: 250px; }
  .tile-duo img { object-position: 50% 10%; }
  .tile--navy { padding: 16px 16px 60px; align-content: start; }
  .tile-h { font-size: 19px; }
  .tile-p { font-size: 13.5px; }
  .tile-label { left: 16px; top: 14px; font-size: 18px; }
  .who { grid-template-columns: 1fr; gap: 10px; }
  .why-photo { min-height: 300px; }
  .why-card ul { gap: 24px; }
  .kgrid, .areale, .pillars { grid-template-columns: 1fr; gap: 12px; }
  .kcard { padding: 22px; }
  .lcard { grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding: 10px; }
  .lcard h3 { font-size: 22px; }
  .lcard .tags { display: none; }
  .lawyer { grid-template-columns: 1fr; }
  .lawyer-photo { position: static; max-width: 300px; }
  .vita li { grid-template-columns: 84px 1fr; gap: 12px; }
  .extra { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { font-size: 15.5px; }
  .cgrid { grid-template-columns: 1fr; gap: 12px; }
  .detail-side { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px 1fr; font-size: 16.5px; }
  .timeline .yr { font-size: 24px; }
  .ref { width: 128px; height: 84px; padding: 14px 18px; }
  .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .refs .ref { padding: 12px; }
  .foot-in { grid-template-columns: 1fr; gap: 30px; padding-bottom: 28px; }
  .foot-legal { padding-bottom: 96px; }
  .shead--row .btn { display: none; }

  .callfab { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 99px; background: var(--blue); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(26, 26, 26, 0.6); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
  .callfab svg { width: 20px; height: 20px; }
  .callfab.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .callfab { opacity: 0; pointer-events: none; }
}

@media (max-width: 380px) {
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn { font-size: 15px; padding-left: 20px; }
}

@media (hover: none) {
  .kcard:hover { transform: none; }
  .ref:hover img, .tile:hover > img, .tile:hover .tile-duo { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden] { display: none; }
}
