/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia, serif;
  color: #000;
}

body {
  line-height: 1.6;
  background: #fff;
}

/* =========================
   HEADER / HERO
========================= */
.hero {
  text-align: center;
  padding: 60px 20px 50px 20px;
  background-color: #f2f2f2; /* leichtes Grau nur hier */
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 5px;
}

.hero .title {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* NAV */
nav {
  margin-top: 10px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

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

/* =========================
   SECTIONS GLOBAL
========================= */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  background: #fff;
}

h2 {
  margin-bottom: 25px;
  border-bottom: 1px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}

/* Abstand zwischen Textblöcken */
section p {
  margin-bottom: 18px;
}

/* =========================
   ABOUT SECTION
========================= */
section#about h3 {
  margin-top: 35px;
  margin-bottom: 10px;
}

/* SKILLS */
.skills {
  list-style-type: disc;
  margin-left: 22px;
  margin-top: 10px;
}

.skills li {
  margin-bottom: 6px;
}

/* =========================
   BIO / CAREER
========================= */
#bio {
  max-width: 900px;
  margin: auto;
}

.job {
  margin-bottom: 40px;
}

.job h3 {
  margin-bottom: 5px;
}

.job p {
  margin-bottom: 10px;
}

.job ul {
  margin-left: 20px;
  margin-top: 10px;
}

.job ul li {
  margin-bottom: 6px;
}

/* =========================
   CARDS (Articles etc.)
========================= */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  border: 1px solid #000;
  padding: 20px;
  flex: 1 1 300px;
}

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

.card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

/* =========================
   ARTICLE CARDS
========================= */
.article-card {
  display: flex;
  border: 1px solid #000;
  padding: 12px;
  gap: 15px;
  flex: 1 1 400px;
}

.article-thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.article-content h3 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.article-content p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* =========================
   CONTACT
========================= */
#contact p {
  margin-bottom: 8px;
}

/* =========================
   IMPRESSUM
========================= */
#impressum p {
  margin-bottom: 10px;
}

#impressum ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

#impressum ul li {
  margin-bottom: 6px;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 25px;
  border-top: 1px solid #000;
  margin-top: 40px;
  background-color: #f2f2f2; /* leichtes Grau wie Header */
}

footer a {
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .hero {
    padding: 40px 20px;
  }

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }

  .cards {
    flex-direction: column;
  }

  .article-card {
    flex-direction: column;
  }

  .article-thumb {
    width: 100%;
    height: auto;
  }
}