/* Allgemeine Layout-Einstellungen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.5;
}

/* Navigation & Header */
.header {
  background-color: #222;
  position: sticky;
  top: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

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

/* Hero Section */
.hero {
  background: url("images/chatgpt-profile.png") center center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #ff8400;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn:hover {
  background-color: #e67300;
}

/* Allgemeine Sektionen */
.section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.bg-light {
  background-color: #f9f9f9;
}

/* Über mich */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.profile-img {
  width: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

/* Projekte */
.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.project-item {
  background-color: #fff;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}

/* Optional: visueller Hover-Effekt */
.project-item:hover {
  background-color: #f0f0f0; /* Beispielhintergrundfarbe */
  transition: background-color 0.3s ease;
}

.project-item h3 {
  margin-bottom: 0.5rem;
}

/* Kontakt */
#contact p {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
