/* Rechtsanwalt Stefan Bosbach: Schwarz und Gold, gegliedert nach dem Vorbild von lipskylowe.com.
   Die schrägen Schnitte zwischen den Abschnitten sind der Schrägbalken aus der Heraldik. Schrift: Cormorant Garamond (lokal). */

:root {
  --ground: #080706;      /* warmes Schwarz, durchgehend */
  --surface: #12100d;     /* eine Tonstufe heller: Bänder, Kacheln */
  --surface-2: #1c1914;   /* zweite Stufe: Felder, Menüs */
  --ink: #e3d1aa;         /* helles Gold: Fließtext (13:1) */
  --gold: #c8a464;        /* Gold: Überschriften, Links, Knöpfe (8,6:1) */
  --gold-light: #dcc08a;  /* Knopf beim Zeigen */
  --muted: #a8916a;       /* gedämpftes Gold: Nebentexte (6,6:1) */

  --font: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;

  --step-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  --step-body: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-lead: clamp(1.4375rem, 1.2rem + 0.9vw, 2rem);
  --step-head: clamp(2.2rem, 1.3rem + 2.8vw, 4.1rem);
  --step-claim: clamp(2.6rem, 0.8rem + 4.6vw, 5.6rem);

  --margin: clamp(1rem, 4vw, 4rem);
  --gutter: clamp(0.75rem, 1.6vw, 2rem);
  --section: clamp(4rem, 2.25rem + 5.5vw, 7rem);
  --bend: clamp(28px, 4vw, 72px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-ui: 300ms;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-weight: 500; font-size: var(--step-body); line-height: 1.55;
  letter-spacing: 0.005em; font-variant-numeric: lining-nums; font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--gold); text-decoration-thickness: 0.06em; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ground); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; font-weight: 400; color: var(--gold); line-height: 1.08; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 60; background: var(--gold); color: var(--ground); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--margin); }
.lead { font-size: var(--step-lead); line-height: 1.35; color: var(--ink); }
.small { font-size: var(--step-small); line-height: 1.5; color: var(--muted); }
.line { display: block; }

/* ---------- Knöpfe und Links: der Knopf ist schräg geschnitten wie der Schrägbalken ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; margin-inline: 0.85rem; padding: 0.6em 1.3em; background: var(--gold); border: 0; border-radius: 0; cursor: pointer;
  color: var(--ground); font-family: var(--font); font-weight: 600; font-size: var(--step-body); line-height: 1.1; letter-spacing: 0.03em;
  text-decoration: none; transition: transform var(--t-press) var(--ease-out);
}
.button::before, .button::after { content: ""; position: absolute; top: 0; bottom: 0; width: 0.86rem; background: inherit; }
.button::before { right: calc(100% - 1px); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.button::after { left: calc(100% - 1px); clip-path: polygon(0 0, 100% 0, 0 100%); }
.button:active { transform: scale(0.97); }
.button--small { min-height: 46px; margin-inline: 0.72rem; padding: 0.4em 1em; font-size: var(--step-small); }
.button--small::before, .button--small::after { width: 0.72rem; }
.button--wide { width: calc(100% - 1.7rem); }
.link { color: var(--gold); text-decoration: underline; text-decoration-color: currentColor; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--gold-light); }
  .link:hover { color: var(--ink); }
}

/* ---------- Kopf: Marke, Erstgespräch, Navigation ---------- */
.masthead { position: relative; z-index: 30; background: var(--ground); }
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--gutter); padding-block: 18px 16px; }
.brand { display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--gold); }
.brand img { width: 56px; height: 56px; }
/* Schriftzug neben dem Logo, überall gleich (Kopf, Menü, Fußzeile): „Rechtsanwalt / Stefan Bosbach“ in einer Schrift und Größe */
.brand__text { display: grid; gap: 0.1em; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.1; font-weight: 500; letter-spacing: 0.03em; color: var(--gold); white-space: nowrap; }
.masthead__call { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.2vw, 1.75rem); }
/* Festnetz, Handy, E-Mail: je ein Goldzeichen davor (Medaillon nach Stefans Vorlage, für kleine Größen vereinfacht) */
.masthead__kontakt { display: flex; align-items: center; gap: clamp(0.9rem, 0.1rem + 1.2vw, 1.6rem); }
.masthead__kontakt a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; color: var(--gold); font-size: clamp(1rem, 0.86rem + 0.3vw, 1.1875rem); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.3em; transition: color var(--t-hover) var(--ease-out), text-decoration-color var(--t-hover) var(--ease-out); }
.zeichen { flex: none; width: 34px; height: 34px; overflow: visible; }
.zeichen__ring { fill: none; stroke: var(--gold); stroke-width: 1.7; }
.zeichen__ring--fein { stroke-width: 0.8; }
.zeichen__punkte { fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 0 2.749; opacity: 0.7; }
.zeichen__gold { fill: var(--gold); }
.zeichen__loch { fill: var(--ground); }
.zeichen__brief { fill: var(--ground); stroke: var(--gold); stroke-width: 1.2; }
.zeichen__glanz { fill: var(--gold); opacity: 0.3; }
.zeichen__linie { fill: none; stroke: var(--gold); stroke-width: 1.15; stroke-linecap: round; }
.zeichen__fuge { fill: none; stroke: var(--ground); stroke-width: 1.1; stroke-linecap: round; }
.zeichen__waehl { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 0.95 0.935; }
.zeichen * { transition: fill var(--t-hover) var(--ease-out), stroke var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .masthead__kontakt a:hover { --gold: var(--gold-light); text-decoration-color: currentColor; }
}
.menu-btn { display: none; flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ground); font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.mainnav { background: var(--surface); }
.mainnav__list { display: flex; justify-content: space-between; gap: 1rem; }
.mainnav__list > li { position: relative; }
.mainnav__list > li > a, .mainnav__more > button {
  display: flex; align-items: center; min-height: 54px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: var(--step-body); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.45em;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}
.mainnav__list > li > a[aria-current="page"], .mainnav__more.is-current > button { color: var(--gold); text-decoration-color: currentColor; }
.mainnav__more > button::after { content: ""; width: 0.42em; height: 0.42em; margin-left: 0.6em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -0.15em; transition: rotate var(--t-ui) var(--ease-out); }
.mainnav__more.is-open > button::after { rotate: -135deg; translate: 0 0.1em; }
.mainnav__sub { display: none; position: absolute; top: 100%; left: -1.25rem; z-index: 40; min-width: 330px; padding: 0.6rem 0; background: var(--surface-2); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); } /* taste-skill-ignore: Ausklappmenü schwebt über dem Inhalt */
.mainnav__more:hover .mainnav__sub, .mainnav__more:focus-within .mainnav__sub, .mainnav__more.is-open .mainnav__sub { display: block; animation: drop-in 240ms var(--ease-out); }
@keyframes drop-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.mainnav__sub a { display: block; padding: 0.55rem 1.25rem; color: var(--ink); text-decoration: none; transition: color var(--t-hover) ease, background-color var(--t-hover) ease; }
.mainnav__sub a[aria-current="page"] { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .mainnav__list > li > a:hover, .mainnav__more > button:hover { color: var(--gold); text-decoration-color: currentColor; }
  .mainnav__sub a:hover { color: var(--gold); background: var(--surface); }
}

/* Menü auf Telefon und Tablet */
.sheet { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--ground); color: var(--gold); padding: 20px var(--margin) 32px; display: flex; flex-direction: column; gap: 32px; }
.sheet[hidden] { display: none; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__brand { display: inline-flex; align-items: center; gap: 0.9rem; }
.sheet__top img { width: 46px; height: 46px; }
.sheet__close { min-height: 48px; padding: 0 0.25rem; border: 0; background: none; color: var(--gold); text-decoration: underline; text-underline-offset: 0.3em; cursor: pointer; font-size: var(--step-body); }
.sheet__nav { display: grid; gap: 28px; }
.sheet__main { display: grid; gap: 6px; }
.sheet__main a { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.12; text-decoration: none; color: var(--gold); }
.sheet__areas { display: grid; gap: 4px; }
.sheet__label { color: var(--muted); font-size: var(--step-small); margin-bottom: 4px; }
.sheet__areas a { font-size: var(--step-lead); line-height: 1.3; text-decoration: none; color: var(--ink); }
.sheet a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.sheet__contact { margin-top: auto; display: grid; gap: 6px; color: var(--ink); }
.dock { display: none; }

/* ---------- Startseite: Leitsatz links, Ritter rechts ---------- */
.hero { position: relative; overflow: clip; display: flex; align-items: center; min-height: clamp(560px, 72svh, 820px); padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hero__media { position: absolute; top: 0; right: 0; width: min(55vw, 1040px); aspect-ratio: 4 / 3; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms var(--ease-soft); pointer-events: none;
  /* Rand weich ausblenden: als Verlauf statt Bilddatei, damit es auch ohne Server (Doppelklick) wirkt */
  --rand: linear-gradient(to right, transparent, #000 4.25%, #000 95.75%, transparent), linear-gradient(to bottom, transparent, #000 4.25%, #000 95.75%, transparent);
  -webkit-mask-image: var(--rand); -webkit-mask-composite: source-in; mask-image: var(--rand); mask-composite: intersect; }
.hero__loop.is-playing { opacity: 1; }
.hero__grid { position: relative; z-index: 1; }
.hero__text { max-width: 46rem; display: grid; gap: 1.6rem; }
.hero__claim { font-size: var(--step-claim); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.02em; }
.hero__claim .line { white-space: nowrap; }
.hero__lead { font-size: var(--step-lead); line-height: 1.32; max-width: 37ch; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 0.4rem; }

/* ---------- Zahlen ---------- */
.facts { padding-block: calc(var(--section) * 0.7) var(--section); }
.facts h2 { font-size: var(--step-head); text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.facts__list li { display: grid; gap: 0.45rem; align-content: start; justify-items: center; text-align: center; padding: 0.5rem 0.75rem; }
.facts__figure { font-size: var(--step-head); line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.facts__label { font-size: var(--step-lead); line-height: 1.2; color: var(--ink); }
.facts__text { max-width: 26ch; }

/* ---------- Schräg geschnittene Abschnitte (Schrägbalken) ---------- */
.bend { position: relative; background: var(--surface); clip-path: polygon(0 0, 100% var(--bend), 100% 100%, 0 calc(100% - var(--bend))); padding-block: calc(var(--section) * 0.7 + var(--bend)); margin-block: calc(-0.6 * var(--bend)); }

/* ---------- Der Anwalt: Porträt im goldenen Rahmen, Torhaus als Kulisse ---------- */
.lawyer { background: var(--surface) url(../img/kulisse-torhaus.webp) center / cover no-repeat; }
.lawyer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: center; }
.lawyer__figure { grid-column: 1 / 6; }
.lawyer__frame { position: relative; display: block; margin: 0 28px 28px 0; }
.lawyer__frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--gold); }
.lawyer__frame img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lawyer figcaption { margin-top: 2.6rem; display: grid; gap: 0.15rem; color: var(--ink); }
.lawyer__name { font-size: var(--step-lead); color: var(--gold); line-height: 1.1; }
.lawyer__text { grid-column: 7 / 13; display: grid; gap: 1.4rem; justify-items: start; }
.lawyer__text h2 { font-size: var(--step-head); }
.lawyer__text p { max-width: 52ch; }

/* ---------- Warum Rechtsanwalt Bosbach ---------- */
.reasons { padding-block: var(--section); }
.reasons__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.2rem; align-items: end; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.reasons__head h2 { grid-column: 1 / 7; font-size: var(--step-head); }
.reasons__head p { grid-column: 7 / 13; }
.reasons__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) var(--gutter); }
.reasons__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; row-gap: 0.35rem; }
.reasons__list li::before { content: ""; grid-row: 1 / 3; width: 0.7rem; height: 0.7rem; margin-top: 0.7rem; rotate: 45deg; background: var(--gold); }
.reasons__list h3 { font-size: var(--step-lead); }
.reasons__list p { max-width: 46ch; }

/* ---------- Leitsatz: Goldpaneel mit schrägem Rand, daneben der Anspruch ---------- */
.banner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; min-height: clamp(380px, 40vw, 560px); background: var(--surface); }
.banner__panel { grid-column: 1 / 8; align-self: stretch; position: relative; display: flex; align-items: center; padding: var(--section) 12% var(--section) var(--margin); clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.banner__panel img, .banner__panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__claim { position: relative; font-size: var(--step-claim); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.banner__claim .line { white-space: nowrap; }
.banner__list { grid-column: 8 / 13; display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); padding: 3rem var(--margin) 3rem clamp(0.5rem, 2vw, 2rem); }
.banner__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; font-size: var(--step-lead); line-height: 1.3; color: var(--ink); }
.banner__list li::before { content: ""; grid-row: 1 / 3; width: 0.85rem; height: 0.85rem; margin-top: 0.42rem; background: var(--gold); }
.banner__list strong { display: block; color: var(--gold); font-weight: 500; }

/* ---------- Rechtsgebiete als Kacheln ---------- */
.areas { padding-block: var(--section); }
.areas h2 { font-size: var(--step-head); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tile { display: grid; grid-template-rows: auto 1fr; background: var(--surface); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover) ease; }
.tile__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.tile__body { display: grid; gap: 0.7rem; align-content: start; padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.75rem) clamp(1.5rem, 2.4vw, 2.1rem); }
.tile h3 { font-size: var(--step-lead); }
.tile__more { color: var(--gold); text-decoration: underline; text-underline-offset: 0.25em; }
.tile--featured { grid-column: span 2; grid-template-columns: 1.15fr 1fr; grid-template-rows: none; }
.tile--featured .tile__img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.tile--featured .tile__body { align-content: center; padding: clamp(1.5rem, 3vw, 2.75rem); }
.tile--featured h3 { font-size: var(--step-head); }
.tile--featured .tile__text { max-width: 40ch; }
/* Breite Kachel am Ende des Rasters (füllt die letzte Reihe, ohne Schwerpunkt-Schrift) */
.tile--wide { grid-column: span 2; grid-template-columns: 1.15fr 1fr; grid-template-rows: none; }
.tile--wide .tile__img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.tile--wide .tile__body { align-content: center; }
.tiles__foot { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { background: var(--surface-2); }
  .tile:hover .tile__img img { scale: 1.045; }
  .tile:hover .tile__more { color: var(--ink); }
}

/* ---------- Zusammenarbeit in drei Schritten ---------- */
.steps h2 { font-size: var(--step-head); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) var(--gutter); }
.steps__list li { position: relative; display: grid; gap: 0.8rem; align-content: start; padding-top: 1.6rem; }
.steps__list li::before { content: ""; position: absolute; top: 0; left: 0; width: 3.4rem; height: 5px; background: var(--gold); transform: skewX(-14deg); transform-origin: left; }
.steps__list h3 { font-size: var(--step-head); line-height: 1; }
.steps__list p { max-width: 34ch; }

/* ---------- Fristen: Rechner und Tafel ---------- */
.table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-lead); line-height: 1.5; }
.table th, .table td { padding: 0.15em 0; text-align: left; font-weight: 500; vertical-align: baseline; }
.table td { color: var(--ink); }
.table td:last-child, .table thead th:last-child { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.table thead th { color: var(--muted); padding-bottom: 0.4em; font-weight: 500; }
.table .part th { color: var(--gold); padding: clamp(2rem, 4vw, 3rem) 0 0.4em; }
.table tbody:first-of-type .part th { padding-top: 0.6em; }
.table tbody tr:not(.part) { transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .table tbody tr:not(.part):hover { background: var(--surface); } }
.table .w1 { width: 40%; } .table .w2 { width: 42%; } .table .w3 { width: 18%; }
.table .s1 { width: 32%; } .table .s2 { width: 32%; } .table .s3 { width: 21%; } .table .s4 { width: 15%; }
.block .table { font-size: var(--step-body); }

/* ---------- Erfahrung: Bild und Text im Wechsel ---------- */
.story { padding-block: var(--section); }
.story > .wrap > h2 { font-size: var(--step-head); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.story__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: center; }
.story__row + .story__row { margin-top: clamp(3rem, 6vw, 6rem); }
.story__media { grid-column: 1 / 7; }
.story__media img, .story__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story__media video { filter: saturate(0.6) brightness(0.8); }
.story__media figcaption { margin-top: 0.8rem; }
.story__text { grid-column: 8 / 13; display: grid; gap: 1.1rem; }
.story__text h3 { font-size: var(--step-lead); }
.story__text h3 + p { margin-top: -0.3rem; }
.story__text p + h3 { margin-top: 1rem; }
.story__row--flip .story__text { grid-column: 1 / 6; grid-row: 1; }
.story__row--flip .story__media { grid-column: 7 / 13; }

/* ---------- Kontakt: Goldpaneel und Formular ---------- */
.reach { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--surface); }
.reach__panel { grid-column: 1 / 7; position: relative; display: flex; align-items: center; min-height: 600px; padding: clamp(3rem, 6vw, 6rem) 16% clamp(3rem, 6vw, 6rem) var(--margin); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.reach__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reach__text { position: relative; display: grid; gap: 1.1rem; justify-items: start; max-width: 30rem; }
.reach__text h2 { font-size: var(--step-head); line-height: 1.02; }
.reach__text p { color: var(--ink); }
.reach__text address { color: var(--ink); }
.reach__tel { font-size: var(--step-head); line-height: 1.05; color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: 0.02em; }
.reach__hours { font-size: var(--step-small); }
.reach__form { grid-column: 7 / 13; display: grid; gap: 1.1rem; align-content: center; padding: clamp(3rem, 6vw, 5rem) var(--margin) clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 3rem); }
.reach__form h3 { font-size: var(--step-lead); }
.reach__form form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-wrap { display: grid; gap: 6px; }
.field-wrap > span { color: var(--ink); font-size: var(--step-small); }
.field { width: 100%; min-height: 52px; padding: 10px 14px; background: var(--surface-2); color: var(--ink); border: 0; border-radius: 0; font-size: var(--step-body); line-height: 1.4; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c8a464' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
textarea.field { min-height: 140px; resize: vertical; }
.field:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--step-small); line-height: 1.45; color: var(--ink); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold); }
.form-status { min-height: 1.5em; color: var(--ink); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ground); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem var(--gutter); align-items: start; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.footer__brand { display: inline-flex; align-items: center; gap: 1rem; color: var(--gold); text-decoration: none; }
.footer__brand img { width: 64px; height: 64px; }
.footer__item { display: grid; gap: 0.35rem; color: var(--ink); }
.footer__label { color: var(--muted); font-size: var(--step-small); }
.footer__big { font-size: var(--step-lead); color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: 0.02em; }
.footer__item address { font-size: var(--step-body); line-height: 1.45; }
.footer__bar { background: var(--surface); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem 2rem; padding-block: 1.4rem 1.8rem; font-size: var(--step-small); color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.footer__links a { color: var(--gold); }
.footer__credits { flex-basis: 100%; max-width: 70ch; }
.footer__credits a { color: var(--muted); }

/* ---------- Unterseiten: Bildkopf, Einführung, Text mit Seitenleiste ---------- */
.pagehead { position: relative; overflow: clip; }
.pagehead__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; min-height: clamp(420px, 40vw, 620px); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.pagehead__text { grid-column: 1 / 7; display: grid; gap: 1.3rem; justify-items: start; }
.pagehead h1 { font-size: var(--step-claim); line-height: 1.0; letter-spacing: -0.005em; }
.pagehead__lead { font-size: var(--step-lead); line-height: 1.32; color: var(--ink); max-width: 38ch; }
.pagehead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 0.4rem; }
/* Fensterläden vom Torhaus Schloss Eulenbroich: zwei Holzflügel (Bild nach den Gaubenläden) vor dem Knopf.
   Beim Zeigen schwingen sie in echter 3D-Perspektive auf, federn nach und geben ein von innen beleuchtetes Fenster frei;
   beim Verlassen schlagen sie zu und prallen leicht vom Rahmen ab. --offen steuert alles: 0 = zu, 1 = auf. */
.cta {
  display: inline-flex; align-items: center; color: var(--ground); text-decoration: none;
  --offen: 0; --laden-dauer: 760ms; --laden-kurve: var(--laden-zu);
  --laden-auf: cubic-bezier(0.34, 1.4, 0.64, 1); --laden-zu: cubic-bezier(0.55, 0, 0.75, 0.25);
}
@supports (transition-timing-function: linear(0, 1)) {
  .cta {
    --laden-auf: linear(0, 0.047 3.1%, 0.160 6.2%, 0.307 9.4%, 0.463 12.5%, 0.611 15.6%, 0.742 18.8%, 0.850 21.9%, 0.933 25%, 0.993 28.1%, 1.033 31.2%, 1.056 34.4%, 1.067 37.5%, 1.068 40.6%, 1.062 43.8%, 1.053 46.9%, 1.043 50%, 1.032 53.1%, 1.023 56.2%, 1.014 59.4%, 1.008 62.5%, 1.003 65.6%, 0.999 68.8%, 0.997 71.9%, 0.996 75%, 0.995 78.1%, 0.996 81.2%, 0.996 84.4%, 0.997 87.5%, 0.997 90.6%, 0.998 93.8%, 0.999 96.9%, 1);
    --laden-zu: linear(0, 0.002 3.3%, 0.008 6.7%, 0.019 10%, 0.037 13.3%, 0.060 16.7%, 0.089 20%, 0.125 23.3%, 0.168 26.7%, 0.218 30%, 0.274 33.3%, 0.338 36.7%, 0.410 40%, 0.489 43.3%, 0.575 46.7%, 0.670 50%, 0.772 53.3%, 0.882 56.7%, 1 60%, 0.970 63.3%, 0.946 66.7%, 0.932 70%, 0.931 73.3%, 0.943 76.7%, 0.965 80%, 0.994 83.3%, 0.991 86.7%, 0.983 90%, 0.983 93.3%, 0.989 96.7%, 1);
  }
}
.cta:focus-visible, .cta.is-offen { --offen: 1; --laden-dauer: 1100ms; --laden-kurve: var(--laden-auf); --schatten-verzug: 380ms; }
.cta:active .button { transform: scale(0.97); }
.laden { position: relative; z-index: 2; flex: none; width: 38px; height: 56px; margin-right: -0.9rem; perspective: 160px; transform-style: preserve-3d; background: #0d0a07; outline: 1.5px solid var(--gold); }
/* Fenster dahinter: dunkel, solange die Läden zu sind; beim Öffnen fällt warmes Licht heraus */
.laden__fenster { position: absolute; inset: 0; background: url("../img/laden-fenster.webp") center / cover; filter: brightness(calc(0.4 + var(--offen) * 0.7)); transition: filter 520ms ease-out 60ms; }
/* Die Flügel schwingen wie echte Läden fast ganz auf (165°) und liegen dann links und rechts neben dem Fenster */
.laden__fluegel { position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; transition: transform var(--laden-dauer) var(--laden-kurve); }
.laden__fluegel--links { left: 0; transform-origin: 0 50%; transform: rotateY(calc(var(--offen) * -165deg)); }
.laden__fluegel--rechts { right: 0; transform-origin: 100% 50%; transform: rotateY(calc(var(--offen) * 165deg)); }
/* Außen- und Innenseite jedes Flügels; die Innenseite liegt im Schatten und zeigt sich, wenn der Flügel offen steht */
.laden__seite { position: absolute; inset: 0; background: url("../img/laden-fluegel.webp") 0 0 / 200% 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.laden__fluegel--rechts .laden__seite { background-position: 100% 0; }
.laden__seite--innen { transform: rotateY(180deg); filter: brightness(0.7) saturate(0.9); }
.laden__seite::after { content: ""; position: absolute; inset: 0; }
/* Licht: beim Aufschwingen dreht sich die Außenseite aus dem Licht; innen dunkelt es zum Scharnier hin ab */
.laden__seite:not(.laden__seite--innen)::after { background: rgba(8, 7, 6, 0.55); opacity: var(--offen); transition: opacity var(--laden-dauer) var(--laden-kurve); }
.laden__fluegel--links .laden__seite--innen::after { background: linear-gradient(90deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.45)); }
.laden__fluegel--rechts .laden__seite--innen::after { background: linear-gradient(270deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.45)); }
/* Holzkante am freien Rand: steht senkrecht zum Flügel und zeigt sich beim Durchschwingen */
.laden__fluegel::before { content: ""; position: absolute; top: 0; width: 3px; height: 100%; background: linear-gradient(#5a1416, #8a2427 50%, #5a1416); }
.laden__fluegel--links::before { right: 0; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.laden__fluegel--rechts::before { left: 0; transform-origin: 0 50%; transform: rotateY(90deg); }
/* Schatten des offenen rechten Flügels auf dem Knopf: erscheint, wenn der Flügel anliegt, und geht beim Schließen sofort */
.laden::after { content: ""; position: absolute; top: 5px; bottom: 5px; left: calc(100% + 12px); width: 18px; background: linear-gradient(90deg, rgba(8, 7, 6, 0.5), rgba(8, 7, 6, 0)); opacity: var(--offen); transition: opacity 360ms ease var(--schatten-verzug, 0ms); pointer-events: none; }
/* Laden und Knopf sind ein Link: ein Klick auf beide führt zum Kontaktformular */
@media (hover: hover) and (pointer: fine) {
  .cta:hover { --offen: 1; --laden-dauer: 1100ms; --laden-kurve: var(--laden-auf); --schatten-verzug: 380ms; }
  .cta:hover .button { background: var(--gold-light); }
}
.pagehead__media { position: absolute; top: 0; right: 0; z-index: 0; width: min(62vw, 1160px); aspect-ratio: 16 / 10; }
.pagehead__media img, .pagehead__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pagehead__media picture { display: block; width: 100%; height: 100%; }
/* Bewegte Bildköpfe und Wappen: Standbild sofort, Film blendet weich darüber ein (Steuerung in site.js) */
.pagehead__loop, .art__loop { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms var(--ease-soft); pointer-events: none; }
.pagehead__loop.is-playing, .art__loop.is-playing { opacity: 1; }
/* Tiefes Schwarz in Bildern und Filmen nimmt die Seitenfarbe an: keine sichtbaren Bildkästen am dunklen Rand.
   (Das Wappen liegt in einer eigenen Ebene; dort ist das Schwarz direkt in Bild und Film auf die Seitenfarbe angehoben.) */
.hero__media, .pagehead__media { mix-blend-mode: lighten; }
.pagehead--plain .pagehead__grid { min-height: 0; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.pagehead--plain .pagehead__text { grid-column: 1 / 13; }
.pagehead + .reach { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.pagehead__art { position: relative; grid-column: 9 / 13; justify-self: end; width: min(100%, 420px); }
.pagehead__art img { display: block; width: 100%; height: auto; }
.art__loop { width: 100%; height: 100%; object-fit: cover; }
.pagehead--art .pagehead__text { grid-column: 1 / 8; }
.contactinfo__place { display: grid; gap: 0.8rem; }
.contactinfo__place img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.introband { position: relative; z-index: 1; background: var(--surface); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.introband__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.2rem; align-items: start; }
.introband__lead { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.32; color: var(--gold); }
.introband__more { grid-column: 7 / 13; display: grid; gap: 1em; padding-top: 0.4rem; }
.introband__more p { max-width: 60ch; }

.pagebody { padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section); }
.crumbs { font-size: var(--step-small); color: var(--muted); padding-block: 0.5rem clamp(1.5rem, 3vw, 2.5rem); }
.crumbs a { color: var(--gold); }
.crumbs [aria-current] { color: var(--ink); }
.pagebody__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.pagebody__main { grid-column: 1 / 9; display: grid; gap: clamp(3rem, 6vw, 5rem); padding-right: clamp(0rem, 2vw, 2rem); }
.pagebody__side { grid-column: 9 / 13; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gutter); }
.block { display: grid; gap: 1.2rem; align-content: start; }
.block h2 { font-size: var(--step-head); line-height: 1.04; }
.checklist { display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.7em; font-size: var(--step-lead); line-height: 1.3; }
.checklist li::before { content: ""; position: absolute; left: 0.25em; top: 0.48em; width: 0.42em; height: 0.42em; rotate: 45deg; background: var(--gold); }
.qa { display: grid; gap: 0.5rem; }
.qa + .qa { margin-top: 0.8rem; }
.qa h3 { font-size: var(--step-lead); line-height: 1.15; }
.qa p { max-width: 64ch; }
.callout { display: grid; gap: 1.1rem; justify-items: start; padding: clamp(1.75rem, 3.5vw, 3rem); background: var(--surface-2); }
.callout h2 { font-size: var(--step-head); }
.callout p { max-width: 46ch; }
.callout__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.sidecard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; align-content: start; justify-items: start; padding: 1.4rem 1.5rem 1.6rem; background: var(--surface); color: var(--ink); }
.sidecard__title, .sidecard__head { color: var(--gold); font-size: var(--step-lead); line-height: 1.2; }
.sidecard ul { display: grid; gap: 0.4rem; }
.sidecard ul a { color: var(--ink); text-decoration: none; transition: color var(--t-hover) ease; }
.sidecard ul a:focus-visible { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .sidecard ul a:hover { color: var(--gold); text-decoration: underline; } }
.sidecard__tel { font-size: var(--step-lead); color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: 0.02em; }
.sidecard--call .button { margin-top: 0.4rem; }
.sidecard--art { padding: 0; background: none; gap: 0.6rem; }
.sidecard--art img { width: 100%; height: auto; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) var(--gutter); }
.pairs__item { display: grid; gap: 0.4rem; align-content: start; }
.pairs__item h3 { font-size: var(--step-lead); }
.media-figure video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.6) brightness(0.8); }
.media-figure figcaption { margin-top: 0.8rem; }

/* ---------- Über mich: wie die Anwaltsseite der Vorlage ---------- */
.person { position: relative; }
.person__band { position: absolute; left: 0; right: 0; top: 0; height: clamp(340px, 32vw, 470px); overflow: hidden; }
.person__band img { width: 100%; height: 100%; object-fit: cover; }
.person__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; padding-top: clamp(2rem, 4vw, 3.5rem); }
.person__portrait { grid-column: 1 / 5; }
.person__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.person__head { grid-column: 6 / 13; display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.person__head .crumbs { padding-bottom: 0.5rem; }
.person h1 { font-size: var(--step-claim); line-height: 1; }
.person__role { font-size: var(--step-lead); color: var(--ink); }
.person__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; }
.person__q { font-size: var(--step-lead); margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.person__statement { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; color: var(--ink); }
.person__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.person__side { grid-column: 1 / 5; display: grid; gap: var(--gutter); }
.person__main { grid-column: 6 / 13; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.person__main .lead { max-width: 40ch; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.duo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Kontaktseite: Fragen und Anfahrt ---------- */
.contactinfo { padding-block: var(--section); }
.contactinfo__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.contactinfo__faq { grid-column: 1 / 8; display: grid; gap: 1.6rem; }
.contactinfo__faq h2 { font-size: var(--step-head); }
.contactinfo__visit { grid-column: 9 / 13; display: grid; gap: var(--gutter); }
.contactinfo__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.contactinfo__visit address { color: var(--ink); }
.faq__list { display: grid; gap: 4px; }
.faq__list details { background: var(--surface); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1rem 1.2rem; min-height: 48px; color: var(--gold); font-size: var(--step-lead); line-height: 1.2; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 0.55em; height: 0.55em; margin-top: 0.15em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; transition: rotate var(--t-ui) var(--ease-out); }
.faq__list details[open] summary::after { rotate: -135deg; }
.faq__list details p { padding: 0 1.2rem 1.2rem; color: var(--ink); max-width: 60ch; }

/* ---------- Textseiten ---------- */
.prose-page { padding-block: 0 var(--section); }
.prose { display: grid; }
.prose__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.prose__row:nth-child(odd) { background: var(--surface); margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); }
.prose__row h2 { grid-column: 1 / 5; font-size: var(--step-lead); line-height: 1.15; }
.prose__body { grid-column: 5 / 13; display: grid; gap: 1em; max-width: 62ch; }
.prose ul { display: grid; gap: 0.35em; }
.prose li { padding-left: 1.2em; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.42em; height: 0.42em; rotate: 45deg; background: var(--gold); }

/* ---------- Bewegung ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 20px)); } to { opacity: 1; transform: none; } }
@keyframes light-up { from { opacity: 0; scale: 1.05; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media, .js .pagehead__media, .js .person__portrait { opacity: 0; animation: light-up 1500ms var(--ease-soft) 80ms forwards; }
  .js [data-load] { opacity: 0; animation: rise 760ms var(--ease-out) forwards; animation-delay: var(--d, 300ms); --rise: 14px; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 720px) {
  .js [data-reveal] { opacity: 0; transform: translateY(var(--rise, 24px)); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="light"] { transform: none; transition: opacity 1400ms var(--ease-soft); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laden__fluegel, .laden__seite::after, .laden__fenster, .laden::after { transition: none; }
  .tile__img img, .button::before { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1099px) {
  .mainnav { display: none; }
  /* Tablet: nur die drei Goldzeichen als Knöpfe; Nummern und Adresse bleiben für Screenreader im Link */
  .masthead__kontakt { gap: 0.25rem; }
  .masthead__kontakt a { min-width: 44px; justify-content: center; }
  .masthead__kontakt .zeichen { width: 40px; height: 40px; }
  .masthead__text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .masthead__call { margin-left: auto; }
  .lawyer__figure { grid-column: 1 / 6; }
  .lawyer__text { grid-column: 7 / 13; }
  .reasons__head h2, .reasons__head p { grid-column: 1 / 13; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--featured { grid-column: 1 / -1; }
  .tile--wide { grid-column: auto; grid-template-columns: none; grid-template-rows: auto 1fr; }
  .tile--wide .tile__img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .banner__panel { grid-column: 1 / 13; min-height: 420px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); padding-right: var(--margin); }
  .banner__list { grid-column: 1 / 13; padding: 2.5rem var(--margin) 3rem; }
  .story__media, .story__row--flip .story__media { grid-column: 1 / 13; }
  .story__text, .story__row--flip .story__text { grid-column: 1 / 13; grid-row: auto; }
  .reach__panel { grid-column: 1 / 13; min-height: 0; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); padding: 4rem var(--margin) 5rem; }
  .reach__form { grid-column: 1 / 13; padding: 3rem var(--margin) 4rem; }
  .pagebody__main { grid-column: 1 / 13; }
  .pagebody__side { grid-column: 1 / 13; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidecard--toc, .sidecard--art { display: none; }
  .person__side { grid-column: 1 / 13; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .person__main { grid-column: 1 / 13; }
  .contactinfo__faq, .contactinfo__visit { grid-column: 1 / 13; }
  .contactinfo__visit { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .introband__lead, .introband__more { grid-column: 1 / 13; }
  .prose__row h2, .prose__body { grid-column: 1 / 13; }
  .prose__body { margin-top: 0.9rem; max-width: none; }
}

/* ---------- Bildkopf, Tafel und Startseite gestapelt ---------- */
@media (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 1.5rem; padding-bottom: 0; }
  .hero__grid { order: 1; }
  .hero__media { order: 2; position: relative; width: 100%; margin-top: 2rem; }
}
@media (max-width: 899px) {
  .pagehead { display: flex; flex-direction: column; }
  .pagehead__media { position: relative; order: -1; width: 100%; }
  .pagehead__grid { min-height: 0; padding-top: 0.5rem; margin-top: -2.5rem; }
  .pagehead__text { grid-column: 1 / 13; }
  .table, .table tbody { display: block; }
  .table thead, .table colgroup { display: none; }
  .table tr { display: grid; grid-template-columns: auto auto 1fr auto; column-gap: 0.3em; padding-block: 9px; }
  .table .part { display: block; padding: 0; }
  .table .part th { display: block; padding: 2rem 0 0.4rem; font-size: var(--step-body); }
  .table td:first-child { grid-column: 1 / -1; font-size: var(--step-lead); line-height: 1.25; }
  .table td:nth-child(2), .table td:nth-child(3) { font-size: var(--step-body); color: var(--muted); }
  .table td:nth-child(2):not(:last-child)::after { content: ","; }
  .table td:last-child { grid-column: 4; font-size: var(--step-body); color: var(--gold); }
}

/* ---------- Telefon ---------- */
@media (max-width: 719px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .masthead__bar { padding-block: 14px 12px; }
  .masthead__call { display: none; }
  .brand img { width: 46px; height: 46px; }
  .menu-btn { width: 52px; height: 52px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ground); padding-bottom: env(safe-area-inset-bottom); }
  .dock a, .dock button { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0; border: 0; background: var(--surface-2); color: var(--gold); font-size: var(--step-body); text-decoration: none; cursor: pointer; }
  .dock a:first-child { background: var(--gold); color: var(--ground); font-weight: 600; }

  .hero__text { gap: 1.25rem; }
  .hero__lead { font-size: var(--step-body); line-height: 1.5; }
  .qa h3 { font-size: var(--step-body); font-weight: 600; line-height: 1.3; }
  .hero__actions { width: 100%; }
  .hero__actions .button { flex: 1 1 100%; }
  .hero__media { aspect-ratio: 4 / 5; }
  .facts h2 { text-align: left; }
  .facts__list { grid-template-columns: 1fr; gap: 1.6rem; }
  .facts__list li { grid-template-columns: 8.8rem 1fr; column-gap: 0.9rem; row-gap: 0.2rem; justify-items: start; text-align: left; padding: 0; }
  .facts__figure { grid-row: 1 / 3; align-self: start; font-size: clamp(1.8rem, 7.6vw, 2.3rem); white-space: nowrap; }
  .facts__text { max-width: none; }
  .lawyer__figure, .lawyer__text { grid-column: 1 / 13; }
  .lawyer__figure { margin-right: 28px; }
  .reasons__list { grid-template-columns: 1fr; }
  .banner__panel { min-height: 340px; }
  .tiles { grid-template-columns: 1fr; }
  .tile--featured { grid-template-columns: 1fr; }
  .tile--featured .tile__img { aspect-ratio: 3 / 2; height: auto; }
  .tile--featured h3 { font-size: var(--step-lead); }
  .tile--featured .tile__text { font-size: var(--step-body); line-height: 1.55; }
  .steps__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .reach__panel { padding: 3.25rem var(--margin) 4.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .pagehead__actions .cta { flex: 1 1 100%; }
  .pagehead__actions .cta .button { flex: 1 1 auto; }
  .pagehead__actions .link { flex-basis: 100%; }
  .pagebody__side { grid-template-columns: minmax(0, 1fr); }
  .pairs { grid-template-columns: 1fr; }
  .person__band { height: 300px; }
  .person__portrait { grid-column: 3 / 11; grid-row: 2; }
  .person__head { grid-column: 1 / 13; grid-row: 1; }
  .pagehead__art { grid-column: 1 / 13; justify-self: start; width: 60%; order: -1; }
  .person__side { grid-template-columns: 1fr; }
  .contactinfo__visit { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .prose__row:nth-child(odd) { margin-inline: calc(-1 * var(--margin)); }
}

/* ---------- Seitenleiste mit Vorschaubildern, Abschluss mit Porträt ---------- */
.sidelinks { display: grid; gap: 10px; }
/* Vorschaubild schrumpft mit der Spalte: 180 px ab 1440 px Breite, bei 1100 px gut 100 px, damit auch „Gesellschaftsrecht“ daneben passt */
.sidelinks a { display: grid; grid-template-columns: clamp(96px, 21.8vw - 134px, 180px) minmax(0, 1fr); align-items: center; gap: 1rem; color: var(--ink); text-decoration: none; line-height: 1.3; transition: color var(--t-hover) ease; }
.sidelinks img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: scale 600ms var(--ease-out); }
.sidelinks a:focus-visible { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .sidelinks a:hover { color: var(--gold); } .sidelinks a:hover img { scale: 1.05; } }
.callout--portrait { grid-template-columns: minmax(0, 200px) 1fr; column-gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.callout--portrait .callout__img { grid-row: 1 / 4; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.dock { transition: translate 320ms var(--ease-out); }
.dock.is-hidden { translate: 0 110%; }
.sidelinks span { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 1099px) { .sidelinks a { grid-template-columns: 150px minmax(0, 1fr); } .sidelinks img { width: 150px; height: 100px; } }
@media (max-width: 719px) {
  .sidelinks a { grid-template-columns: 132px minmax(0, 1fr); }
  .sidelinks img { width: 132px; height: 92px; }
  .callout--portrait { grid-template-columns: 1fr; }
  .callout--portrait .callout__img { grid-row: auto; width: 46%; }
}

/* ---------- Vollmachten und Formulare ---------- */
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem var(--gutter); counter-reset: schritt; }
.howto li { position: relative; display: grid; gap: 0.45rem; align-content: start; padding-top: 1.25rem; counter-increment: schritt; }
.howto li::before { content: ""; position: absolute; top: 0; left: 0; width: 2.6rem; height: 4px; background: var(--gold); transform: skewX(-14deg); transform-origin: left; }
.howto h3 { font-size: var(--step-lead); line-height: 1.15; color: var(--gold); }
.howto h3::before { content: counter(schritt) ". "; }
.downloads { display: grid; gap: 10px; }
.download { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(0.9rem, 1.6vw, 1.4rem); row-gap: 0.35rem; padding: 1.05rem clamp(1rem, 2vw, 1.5rem); background: var(--surface); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover) ease; }
.download .zeichen { width: 46px; height: 46px; }
.download__text { display: grid; gap: 0.25rem; }
.download__title { font-size: var(--step-lead); line-height: 1.15; color: var(--gold); }
.download__meta { font-size: var(--step-small); color: var(--muted); }
.download__go { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .download:hover { background: var(--surface-2); }
  .download:hover .download__go { color: var(--ink); }
}
@media (max-width: 719px) {
  .howto { grid-template-columns: 1fr; gap: 1.1rem; }
  .download { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .download .zeichen { width: 40px; height: 40px; }
  .download__go { grid-column: 2; }
}
