:root {
  --ink: #183d40;
  --muted: #4e6060;
  --paper: #fffdf8;
  --wash: #eef6f2;
  --white: #fff;
  --line: #d6e4de;
  --teal: #12686a;
  --navy: #145b5e;
  --apricot: #ffcaa7;
  --cream: #fff1e3;
  --teal-dark: #0f5157;
  --mint: #12686a;
  --radius: 10px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #176f73; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; line-height: 1.04; }
h1 { font-size: clamp(47px, 6.2vw, 95px); }
h2 { font-size: clamp(36px, 4.3vw, 63px); }
h3 { font-size: 20px; line-height: 1.25; }
.wrap { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.skip { position: absolute; z-index: 5; left: 14px; top: -80px; background: var(--white); padding: 8px 12px; }
.skip:focus { top: 12px; }
header, footer { background: var(--white); }
header { border-bottom: 1px solid var(--line); }
.nav, .footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 82px; }
.brand { display: inline-block; flex: none; }
.brand img { width: 230px; height: auto; }
.nav nav, .footer-links { display: flex; gap: clamp(14px, 2.6vw, 32px); align-items: center; flex-wrap: wrap; }
.nav nav a, .footer-links a { font-size: 14px; font-weight: 620; text-decoration: none; }
.nav nav a:hover, .nav nav a[aria-current]:not(.button), .footer-links a:hover { text-decoration: underline; }
.direct { border-top: 1px solid var(--line); }
.direct .wrap { display: flex; gap: 5px 20px; justify-content: flex-end; flex-wrap: wrap; padding-block: 5px; font-size: 12px; }
.direct span { color: var(--muted); }
.direct a { text-decoration: none; }
.direct a:hover { text-decoration: underline; }
.direct strong { margin-left: 4px; color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid var(--teal); border-radius: 6px; padding: 9px 16px; font-size: 14px; font-weight: 680; text-decoration: none; }
.primary, .nav-button { background: var(--navy); border-color: var(--navy); color: white; transition: background .18s; }
.primary:hover, .nav-button:hover { background: #0d494c; border-color: #0d494c; }
.text-link { color: var(--teal); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.eyebrow, .tag { color: var(--teal); font-size: 11px; line-height: 1.5; letter-spacing: .15em; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.eyebrow span { width: 20px; height: 2px; background: currentColor; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cream); color: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 20px 0 20px 20%; z-index: -1; pointer-events: none; background: url("kanzlei-wasserzeichen.webp") right center / contain no-repeat; mix-blend-mode: multiply; opacity: .22; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.hero-grid { display: block; min-height: 530px; padding-block: clamp(55px, 7vw, 100px); }
.hero-copy { max-width: 820px; }
.hero .eyebrow, .hero h1 em, .hero .text-link { color: var(--mint); }
.hero h1 em { font-weight: 400; }
.intro { max-width: 48ch; margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.55vw, 20px); }
.actions, .intro-actions, .vacancy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.hero .primary { background: var(--apricot); border-color: var(--apricot); color: var(--ink); }
.hero .primary:hover { background: #ffb98a; border-color: #ffb98a; }
.caption-right { color: #d8e2eb; }
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact-grid div { display: flex; align-items: center; gap: 12px; padding: 20px 16px; }
.fact-grid div + div { border-left: 1px solid var(--line); }
.fact-grid strong { color: #a34c28; font: 400 clamp(30px, 4vw, 49px)/1 var(--serif); }
.fact-grid span { color: var(--muted); font-size: 13px; font-weight: 620; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px 42px; align-items: end; margin-bottom: 28px; }
.section-heading > p, .feature-card p, .page-intro p, .home-about p:not(.eyebrow), .home-digital p:not(.eyebrow), .home-career p:not(.eyebrow), .split p, .next p, .career-contact p { color: var(--muted); max-width: 58ch; }
.group-title { margin-bottom: 25px; }
.feature-grid, .locations, .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-services .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .locations article, .people > div { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(17px, 2.7vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card h2 { font: 680 clamp(20px, 2.1vw, 27px)/1.25 var(--sans); letter-spacing: -.025em; }
.feature-card:hover, .feature-card:focus-within { border-color: #7f98b0; }
.service-index h2 a, .service-index h3 a { text-decoration-color: #92a5b5; }
.service-index a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.home-about, .split, .home-digital .wrap, .home-career { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); align-items: center; }
.home-about { border-top: 1px solid var(--line); }
.home-about > div { grid-column: 1; grid-row: 1; }
.home-about p:not(.eyebrow), .home-digital p:not(.eyebrow), .home-career p:not(.eyebrow), .split h2 + p, .next p, .career-contact p { margin-top: 14px; }
.home-about .text-link, .home-career .button { display: inline-flex; margin-top: 15px; }
.office-film { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.office-film video { width: 100%; aspect-ratio: 16/9; background: var(--ink); }
.office-film figcaption { padding: 9px 12px; color: var(--muted); font-size: 12px; }
.split img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: var(--radius); }
.home-digital, .about, .next { padding-block: clamp(38px, 6vw, 76px); background: var(--wash); }
.digital-links { display: grid; gap: 8px; }
.digital-links a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--teal); font-weight: 650; text-decoration: none; }
.digital-links a:hover { text-decoration: underline; }
.contact { padding-block: clamp(38px, 6vw, 76px); }
.contact .button { justify-self: end; }
.locations article { justify-items: start; }
.locations address { font-style: normal; }
.locations article > span, .people small { color: var(--muted); }
.route { color: var(--teal); font-weight: 650; }
.next .wrap, .career-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.page-intro { padding-block: 28px clamp(36px, 6vw, 75px); background: var(--wash); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 21ch; overflow-wrap: anywhere; }
.page-intro p { margin-top: 16px; font-size: clamp(16px, 1.75vw, 20px); }
.trail { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.detail-content ul, .vacancy-content ul, .benefit-list { margin: 8px 0 20px; padding-left: 21px; max-width: 70ch; color: var(--muted); }
li + li { margin-top: 6px; }
.vacancy-section { max-width: 1020px; }
.vacancy { background: white; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
.vacancy summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px clamp(16px, 3vw, 27px); cursor: pointer; list-style: none; }
.vacancy summary::-webkit-details-marker { display: none; }
.vacancy summary strong { font-size: clamp(17px, 2.3vw, 24px); }
.vacancy summary small { display: block; color: var(--muted); font-size: 13px; }
.vacancy[open] summary { background: var(--wash); border-radius: var(--radius) var(--radius) 0 0; }
.plus { display: grid; place-items: center; flex: none; width: 31px; height: 31px; color: var(--teal); border: 1px solid #b2c5cd; border-radius: 50%; }
.plus::before { content: '+'; }
.vacancy[open] .plus::before { content: '−'; }
.vacancy-content { padding: 21px clamp(16px, 3vw, 27px); }
.vacancy-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 25px; }
footer { border-top: 1px solid var(--line); }
.footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
 .footer-location { display: grid; align-content: start; gap: 10px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.footer-location h2 { font: 700 20px/1.3 var(--sans); letter-spacing: -.02em; }
.footer-location address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-phone { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; justify-self: start; color: var(--teal); text-decoration: none; }
.footer-phone span { font-size: 13px; color: var(--muted); }
.footer-phone strong { font-size: 16px; font-weight: 680; font-variant-numeric: tabular-nums; }
.footer-phone:hover strong { text-decoration: underline; }
.footer-grid { padding-block: 13px; }
.footer-links { gap: 9px 18px; }
.footer-links a { font-size: 12px; }
@keyframes appear { from { transform: translateY(9px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) { .revealed { animation: appear .4s ease-out; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .nav { flex-wrap: wrap; padding-block: 11px; gap: 10px; }
  .home-services .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 34px); }
  .nav, .footer-grid { align-items: flex-start; flex-direction: column; }
  .direct .wrap { justify-content: flex-start; }
  .direct .wrap > span { display: none; }
  .hero-grid, .section-heading, .feature-grid, .home-services .feature-grid, .home-about, .split, .home-digital .wrap, .home-career, .locations, .people, .vacancy-columns { grid-template-columns: 1fr; }
  .fact-grid div { align-items: flex-start; flex-direction: column; gap: 6px; padding: 10px 6px; }
  .fact-grid span { font-size: 11px; }
  .contact .button { justify-self: start; }
  .footer-contact { grid-template-columns: 1fr; gap: 12px; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.about-intro { position: relative; isolation: isolate; overflow: hidden; }
.about-intro::before { content: ""; position: absolute; inset: 18px 0 18px 28%; z-index: -1; pointer-events: none; background: url("kanzlei-wasserzeichen.webp") right center / contain no-repeat; mix-blend-mode: multiply; opacity: .18; mask-image: linear-gradient(90deg, transparent, #000); }
.about-intro .split { display: block; max-width: 920px; margin-inline: 0; }
.about-intro .split > * { min-width: 0; }
.about-intro h1 { font-size: clamp(43px, 5vw, 74px); hyphens: auto; }
.about-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-network { background: var(--cream); color: var(--ink); padding-block: clamp(45px, 7vw, 88px); }
.about-network .eyebrow, .about-network .text-link { color: var(--mint); }
.about-network .split h2 + p { color: var(--muted); }
.about-network-services { border: 1px solid #c8dcd4; border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.about-network-services ul { padding-left: 20px; margin: 12px 0 18px; }
@media (max-width: 650px) { .about-principles { grid-template-columns: 1fr; } }

@media (max-width: 650px) { .hero-grid { min-height: 0; padding-block: 55px; } .hero::before { background-size: auto 100%; background-position: 65% center; opacity: .07; mask-image: linear-gradient(90deg, transparent, #000); } }

/* Apricot repeats at key entry points to give the light palette a clear identity. */
.hero h1 em { text-decoration: underline; text-decoration-color: #ffcaa7; text-decoration-thickness: .11em; text-underline-offset: .13em; }
.feature-card .tag { width: 34px; min-height: 28px; display: grid; place-items: center; background: var(--cream); color: #884123; border-radius: 5px; }
.feature-card:hover, .feature-card:focus-within { border-color: #c58a68; }
.next { background: var(--cream); }
.footer-location { background: var(--wash); }
