/* =========================
   Grundkonfiguration
   ========================= */

:root {
  --font-base: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --color-text: #1f1f1f;
  --color-muted: #555;
  --color-border: #e0e0e0;
  --color-bg: #fff;

  --max-width: 820px;
}

/* =========================
   Reset / Basis
   ========================= */

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* =========================
   Layout
   ========================= */

main {
  max-width: var(--max-width);
  padding: 2rem 1.5rem;
  margin: 0 auto;
}

section {
  margin-top: 3.5rem;
}

header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

/* =========================
   Typografie
   ========================= */

h1, h2 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin: 0 0 1rem 0;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

small,
footer {
  color: var(--color-muted);
}

/* =========================
   Profilbereich
   ========================= */

.profile {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2.5rem;
  align-items: start;

}

.profile img {
  width: 160px;
  border-radius: 4px;
  filter: grayscale(100%) contrast(95%);
  opacity: 0.95;
}


/* =========================
   Footer
   ========================= */

footer {
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
  }

  .profile img {
    width: 140px;
  }

  main {
    padding: 1.5rem 1rem;
  }
}
