/* Grundlegendes Styling */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
  font-size: 18px;
  line-height: 1.8;
}

/* HEADER */
header {
  background: linear-gradient(to right, #cce0f5, #fff3b0, #ffd4d4);
  color: #002244;
  padding: 60px 20px;
  text-align: center;
}

header img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.05); /* Bild wird leicht vergrößert */
}

header h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3em;
  margin: 0;
}

/* NAVIGATION */
nav {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  margin: 0 24px;
  color: #005aa7;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15em;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  color: #003366;
  transform: scale(1.1); /* Vergrößert den Link beim Hover */
}

/* SECTIONS */
section {
  padding: 50px 25px;
  max-width: 1100px;
  margin: auto;
  background: white;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

section h2 {
  font-size: 2em;
  color: #005aa7;
  margin-bottom: 25px;
}

/* LISTEN */
ul {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
}

ul li {
  background: #eaf2f8;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 5px;
}

/* GALERIE */
.gallery-container {
  width: 100%;
  overflow-x: hidden; /* Wichtig für das Scrollen */
  white-space: nowrap; /* Verhindert Umbruch der Bilder */
}

.gallery {
  display: inline-flex; /* Ordnet Bilder horizontal an */
}

.gallery img {
  width: auto; /* Natürliche Breite beibehalten */
  height: 400px; /* Beispielhöhe, anpassen */
  margin-right: 20px;
  flex-shrink: 0; /* Nicht schrumpfen */
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FORMULARE */
form {
  max-width: 650px;
  margin: auto;
  font-size: 1.05em;
}

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

input:focus, textarea:focus {
  border-color: #005aa7;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 90, 167, 0.3);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

button {
  background-color: #005aa7;
  color: white;
  border: none;
  padding: 12px 26px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #003366;
  transform: scale(1.1);
}

/* FUSSBEREICH */
footer {
  text-align: center;
  padding: 24px;
  font-size: 1em;
  background: #f0f0f0;
  color: #555;
}

footer a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #005aa7;
}

/* KONTAKTINFORMATIONEN */
#kontakt-info {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

#kontakt-info h3 {
  font-size: 1.8em;
  color: #005aa7;
  margin-bottom: 15px;
}

#kontakt-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

#kontakt-info a {
  color: #005aa7;
  text-decoration: none;
}

#kontakt-info a:hover {
  text-decoration: underline;
}

/* HONEYPOT-HIDDEN-FIELD */
input[type="text"][name="_gotcha"] {
  display: none;
}

#response-message {
  display: none;
  color: green;
  font-weight: bold;
  margin-top: 1em;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .gallery img {
    height: 150px;
    margin-right: 10px;
  }

  section {
    padding: 30px 15px;
  }

  header {
    padding: 40px 15px;
  }

  nav {
    padding: 10px 0;
  }

  nav a {
    margin: 0 10px;
    font-size: 1em;
  }

  footer {
    padding: 15px;
  }
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin-top: 0;
}