.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  width: 35px;
  height: auto;
  position: relative;
  top: -3px;
  filter: brightness(0);
}

.header__brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.header__brand-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}

.header__brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.header__nav-link:hover {
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.lang-switch span {
  color: var(--muted);
}

.lang-switch__btn {
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--transition);
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.active {
  color: var(--text);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.header__cta:hover {
  background: var(--text);
  color: var(--bg);
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  position: relative;
  top: -2px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  padding: 1.5rem 0 5rem;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  height: 480px;
}

.hero__image {
  position: relative;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem;
  background: #B4B9DB;
  color: var(--text);
  border-radius: var(--radius);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
  hyphens: none;
  -webkit-hyphens: none;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.hero__cta:hover {
  transform: translateX(6px);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section__header {
  margin-bottom: 3rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
}

/* Lawyers grid */
.lawyers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Contact section */
.contact {
  background: #F0F0F0;
  border-radius: var(--radius);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__logo-img {
  width: 55px;
  height: auto;
  filter: brightness(0);
  margin-bottom: 0.75rem;
}

.contact__office {
  margin-bottom: 2rem;
}

.contact__office-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.contact__office-detail {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact__person {
  margin-bottom: 1.5rem;
}

.contact__person-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact__person-detail {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact__person-detail a:hover {
  color: var(--accent);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #CFD4E6;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo-img {
  width: 55px;
  height: auto;
  filter: brightness(0);
  position: relative;
  top: -2px;
}

.footer__kanzlei {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--text);
}

/* Legal pages */
.legal {
  padding: 4rem 0;
  min-height: calc(100vh - 72px - 85px);
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
}

.legal ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal li {
  color: var(--muted);
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 960px) {
  .header__brand-sub {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header__brand-sub {
    display: none;
  }

  .header__logo-img {
    top: -1px;
  }

  .header.menu-open {
    background: #F0F0F0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: #F0F0F0;
    padding: 2rem;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 1.25rem;
  }

  .header__nav-link {
    font-size: 1.1rem;
  }

  .hero {
    padding: 0;
    height: calc(100svh - 92px);
    display: flex;
    align-items: stretch;
  }

  .hero__container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
  }

  .hero__image {
    min-height: 0;
  }

  .hero__content {
    padding: 2rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .hero__cta {
    align-self: center;
  }

  .section {
    padding: 2.5rem 0;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
