:root{
  --page-max: 820px;
  --gutter: 24px;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, system-ui, sans-serif;

  --bg: #fbfbfa;
  --fg: #111;
  --muted: #666;
  --rule: #ddd;
  --note: #f4f4f2;
  --accent: #2a4a7b;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-serif);
  font-size:16px;
  line-height:1.6;
}

.wrap{
  max-width:var(--page-max);
  margin:0 auto;
  padding:0 var(--gutter);
}

.site-header{
  border-bottom:1px solid var(--rule);
  padding:30px 0 20px;
}

.wordmark{
  font-family:var(--font-sans);
  font-size:26px;
  font-weight:600;
}

.pipe{
  color:var(--accent);
}

.tagline{
  margin-top:6px;
  color:var(--muted);
}

.site-nav{
  margin-top:15px;
  font-family:var(--font-sans);
}

.site-nav a{
  margin-right:14px;
  text-decoration:none;
  color:var(--fg);
}

.site-nav a:hover{
  text-decoration:underline;
}

.site-main{
  padding:30px 0 60px;
}

.section{
  margin-top:30px;
}

h1{
  font-family:var(--font-sans);
  font-size:20px;
  margin-bottom:10px;
}

.rule{
  border:none;
  border-top:1px solid var(--rule);
  margin-top:20px;
}

.note{
  background:var(--note);
  border-left:4px solid var(--accent);
  padding:12px;
  margin-top:20px;
}

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

.site-footer{
  border-top:1px solid var(--rule);
  padding:20px 0;
}

/* --- CV-Ergänzungen --- */

.cv-header {
  margin-top: 0;
}

.cv-head-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: start;
}

.cv-head-main p:last-child {
  margin-bottom: 0;
}

.cv-head-photo {
  justify-self: end;
}

.cv-photo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.cv-section .rule {
  margin-top: 24px;
}

.cv-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 18px;
}

.cv-meta {
  font-family: var(--font-sans);
  color: var(--muted);
}

.cv-body p {
  margin-bottom: 8px;
}

.cv-body p:last-child {
  margin-bottom: 0;
}

.cv-list {
  max-width: var(--measure);
  padding-left: 1.2rem;
  margin: 0;
}

.cv-list li {
  margin: 8px 0;
}

@media (max-width: 760px) {
  .cv-head-grid,
  .cv-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cv-head-photo {
    justify-self: start;
  }

  .cv-photo {
    width: 160px;
  }
}