/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy: #0d1b2a;
  --accent: #1a56db;
  --accent-light: #e8f0fe;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
}

/* ─── BASE ────────────────────────────────────────────────── */
html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ─── PAGE WRAPPER ────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  justify-content: center;
  background: var(--white);
  min-height: 100vh;
}

/* ─── HOMEPAGE LAYOUT ─────────────────────────────────────── */
.page {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 100vh;
  width: 100%;
  max-width: 1000px;
}

/* ─── LEFT PANEL ──────────────────────────────────────────── */
.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(2rem, 6vw, 5rem);
  background: var(--white);
  position: relative;
  z-index: 1;
}

/* ─── LANGUAGE SWITCHER ───────────────────────────────────── */
.lang-switch {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: absolute;
  top: 1.5rem;
  left: clamp(2rem, 6vw, 5rem);
}

.lang-switch a, .lang-switch span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.lang-switch a:hover {
  color: var(--accent);
}

.lang-switch .active {
  color: var(--navy);
  border-bottom: 1.5px solid var(--accent);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.title {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.divider {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 0.5rem;
}

.tagline-emphasis {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.tagline:last-of-type {
  margin-bottom: 2rem;
}

.tagline strong {
  font-weight: 600;
  color: var(--navy);
}

/* ─── EXPERTISE LIST ──────────────────────────────────────── */
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem 1rem;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: var(--muted);
  line-height: 1.4;
  font-weight: 300;
}

.expertise-item strong {
  font-weight: 500;
  color: var(--muted);
}

.expertise-item svg {
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ─── STATS ───────────────────────────────────────────────── */
.stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── ACTIONS ─────────────────────────────────────────────── */
.actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.75rem, 1.4vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ─── FOOTER LINKS ────────────────────────────────────────── */
.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.links span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.links a svg {
  flex-shrink: 0;
}

.link-sep {
  width: 1px;
  height: 1rem;
  background: var(--border);
}

/* ─── MOBILE-ONLY PHOTO (inside content) ─────────────────── */
.mobile-photo {
  display: none;
}

/* ─── RIGHT PANEL (PHOTO) ─────────────────────────────────── */
.photo-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--white);
  padding: clamp(2.5rem, 8vw, 5rem) 2.5rem;
}

.photo-panel img {
  width: 100%;
  max-width: 238px;
  max-height: 49vh;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  border-radius: 1rem;
}

/* ─── LEGAL / IMPRESSUM PAGE ──────────────────────────────── */
.legal-body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.legal-container {
  width: 100%;
}

.legal-container.narrow {
  max-width: 640px;
}

.legal-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.legal-container p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-container a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.legal-container a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .lang-switch {
    position: static;
    margin-bottom: 2rem;
  }

  .photo-panel {
    display: none;
  }

  .mobile-photo {
    display: block;
    width: 100%;
    max-width: 196px;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(15%) contrast(1.05);
    margin: 1.25rem 0 1.75rem;
  }

  .content {
    padding: 2.25rem 1.75rem 2.5rem;
    justify-content: flex-start;
  }

  .name {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .stats {
    gap: 1.5rem;
  }

  .tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .photo-panel {
    max-height: 65vw;
    grid-row: 1;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .actions {
    flex-direction: column;
  }
}
