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

:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #d4cfc9;
  --bg: #f7f5f2;
  --white: #ffffff;
  --accent: #2a5298;
  --accent-light: #e8eef8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 2rem; }
nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── HERO ── */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38ch;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 2rem;
  animation: fadeUp 0.6s ease 0.25s both;
}
.hero-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-card .position {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.2rem;
}
.hero-card .company { color: var(--accent); font-weight: 600; }

/* ── SECTIONS ── */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
  animation: fadeUp 0.5s ease 0.1s both;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* ── NEUIGKEITEN ── */
.news-grid { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}
.news-text { font-size: 1rem; color: var(--ink); }

/* ── LEBENSLAUF ── */
.cv-grid { display: flex; flex-direction: column; }
.cv-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.cv-period {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.25rem;
  line-height: 1.6;
}
.cv-company {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.cv-company .location {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  margin-left: 0.5rem;
}
.cv-roles { margin-top: 0.4rem; }
.cv-role {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.6;
}
.cv-role::before {
  content: '–';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── DEFAULT PAGE CONTENT ── */
.page-content {
  font-size: 1rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.8;
}
.page-content p { margin-bottom: 1rem; }
.page-content a { color: var(--accent); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  background: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a { color: var(--accent); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
  }
  .cv-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .news-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .header-inner { padding: 0 1rem; }
  nav { gap: 1rem; }
  nav a { font-size: 0.78rem; }
  section { padding: 2.5rem 1.5rem; }
}
