/* Grundlayout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(to bottom, #fa8072, #ffffff);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.hero h1 { font-size: 2.5em; }
.hero span { color: #40b4f3; }

/* Abschnitte */
section { padding: 20px; }
section:nth-of-type(even) { background: #ffffff; }

/* Zwischenbild */
.zwischenbild {
  width: 300px;
  border-radius: 50%;
  display: block;
  margin: 20px auto;
}

/* Lebenslauf */
#resume {
  padding: 80px 20px;
  background: #f9f9f9;
}
#resume h2 {
  text-align: center;
  margin-bottom: 40px;
}
.timeline {
  position: relative;
  margin: auto;
  max-width: 800px;
  padding-left: 20px;
  border-left: 3px solid #40b4f3;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute;
  left: -11px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #fa8072;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #0d6efd33;
}
.timeline-content {
  background: rgb(240, 240, 240);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.timeline-content h3 { margin: 0 0 5px; color: #40b4f3; }
.timeline-content .date { font-size: 0.9em; color: #666; }

/* Skills */
#skills {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.skills-category { margin-top: 40px; }
.skill {
  display: inline-block;
  width: 150px;
  margin: 15px;
  text-align: center;
}
.skill-icon { width: 40px; height: 40px; margin-bottom: 10px; }
.skill-bar {
  background: #ddd;
  border-radius: 20px;
  width: 100%;
  height: 10px;
  margin-bottom: 5px;
  overflow: hidden;
}
.skill-progress {
  background: #40b4f3;
  height: 100%;
  border-radius: 20px 0 0 20px;
}
.skill-name {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  font-size: 0.9em;
}

/* Kontakt */
.contact-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.contact-item {
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #eee;
  transition: background 0.2s ease;
}
.contact-item:hover { background: #ddd; }
.contact-item img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: white;
}
