/* Datei: style.css */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 18px;
}

header {
  background-color: #005f73;
  color: white;
  padding: 1em 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 2em;
}

main {
  padding: 1.5em;
  max-width: 1000px;
  margin: auto;
}

footer {
  background-color: #003845;
  color: white;
  text-align: center;
  padding: 1em 0;
  margin-top: 2em;
}

footer nav {
  margin-bottom: 0.5em;
}

footer a {
  color: #aadfd3;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

nav {
  text-align: center;
  padding: 1em;
  background-color: #e0f7fa;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #00796b;
  font-size: 1.1em;
  font-weight: bold;
}

nav a:hover {
  color: #004d40;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.language-switcher {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px;
  background-color: transparent;
}

.language-switcher a img {
  height: 30px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.language-switcher a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Bild mit Overlay-Beschriftung */
.image-container {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1em;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.image-overlay {
  position: absolute;
  top: 1%;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98); /* mehr weiß, weniger durchsichtig */
  padding: 8px 0;
  border-radius: 0 0 10px 10px;
  z-index: 2;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  line-height: 1.1;
}

.image-overlay span {
  display: block;
}

.image-overlay .line1 {
  font-size: 1.2em;
}

.image-overlay .line2 {
  font-size: 1em;  /* kleiner als die erste Zeile */
  margin-top: 2px;
}

.image-caption {
  font-size: 2em;
  font-weight: bold;
  color: #003845;
  margin: 0;
  line-height: 1.3;
}