/* Shared navigation, responsive spacing and intrinsic-width corrections. */
.header-inner { gap: 24px; }
.site-header #navigation { gap: clamp(12px, 1.2vw, 22px); font-size: 17px; }
.site-header .nav-contact { color: inherit; }
.language-picker { position: relative; flex: 0 0 auto; }
.language-trigger { display: flex; gap: 9px; align-items: center; padding: 12px 0; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; }
.language-trigger svg { width: 14px; height: 14px; color: var(--blue); transition: transform .25s; }
.language-trigger[aria-expanded='true'] svg { transform: rotate(180deg); }
.language-options { position: absolute; right: 0; top: calc(100% + 8px); width: 172px; padding: 8px; margin: 0; list-style: none; background: white; border-top: 2px solid var(--blue); box-shadow: 0 12px 35px #20384420; animation: language-enter .2s ease-out; }
.language-options[hidden] { display: none; }
.language-options a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 9px 12px; transition: background .2s, color .2s; }
.language-options a:hover, .language-options a:focus-visible { background: var(--mist); color: var(--blue-dark); }
.language-options a[aria-current='true']::after { content: '✓'; color: var(--blue-dark); }
.footer-languages { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.footer-languages a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; border-bottom: 1px solid transparent; }
.footer-languages a:hover, .footer-languages a[aria-current='true'] { border-color: var(--blue); color: var(--blue-dark); }
@keyframes language-enter { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
.phone-list li { display: block; min-width: 0; }
.phone-list .lawyer-contact-channels, .lawyer-contact-row { min-width: 0; }
.phone-list .lawyer-contact-row > a, .lawyer-contact-row > a { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.contact-grid > *, .home-introduction > *, .domain-panel > * { min-width: 0; }
.contact-grid .contact-details { grid-column: 1; grid-row: 1; }
.contact-grid .contact-form { grid-column: 2; grid-row: 1; }
.contact-directory { border: 0; }
.contact-directory > summary { padding: 0; margin-bottom: 20px; color: var(--ink); font: 500 18px/1.4 var(--sans); cursor: default; }
.contact-directory > summary svg { display: none; }
.directions-arrow { display: inline-block; width: 17px; height: 17px; margin-inline-start: 8px; vertical-align: -.12em; flex-shrink: 0; }
.profile-facts .wrap > *, .practice-list > *, .career-list li > * { min-width: 0; overflow-wrap: anywhere; }
.practice-list { grid-template-columns: repeat(2,minmax(0,1fr)); hyphens: auto; }
html[lang='de'] :is(p, li, h1, h2, h3, .domain-tags) { hyphens: auto; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 1180px) and (min-width: 1021px) {
  .site-header .wrap { width: calc(100% - 48px); }
  .site-header .brand { width: 170px; }
  .site-header #navigation { gap: 12px; font-size: 15px; }
}
@media (max-width: 1020px) {
  .mobile-contact.contact-action { display: none; }
  .menu-toggle { width: 44px; flex-shrink: 0; }
  .menu-lines { width: 28px; height: 18px; border: 0; background: linear-gradient(#a1a5a7,#a1a5a7) center/100% 2px no-repeat; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; width: 28px; height: 2px; left: 0; top: 0; background: var(--blue); transition: transform .25s, top .25s; }
  .menu-lines::after { top: 16px; }
  .menu-toggle[aria-expanded='true'] .menu-lines { background: none; }
  .menu-toggle[aria-expanded='true'] .menu-lines::before, .menu-toggle[aria-expanded='true'] .menu-lines::after { top: 8px; background: var(--blue); }
  .site-header #navigation { font-size: 21px; max-height: calc(100dvh - 82px); overflow-y: auto; }
  .site-header #navigation.is-open { gap: 3px; padding-block: 16px 24px; }
  .site-header #navigation > a { min-height: 44px; padding-block: 8px; }
  .language-picker { width: 100%; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
  .language-options { position: static; width: 100%; box-shadow: none; border: 0; padding: 0; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 76px; }
  .brand img { height: 60px; }
  .section-space, .contact-section { padding-block: 44px; }
  .hero-content { min-height: 450px; padding-block: 46px; }
  .hero-description { margin-top: 25px; font-size: 18px; line-height: 1.55; }
  .page-heading { padding-block: 25px 30px; }
  .page-intro { margin-top: 20px; font-size: 18px; }
  .inner-page .page-heading + .section-space { padding-top: 22px; }
  .home-introduction, .study-grid, .section-intro, .questions-section, .contact-grid { gap: 24px; }
  .home-introduction-copy { font-size: 18px; line-height: 1.6; }
  .home-page .home-introduction, .home-practices, .home-contact, .home-faq { padding-block: 44px; }
  .home-page .home-introduction { gap: 24px; }
  .home-page .home-introduction-copy { font-size: 18px; }
  .home-page .home-introduction-copy p + p { margin-top: 16px; }
  .home-page .home-introduction .home-lead { font-size: 21px; margin-top: 20px; }
  .home-office-photo { margin-top: 24px; }
  .home-duo-introduction { padding-block: 54px 44px; gap: 24px; }
  .home-duo-introduction::before { top: 26px; }
  .home-duo-introduction > div { padding-top: 20px; }
  .home-duo-introduction p, .home-faq-intro p, .home-practices-heading > p { font-size: 18px; line-height: 1.6; }
  .home-faq summary { font-size: 18px; }
  .home-contact-heading { gap: 18px; margin-bottom: 24px; }
  .home-contact .contact-grid { gap: 28px; }
  .home-contact .phone-list li { grid-template-columns: minmax(0,1fr); }
  .home-page .site-footer { padding-top: 35px; }
  p + p { margin-top: 16px; }
  .contact-grid { display: flex; flex-direction: column; }
  .contact-grid .contact-form { order: -1; }
  .contact-heading { margin-bottom: 25px; }
  .contact-heading > p { margin-top: 16px; font-size: 18px; }
  .contact-form .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; margin-top: 16px; }
  .form-field label { font-size: 15px; margin-bottom: 4px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; line-height: 1.35; min-height: 46px; padding: 10px 8px; }
  .form-field textarea { min-height: 110px; height: 110px; }
  .contact-form > .contact-submit { margin-top: 12px; font-size: 18px; }
  .contact-details { padding-top: 24px; }
  .contact-directory { border-block: 1px solid #b7cdd9; }
  .contact-directory > summary { min-height: 60px; padding: 16px 0; margin: 0; gap: 16px; color: var(--blue-dark); cursor: pointer; }
  .contact-directory > summary svg { display: block; flex: 0 0 24px; width: 24px; height: 24px; transition: transform .28s ease; }
  .contact-directory[open] > summary svg { transform: rotate(180deg); }
  .contact-directory[open] > .phone-list { padding-bottom: 10px; animation: directory-reveal .28s ease-out; }
  .contact-directory .phone-list li:last-child { border-bottom: 0; }
  .phone-list li { padding-block: 12px; }
  .phone-list .lawyer-contact-channels { gap: 4px; margin-top: 6px; }
  .phone-list .lawyer-contact-row > a { font-size: 16px; }
  summary { padding-block: 18px; font-size: 18px; }
  .domain-panel { min-height: 0; padding: 25px 20px; }
  .domain-tabs button { overflow-wrap: anywhere; font-size: 19px; }
  .profile-facts { padding-block: 30px; }
  .profile-facts .wrap, .profile-career { gap: 24px; }
  .practice-list { grid-template-columns: minmax(0,1fr); gap: 9px; font-size: 23px; }
  .lawyers-page .lawyers-intro { padding-block: 28px; }
  .lawyers-page .lawyers-directory { padding-bottom: 44px; }
  .profile-hero { gap: 24px; padding-bottom: 30px; }
  .site-footer { padding-top: 35px; }
  .footer-inner { gap: 24px; }
  .footer-navigation { gap: 12px 20px; }
}
@media (min-width: 701px) and (max-width: 800px) {
  .home-contact .contact-grid .contact-form { grid-column: 1; grid-row: 1; }
  .home-contact .contact-grid .contact-details { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .language-options { animation: none; }
  .language-trigger svg, .menu-lines::before, .menu-lines::after { transition: none; }
  .contact-directory > summary svg { transition: none; }
  .contact-directory[open] > .phone-list { animation: none; }
}
@keyframes directory-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
