/* ra-prasse.de | Dr. Christian Prasse
   One stylesheet, no framework. Spacing runs on a single fluid scale so every
   section breathes the same way on phone and desktop. */

/* Self-hosted fonts (no Google CDN) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --navy: #0a2342;
  --navy-deep: #071a32;
  --gold: #b8a06f;
  --gold-ink: #7d6634;          /* gold for text on white, 5.2:1 */
  --ink: #1b2533;
  --ink-2: #4a6572;             /* secondary text, 5.9:1 on white */
  --ink-3: #6b7f89;
  --canvas: #f5f5f2;
  --white: #fff;
  --line: rgba(10, 35, 66, .1);
  --line-strong: rgba(10, 35, 66, .18);

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing */
  --gutter: clamp(20px, 5vw, 72px);
  --wrap: 1240px;
  --space-section: clamp(88px, 5rem + 6vw, 176px);
  --space-head: clamp(48px, 2rem + 4vw, 96px);   /* section head -> content */
  --gap: clamp(20px, 1rem + 1.2vw, 32px);
  --header-h: 72px;

  --radius: 20px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  interpolate-size: allow-keywords;
}
@media (max-width: 1023px) { :root { --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1.25em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 600; }
::selection { background: rgba(184, 160, 111, .3); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 639px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 479px) { .checklist li { hyphens: auto; -webkit-hyphens: auto; } }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--navy); color: #fff; border-radius: 999px; font-size: .875rem; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.icon { width: 1.125em; height: 1.125em; flex-shrink: 0; }

/* ---------- Type ---------- */
.display-1, .display-2, .display-3, .page-head__title, .hero__title { font-family: var(--font-serif); color: var(--navy); }
.display-1 { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1.02; letter-spacing: -.015em; }
.display-2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em; }
.display-3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.008em; }
.display-2 em, .display-1 em { font-style: italic; color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  font-size: .75rem; line-height: 1.4; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.55; font-weight: 300; color: var(--ink); letter-spacing: -.005em; }
.lead strong { font-weight: 500; color: var(--navy); }
.muted { color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font: 500 1rem/1 var(--font-sans); letter-spacing: .005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform 200ms var(--ease-out); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: #c7b184; }
  .btn--primary:hover { background: #14325a; }
  .btn--outline:hover { background: var(--navy); color: #fff; }
  .btn:hover .icon { transform: translateX(3px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--navy); }
.link-arrow .icon { transition: transform 200ms var(--ease-out); }
.link-arrow--gold { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .icon { transform: translateX(4px); } }

/* ---------- Header ---------- */
/* The material lives on ::before: a backdrop-filter on the header itself would make it
   the containing block for the fixed mobile menu and clip it. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: box-shadow 200ms ease; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-top: env(safe-area-inset-top); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); font-weight: 600; color: var(--navy); letter-spacing: -.005em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.site-nav a { position: relative; font-size: .9375rem; color: var(--ink-2); padding-block: 8px; transition: color 200ms ease; }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 500; }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--navy); } }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: transform 240ms var(--ease-out); }
  .nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px max(var(--gutter), env(safe-area-inset-left)) calc(40px + env(safe-area-inset-bottom));
    background: var(--white);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 280ms var(--ease-out), visibility 0s; }
  .site-nav a { font-family: var(--font-serif); font-size: 2rem; line-height: 1.2; font-weight: 500; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { color: var(--gold-ink); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header::before { background: var(--white); }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: var(--space-section); }
.section--tight-top { padding-top: 0; }
.section--canvas { background: var(--canvas); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--navy .display-1, .section--navy .display-2 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: var(--space-head); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.section-head--center .section-head__lead { margin-inline: auto; }

/* page head (subpages) */
.page-head { padding: calc(var(--header-h) + clamp(72px, 3rem + 7vw, 160px)) 0 clamp(64px, 2.5rem + 5vw, 128px); text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head__title { font-size: clamp(3rem, 2rem + 4.4vw, 6rem); line-height: 1; letter-spacing: -.02em; }
.page-head__lead { max-width: 36ch; margin: 28px auto 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; font-weight: 300; color: var(--ink-2); }
.page-head--legal { padding-bottom: clamp(48px, 2rem + 4vw, 88px); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: max(620px, min(100svh, 1000px));
  background: var(--navy); color: #fff;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -1; }
.hero__media img { object-fit: cover; object-position: 70% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 35, 66, .82) 0%, rgba(10, 35, 66, .35) 55%, rgba(10, 35, 66, .1) 100%),
    linear-gradient(180deg, rgba(10, 35, 66, .25) 0%, rgba(10, 35, 66, 0) 35%, rgba(10, 35, 66, .7) 100%);
}
.hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(72px, 3rem + 7vh, 144px); }
.hero__title { hyphens: manual; -webkit-hyphens: manual; color: #fff; font-size: clamp(3.5rem, 1.5rem + 7.5vw, 8rem); line-height: .95; letter-spacing: -.02em; font-weight: 500; max-width: 11ch; }
.hero__lead { max-width: 30ch; margin: clamp(24px, 3vw, 36px) 0 clamp(36px, 4vw, 48px); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.55; font-weight: 300; color: rgba(255, 255, 255, .86); }
@media (max-width: 639px) {
  .hero { min-height: max(560px, 88svh); }
  .hero__media::after { background: linear-gradient(180deg, rgba(10, 35, 66, .35) 0%, rgba(10, 35, 66, .25) 35%, rgba(10, 35, 66, .88) 100%); }
}

/* ---------- Intro (home) ---------- */
.intro { display: grid; gap: clamp(40px, 5vw, 96px); align-items: start; }
@media (min-width: 1024px) { .intro { grid-template-columns: 5fr 7fr; } .intro__title { position: sticky; top: calc(var(--header-h) + 48px); } }
.intro__text { max-width: 64ch; }
.intro__text .lead + p { margin-top: 36px; }

/* ---------- Rechtsgebiete list (home, navy) ---------- */
.areas { display: grid; gap: clamp(48px, 6vw, 120px); align-items: start; }
@media (min-width: 1024px) { .areas { grid-template-columns: 4fr 7fr; } .areas__intro { position: sticky; top: calc(var(--header-h) + 48px); } }
.areas__lead { margin: 28px 0 32px; max-width: 38ch; font-size: 1.0625rem; }
.areas__list { counter-reset: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.areas__list a {
  display: grid; grid-template-columns: 44px 1fr 24px; gap: 16px; align-items: baseline;
  padding: clamp(24px, 1.2rem + 1vw, 36px) 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  transition: color 200ms ease;
}
.areas__num { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.areas__name { font-family: var(--font-serif); font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -.005em; }
.areas__arrow { width: 22px; height: 22px; align-self: center; color: var(--gold); opacity: .55; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .areas__list a:hover { color: var(--gold); }
  .areas__list a:hover .areas__arrow { opacity: 1; transform: translateX(6px); }
}
@media (max-width: 639px) { .areas__list a { grid-template-columns: 36px 1fr 20px; gap: 12px; } }

/* ---------- Audience (home) ---------- */
.audience { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.audience li {
  position: relative;
  padding: clamp(28px, 1.4rem + 1.2vw, 44px);
  background: var(--canvas); border-radius: var(--radius);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink);
}
.audience li { display: flex; align-items: center; gap: clamp(20px, 1rem + 1vw, 28px); }
.audience__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--navy); }
.audience__icon .icon { width: 24px; height: 24px; }
@media (max-width: 639px) { .audience li { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ---------- Split (home) ---------- */
.split { display: grid; }
.split--canvas { background: var(--canvas); }
.split__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.split__body { padding: var(--space-section) max(var(--gutter), env(safe-area-inset-right)) var(--space-section) max(var(--gutter), env(safe-area-inset-left)); }
.split__inner { max-width: 560px; }
.split__inner .display-2 { margin-bottom: 32px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__media { aspect-ratio: auto; min-height: 100%; }
  .split__body { display: flex; align-items: center; padding-inline: clamp(56px, 6vw, 120px); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 44px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: .875rem; line-height: 1.4; color: var(--ink-2); }

/* ---------- Cards & grids ---------- */
.card { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 1.4rem + 1.2vw, 40px); }
.card--lg { padding: clamp(28px, 1rem + 3vw, 56px); }
.card--canvas { background: var(--canvas); }
.section--canvas .card--canvas { background: var(--white); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; background: var(--canvas); color: var(--navy); }
.card--canvas .card__icon, .section--canvas .card:not(.card--canvas) .card__icon { background: var(--white); }
.section--canvas .card .card__icon { background: var(--canvas); }
.card__icon .icon { width: 24px; height: 24px; }
.card__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.2; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.card__sub { font-size: .875rem; font-weight: 500; color: var(--gold-ink); margin: -4px 0 16px; }
.card__sub + p { margin-top: 0; }
.card p { color: var(--ink-2); }

.cols-2, .cols-3 { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Über mich ---------- */
.profile { display: grid; gap: clamp(40px, 5vw, 96px); align-items: center; }
@media (min-width: 900px) { .profile { grid-template-columns: 5fr 7fr; } }
.profile__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--canvas); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 30%; }
.profile__text { max-width: 62ch; }
.profile__text .lead + p { margin-top: 32px; }
@media (max-width: 899px) { .profile__photo { max-width: 520px; } }

.principles { display: grid; gap: clamp(40px, 4vw, 56px); margin-bottom: var(--space-head); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.principles__num { display: block; margin-bottom: 16px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--gold-ink); }
.principles h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.2; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.principles p { color: var(--ink-2); }
.closing { max-width: 64ch; margin: var(--space-head) auto 0; text-align: center; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.7; color: var(--ink); }

/* ---------- Rechtsgebiete ---------- */
.jumpnav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line);
}
.jumpnav__list {
  display: flex; gap: 8px; padding-block: 12px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 32px), transparent 100%);
  padding-inline: 16px;
  margin-inline: -16px;
}
.jumpnav__list::-webkit-scrollbar { display: none; }
.jumpnav__list li { flex: none; scroll-snap-align: start; }
.jumpnav__list a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border-radius: 999px; background: var(--canvas);
  font-size: .875rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.jumpnav__list a:active { transform: scale(.97); }
.jumpnav__list a.is-active { background: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .jumpnav__list a:not(.is-active):hover { color: var(--navy); background: #ebebe6; } }
@media (min-width: 1280px) { .jumpnav__list { justify-content: center; -webkit-mask-image: none; mask-image: none; } }
.page-rechtsgebiete { scroll-padding-top: calc(var(--header-h) + 88px); }
html:has(.page-rechtsgebiete) { scroll-padding-top: calc(var(--header-h) + 88px); }

.area + .area { padding-top: 0; }
/* Top-aligned + sticky image: opening the Leistungsübersicht only grows the text column
   downward; the image never re-centers or jumps. */
.area__grid { display: grid; gap: clamp(36px, 5vw, 96px); align-items: start; }
@media (min-width: 900px) {
  .area__grid { grid-template-columns: 5fr 7fr; }
  .area--reverse .area__media { order: 2; }
  .area__media { position: sticky; top: calc(var(--header-h) + 64px + 32px); }
}
.area__media { aspect-ratio: 1; max-width: 520px; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--canvas); }
.area__media img { width: 100%; height: 100%; object-fit: cover; }
.area__body { max-width: 62ch; }
.area__body .display-3 { margin-bottom: 28px; }
.area__body > p:not(.eyebrow) { color: var(--ink-2); }
.area__body .btn { margin-top: 40px; }
@media (max-width: 899px) { .area__media { aspect-ratio: 4 / 3; max-width: none; } }

.disclosure { margin-top: 36px; border-block: 1px solid var(--line-strong); }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary:focus-visible { outline-offset: 4px; border-radius: 10px; }
.disclosure summary:focus:not(:focus-visible) { outline: none; }
.disclosure__chev { width: 20px; height: 20px; transition: transform 240ms var(--ease-out); }
.disclosure[open] .disclosure__chev { transform: rotate(180deg); }
.disclosure::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.disclosure[open]::details-content { block-size: auto; }
.checklist { padding-bottom: 20px; }
.checklist li { display: flex; gap: 14px; padding: 10px 0; font-size: .9375rem; line-height: 1.6; color: var(--ink); }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-ink); }

.cta-band__inner { max-width: 760px; text-align: center; }
.cta-band p { margin: 24px auto 40px; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }

/* ---------- Beratung ---------- */
.steps { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.steps__num { display: block; margin-bottom: 20px; font-family: var(--font-serif); font-size: 3.25rem; line-height: 1; font-weight: 500; color: var(--gold); }

/* ---------- Forms ---------- */
.form { max-width: 760px; margin-inline: auto; display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field label span { color: var(--gold-ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--canvas); color: var(--ink);
  font: 400 1rem/1.5 var(--font-sans);  /* 16px: no iOS zoom on focus */
  -webkit-appearance: none; appearance: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.card--canvas .field input, .card--canvas .field textarea, .card--canvas .field select { background: var(--white); }
.field textarea { min-height: 168px; resize: vertical; }
.field ::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(10, 35, 66, .1); }
.select { position: relative; }
.select select { padding-right: 48px; cursor: pointer; }
.select select:invalid { color: var(--ink-3); }
.select__chev { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.form__note { font-size: .8125rem; line-height: 1.6; color: var(--ink-2); }
.form__note a, .prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.form__status { font-size: .9375rem; color: var(--navy); text-align: center; }
.form .btn { margin-top: 8px; }

/* ---------- Kontakt ---------- */
.contact-tiles { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .contact-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-tiles { grid-template-columns: repeat(4, 1fr); } }
.contact-tiles > li { background: var(--canvas); border-radius: var(--radius); }
.contact-tiles > li, .contact-tiles__link { display: block; padding: clamp(28px, 1.4rem + 1vw, 40px); }
.contact-tiles > li:has(.contact-tiles__link) { padding: 0; }
.contact-tiles__link { height: 100%; border-radius: var(--radius); transition: transform 160ms var(--ease-out), background-color 200ms ease; -webkit-tap-highlight-color: transparent; }
.contact-tiles__link:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .contact-tiles__link:hover { background: #ebebe6; } }
.contact-tiles .card__icon { background: var(--white); }
.contact-tiles__label { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.contact-tiles p { color: var(--ink-2); font-size: .9375rem; }
.contact-tiles__link p { color: var(--navy); font-weight: 500; }

.directions { display: grid; gap: clamp(40px, 5vw, 96px); align-items: center; }
@media (min-width: 900px) { .directions { grid-template-columns: 1fr 1fr; } }
.directions__text .display-2 { margin-bottom: 28px; }
.directions__text { max-width: 56ch; }
.directions__card p { color: var(--ink); }
.directions__card .muted { color: var(--ink-2); }
.directions__card .btn { margin-top: 36px; }
@media (max-width: 479px) { .directions__card .btn { width: 100%; white-space: normal; text-align: center; padding-block: 14px; } }

/* ---------- Legal prose ---------- */
.prose { max-width: 72ch; margin-inline: auto; overflow-wrap: anywhere; }
.prose h2 { font-family: var(--font-serif); font-size: clamp(1.625rem, 1.4rem + .8vw, 2.125rem); line-height: 1.2; font-weight: 600; color: var(--navy); margin: clamp(48px, 5vw, 72px) 0 20px; }
.prose h3 { font-size: 1.0625rem; line-height: 1.45; font-weight: 600; color: var(--navy); margin: 36px 0 12px; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 28px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--ink); }
.prose h2 + p, .prose h3 + p, .prose h4 + p { margin-top: 0; }
.prose p + ul, .prose ul + p { margin-top: 1.25em; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--gold-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: .9375rem; line-height: 1.7; padding-bottom: env(safe-area-inset-bottom); }
.site-footer__grid { display: grid; gap: 48px 32px; padding-block: clamp(72px, 3rem + 5vw, 120px) clamp(56px, 2.5rem + 3vw, 88px); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; } }
.site-footer__brand { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.2; font-weight: 600; color: #fff; margin-bottom: 12px; }
.site-footer__head { font-family: var(--font-sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.site-footer__list li + li { margin-top: 10px; }
.site-footer__list--icons li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__list--icons .icon { margin-top: 4px; color: var(--gold); opacity: .8; }
.site-footer a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--gold); } }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: baseline; padding-block: 28px 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.site-footer__legal-links { display: flex; gap: 24px; margin: 0; }
.site-footer__ai { flex-basis: 100%; order: 3; margin: 0; }
.site-footer__ai a { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 12px; color: rgba(255, 255, 255, .6); }
.site-footer__ai .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--gold); }
@media (min-width: 768px) { .site-footer__ai a { min-height: 0; padding-block: 4px 0; } }
.site-footer__legal-links a { display: inline-block; padding-block: 6px; }
@media (max-width: 1023px) {
  .site-footer__list li + li { margin-top: 0; }
  .site-footer__list a, .site-footer__legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__list--icons li { align-items: center; }
  .site-footer__list--icons li:first-child { align-items: flex-start; padding-bottom: 6px; }
}

/* ---------- Scroll reveal (once, JS-gated) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js .reveal { transition-duration: 300ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .jumpnav { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #33474f; --ink-3: #4a5a62; --line: rgba(10, 35, 66, .3); }
  .card, .audience li, .contact-tiles > li { box-shadow: inset 0 0 0 1px var(--line-strong); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .jumpnav, .hero__media, .btn { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero__title, .hero__lead { color: var(--navy); }
  .section { padding-block: 32px; }
  .js .reveal { opacity: 1; transform: none; }
}
