/* Allgemeine Stile */
body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* Header-Bereich */
.header-container {
  background-image: url('images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 60px 20px;
  color: #ffffff;
}

.header-container h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #000000;
}

.header-container p {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #000000;
}

.header-buttons .btn {
  background-color: #cc0000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.header-buttons .btn:hover {
  background-color: #990000;
}

/* Navigation */
.main-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 10px 0;
  gap: 30px;
}

.main-nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  padding: 10px;
  transition: color 0.3s, border-bottom 0.3s;
}

.main-nav ul li a:hover {
  color: #cc0000;
}

.main-nav ul li.active a {
  color: #cc0000;
  border-bottom: 2px solid #cc0000;
}

/* Portfolio-Bereich */
#portfolio {
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
}

#portfolio h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.gallery picture,
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery picture img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery picture img:hover,
.gallery img:hover {
  transform: scale(1.05);
}

/* Über mich-Bereich */
#about {
  padding: 40px 20px;
  background-color: #f3f3f3;
  text-align: center;
}

#about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

/* Leistungen-Bereich */
#leistungen {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

#leistungen h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

#leistungen ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: auto;
}

#leistungen ul li {
  font-size: 1.2em;
  margin-bottom: 15px;
}

/* Kontakt-Bereich */
#kontakt {
  padding: 40px 20px;
  background-color: #f3f3f3;
  text-align: center;
}

#kontakt h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

#kontakt form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

#kontakt input,
#kontakt textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

#kontakt button {
  background-color: #cc0000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  border: none;
}

#kontakt button:hover {
  background-color: #990000;
}

/* Footer-Bereich */
footer {
  background-color: #333;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.9em;
}

/* Portfolio Übersicht */
#portfolio-uebersicht {
  padding: 40px 20px;
  text-align: center;
}

#portfolio-uebersicht h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.portfolio-tile {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.portfolio-tile:hover {
  transform: translateY(-5px);
}

.portfolio-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-tile h2 {
  font-size: 1.5em;
  margin: 15px;
}

.portfolio-tile p {
  margin: 0 15px 20px;
  font-size: 1em;
  line-height: 1.4;
}
/* Über mich – Porträtfoto */
.portraitfoto {
  text-align: center;
  margin: 40px 0;
}

.portraitfoto img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bildunterschrift {
  margin-top: 10px;
  font-size: 0.9em;
  color: #666;
}
