@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --text: #111827;
  --muted: #6b7280;
  --primary: #0f4c81;
  --primary-dark: #0b3a63;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 24px 48px rgba(15, 76, 129, 0.08);
}

html {
  background: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 4px;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-button:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.lang-button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero {
  padding: 80px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 32px;
  align-items: start;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.button {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.ghost {
  color: var(--primary);
  border-color: var(--primary);
  background: #fff;
}

.button.ghost:hover {
  background: rgba(15, 76, 129, 0.08);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.profile-photo {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.12);
}

.hero-card h2 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
}

.hero-card .muted {
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: 72px 0;
}

#services.section {
  padding-top: 24px;
}

#expertise.section {
  padding-top: 28px;
}

.section.alt {
  background: #fff;
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.06);
}

.card h3 {
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 10px;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.timeline-year {
  font-weight: 600;
  color: var(--primary);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cta {
  background: linear-gradient(135deg, #0f4c81, #144e8f);
  color: #fff;
  padding: 60px 0;
}

.cta .muted {
  color: rgba(255, 255, 255, 0.8);
}

.cta-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer {
  background: #0b1f33;
  color: #f9fafb;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.site-footer a {
  color: #f9fafb;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.9rem;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.impressum-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.impressum-legal {
  margin-top: 8px;
}

.impressum-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.impressum-list div {
  display: grid;
  gap: 4px;
}

.impressum-list dt {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.impressum-list dd {
  font-size: 1.02rem;
}

.impressum-placeholder {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px dashed #d97706;
  padding: 2px 8px;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
}

.impressum-back {
  display: inline-block;
  margin-top: 24px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 720px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: 150px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
