/* Grundlegendes Styling */
body {
  margin: 0;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  background-color: #fff;
}

h2 {
  text-align: center;
  color: #000;
  margin-top: 60px;
  margin-bottom: 60px;
  font-size: 40px;
  font-weight: bold;
}

h3 {
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 20px;
}

p {
  color: #777;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 14px;
  display: block;
  text-align: justify;
}

a {
  color: #777;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
}


section {
  padding-top: 60px; /* Höhe deiner Navigationsleiste */
  margin-top: -60px; /* Negatives Margin, um den Platz zu kompensieren */
}


.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  padding-right: 50px;
}

.nav-logo {
  height: 45px;
  position: relative;
  padding-left: 10%;
  padding-top: 15px;
  z-index: 1001; /* höher als ul (falls ul z-index: 1000 hat) */
}



ul.navi {
  list-style-type: none;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  padding-right: 50px;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* damit sie über dem Inhalt liegt */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optionaler Schatten */
}

li.navi {
  float: right;
}

li.navi a {
  display: block;
  color: #000;
  text-align: center;
  padding: 30px 16px;
  text-decoration: none;
}

li.navi a:hover:not(.active) {
  color: #666;
}

.active {
}

ul.my {
  color: #777;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 13px;
}


/* Burger-Button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #000;
  position: absolute;
  right: 65px;
  top: 15px;
  z-index: 1002;
  cursor: pointer;
}

/* Mobile-Menü-Anpassung */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    background-color: #fff;
    padding-left: 10%;
    padding-right: 50px;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
	flex-direction: column-reverse;
  }

  .nav-menu li {
    float: none;
    width: 100%;
  }

  .nav-menu li a {
    text-align: right;
    padding: 10px 10px 10px 0px;
    width: 100%;
  }
  
  .nav-menu li:last-child a {
    margin-top: 50px;
  }
}

body {
  padding-top: 70px; /* Höhe der Navi (ca. 70px) als Abstand nach oben */
}

.vbutton {
  width:160px;
  height:auto;
  padding-bottom: 20px;
}

.full-width-img {
  width: 100%;
  height: auto;
}


.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Hintergrundbild (erste Bild) */
.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Transparentes PNG-Bild (zweite Bild) */
.overlay-img {
  position: absolute;
  top: 50%; /* Startet unterhalb des Containers */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; /* Passt die Größe des Overlay-Bildes an */
  max-width: 900px;    /* Maximal 200px breit */
  height: auto;        /* Höhe proportional zur Breite */
  opacity: 0;  /* Bild ist zunächst unsichtbar */
  animation: fadeInFromBottom 2s forwards; /* Animation von unten nach oben */
}

.dark-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.1); /* schwarzes halbtransparentes Overlay */
  z-index: 1; /* über dem Hintergrundbild, unter dem overlay-img */
  pointer-events: none; /* Klicks passieren durch */
}


/* Einblende-Effekt von unten */
@keyframes fadeInFromBottom {
  0% {
    top: 70%;
    opacity: 0;
  }
  100% {
    top: 60%;
    opacity: 1;
  }
}




html {
  scroll-behavior: smooth;
}

.content-container {
  width: 80%;  /* Der Inhalt nimmt nur 60% der Gesamtbreite ein */
  margin: 0 auto;  /* Zentriert den Container horizontal */
  padding-left: 10%;  /* Abstand von 20% links */
  padding-right: 10%;  /* Abstand von 20% rechts */
}

.two-column-content {
  display: flex;                /* Flexbox aktivieren */
  gap: 10px;                    /* Abstand zwischen den beiden Spalten */
  margin-top: 10px;              /* Abstand zum vorherigen Inhalt */
}

/* Jede Spalte */
.left-column, .right-column {
  flex: 1;                       /* Jede Spalte nimmt gleich viel Platz ein */
  padding: 10px;                 /* Padding innerhalb der Spalten */
  background-color: #fff;     /* Hintergrundfarbe */
}

/* Optional: Hintergrundfarbe für jede Spalte */
.left-column {
  background-color: #fff;
}

.right-column {
  background-color: #fff;
}

@media (max-width: 768px) {
  .two-column-content {
    flex-direction: column;
  }
}

.responsive-image {
  width: 100%;                  /* Bild soll 100% der Breite der Spalte einnehmen */
  height: auto;                 /* Höhe automatisch, um das Seitenverhältnis zu bewahren */
  object-fit: cover;            /* Bild bleibt innerhalb der Spalte ohne Verzerrung */
  display: block;               /* Entfernt einen kleinen Abstand unter dem Bild */
}


/* Der Container für das Bild */
.image-container2 {
  width: 100%;                /* Die Breite des Containers ist 100% */
  height: 300px;              /* Feste Höhe für den Container */
  overflow: hidden;           /* Überlaufendes Bild wird abgeschnitten */
  position: relative;         /* Position relativ für das Bild */
  margin-bottom: 20px;        /* Ein kleiner Abstand nach unten */
}

/* Das Bild selbst */
.image-container2 img {
  width: 100%;                /* Bild nimmt 100% der Container-Breite ein */
  height: auto;               /* Höhe wird automatisch angepasst, basierend auf der Breite */
  position: absolute;         /* Bild wird absolut innerhalb des Containers positioniert */
  top: 0;                     /* Bild wird oben ausgerichtet */
  left: 0;                    /* Bild wird links ausgerichtet */
  object-fit: cover;          /* Das Bild wird so skaliert, dass es den Container vollständig ausfüllt */
  transform: scale(1.5);      /* Bild wird um 150% vergrößert */
  z-index: -1;                /* Bild bleibt hinter dem Text */
  transition: transform 0.3s ease-in-out; /* Sanfter Übergang für Zoom-Effekt */
}

/* Der Container für das Bild */
.image-container22 {
  width: 100%;                /* Die Breite des Containers ist 100% */
  height: 300px;              /* Feste Höhe für den Container */
  position: relative;         /* Position relativ für das Bild */
  margin-bottom: 20px;        /* Ein kleiner Abstand nach unten */
  overflow: hidden;           /* Überlaufendes Bild wird abgeschnitten */
  background-image: url('../img/vbig001.jpg'); /* Hintergrundbild */
  background-size: 150%;     /* Bild wird skaliert, um den Container zu füllen */
  background-position: center top;  /* Das Bild wird oben ausgerichtet */
  background-attachment: fixed;    /* Parallax-Effekt: Bild bleibt fixiert */
  background-repeat: no-repeat;
  z-index: -1;                /* Bild bleibt hinter dem Inhalt */
  transition: transform 0.3s ease-in-out; /* Sanfter Übergang für Zoom-Effekt */
}


.black {
  background-color: #000;
  padding: 50px;
  text-align: center;
  position: relative;
  display: block;             /* Block-Level-Layout für den Container */
  text-align: center;        /* Text zentriert */
}

.black p {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
}


/* Container für die Social Icons */
.social-icons {
  display: flex;             /* Flexbox aktivieren */
  flex-direction: row;       /* Icons nebeneinander anordnen */
  justify-content: center;   /* Zentriert die Icons horizontal */
  gap: 20px;                 /* Abstand zwischen den Icons */
  margin-top: 10px;          /* Abstand oben zwischen Text und Icons */
}

/* Einzelne Social Icon */
.social-icon img {
  width: 25px;               /* Breite der Icons */
  height: 25px;              /* Höhe der Icons */
  transition: transform 0.3s ease; /* Sanfte Übergangsanimation beim Hover */
}

/* Hover-Effekt */
.social-icon img:hover {
  transform: scale(1.2);     /* Bild wird beim Hover leicht vergrößert */
}

.footer {
  background-color: #222;
  padding: 20px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.footer p {
  color: #999;
  font-size: 14px;
  margin: 0; 
}


/* Stil für den quadratischen Button */
.scroll-to-top {
  position: fixed;          /* Fixiert den Button an einer festen Position */
  bottom: 20px;             /* Abstand vom unteren Rand der Seite */
  right: 20px;              /* Abstand vom rechten Rand der Seite */
  width: 50px;              /* Quadratische Breite */
  height: 50px;             /* Quadratische Höhe */
  background-color: #444;   /* Dunkler Hintergrund für den Button */
  color: white;             /* Weiße Schriftfarbe */
  font-size: 16px;          /* Schriftgröße für den Text */
  border-radius: 5px;       /* Abgerundete Ecken mit 2px */
  text-decoration: none;    /* Entfernt die Unterstreichung */
  display: flex;            /* Flexbox für zentrierten Text */
  justify-content: center;  /* Horizontal zentrieren */
  align-items: center;      /* Vertikal zentrieren */
  opacity: 0;               /* Anfangs unsichtbar */
  visibility: hidden;       /* Anfangs unsichtbar */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Sanftes Einblenden */
  z-index: 1000;            /* Höherer z-index, damit der Button immer oben bleibt */
}

#top {
  position: relative;
  top: -70px;        /* zieht das Ziel 60px höher */
  visibility: hidden; /* unsichtbar, damit kein Layout entsteht */
  height: 0;          /* kein zusätzlicher Platzbedarf */
}

/* Wenn der Benutzer nach unten scrollt, wird der Button sichtbar */
body:not(:first-child) .scroll-to-top {
  opacity: 1;
  visibility: visible;
}

/* Hover-Effekt */
.scroll-to-top:hover {
  background-color: #555;   /* Hover-Effekt für den Button */
}


/* Container für die Galerie */
.gallery-container {
  display: flex;
  flex-wrap: nowrap;          /* Kein automatischer Zeilenumbruch */
  overflow-x: auto;           /* Horizontal scrollbar, wenn nötig */
  padding-top: 50px;
  gap: 2px;
}

.gallery-item {
  flex: 0 0 auto;             /* Fixierte Breite, kein Strecken */
  width: calc(100% / 6 - 2px); /* 6 Bilder mit Platz für gap */
  box-sizing: border-box;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.2);
}

/* Responsiv: 3 Bilder pro Zeile */
@media (max-width: 900px) {
  .gallery-container {
    flex-wrap: wrap;       /* Erlaubt Umbruch */
  }

  .gallery-item {
    width: calc(100% / 3 - 2px);
  }
}

/* Handy: 1 Bild pro Zeile */
@media (max-width: 500px) {
  .gallery-item {
    width: 100%;
  }
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 15px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}



