/* Allgemeines Layout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #1a2a4a;
}

/* Container für Seiteninhalt */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Flexbox für Text + Bild */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.text-column {
  flex: 1 1 60%;
}

.image-column {
  flex: 1 1 35%;
  text-align: center;
}

.image-column img {
  max-width: 50%;
  height: auto;
  border: 2px solid #1a2a4a;
  border-radius: 4px;
}

.caption {
  margin-top: 10px;
  font-style: italic;
  color: #1a2a4a;
}

/* Navigationsmenü */
header {
  background-color: #1a2a4a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  margin-right: 15px;
}

.company-name {
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #ffcc00;
  color: #1a2a4a;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .text-column, .image-column {
    flex: 1 1 100%;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 10px 0;
  }
}
.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background-color: #1a2a4a;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #ffcc00;
  color: #1a2a4a;
}

.faq-answer {
  display: none;
  padding: 12px 16px;
  background-color: #f5f8ff;
  border-left: 4px solid #1a2a4a;
  border-radius: 4px;
  margin-top: 5px;
}
footer {
  background-color: #f5f8ff;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #1a2a4a;
  margin-top: 60px;
  border-top: 1px solid #ccc;
}

.footer-container a {
  color: #1a2a4a;
  text-decoration: none;
  font-weight: bold;
}

.footer-container a:hover {
  color: #ffcc00;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.gallery-item {
  background-color: #f5f8ff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  padding-bottom: 10px; /* Abstand zur Bildunterschrift */
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  padding: 10px 15px;
  font-size: 0.95em;
  color: #1a2a4a;
  font-style: italic;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  background-color: #f5f8ff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.caption {
  padding: 10px 15px;
  font-size: 0.95em;
  color: #1a2a4a;
  font-style: italic;
  text-align: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border: 4px solid #ffffff;
  border-radius: 6px;
}
.subtitle {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
}

.projekt {
  margin-bottom: 60px;
}

.projekt h2 {
  font-size: 1.4em;
  color: #1a2a4a;
  margin-bottom: 20px;
}
.projekt-bilder {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projekt-bilder img {
  width: 300px; /* kleinere Vorschau */
  height: auto;
  border: 2px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.projekt-bilder img:hover {
  transform: scale(1.02);
}

/* Popup-Fenster */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  border: 4px solid #fff;
  border-radius: 6px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}

