* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



    p {
      font-size: 18px;          /* Schriftgröße */
      color: black;           /* Textfarbe */
      line-height: 1.2;         /* Zeilenhöhe */
      margin-bottom: 0px;      /* Abstand nach unten */
      text-align: justify;      /* Textausrichtung */
      border-bottom: none;
      border-left: none;
      border-right: none;
	  padding-top: 5px;        /* abstand oben */
	  padding-left: 20px;        /* abstand links */
	  padding-right: 20px;        /* abstand rechts */
	  padding-bottom: 5px;        /* abstand unten */
	  background-color: #E5E5E5; /* Hintergrundfarbe */
	
    }

    h1 {
      font-size: 28px;/* Schriftgröße */
	  font-weight: bold;
      color: white;           /* Textfarbe */
      text-align: center;      /* Textausrichtung */
      background-color: black; /* Hintergrundfarbe */
      border-bottom: none;
      border-left: none;
      border-right: none;
	  border-radius: 10px;
	  margin-bottom: 1px;

	
    }

    h2 {
      font-size: 28px;/* Schriftgröße */
	  font-weight: bold;
      color: white;           /* Textfarbe */
      text-align: center;      /* Textausrichtung */
      background-color: #FFE000; /* Hintergrundfarbe */
      border-left: none;
      border-right: none;

	
    }



.textfeld {
	margin-top: 60px;
	margin-bottom: 0px;
    max-width: 100%;
	background-color: #E5E5E5; /* Hintergrundfarbe */
	
}

.textfeld h1 {
	font-family:  Helvetica, Arial, "sans-serif";
	padding-top: 5px;
	padding-bottom: 5px;
}

.textfeld h2 {
	font-family:  Helvetica, Arial, "sans-serif";
	padding-top: 5px;
	padding-bottom: 5px;
}

.textfeld p {
	font-family:  Helvetica, Arial, "sans-serif";
    font-size: 2em; /* Infotext in kleinerer Schrift */
}


.gallery-wrapper {
  padding-top: 0px; /* Platz für Header & .header-text */
}


.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 0px;
}

.gallery-item {
    width: 100%;
    height: 750px; /* Festgelegte Höhe für alle Gallery-Items */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Skaliert die Bilder und Videos proportional, füllt das gesamte Element */
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item video.fullsize-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.main-headline {
    font-size: 18px;
    margin: 0px 0;
	font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight:bold;
}


.sub-text {
    font-size: 14px;
    margin: 10px 0;
}


.back-button {
    position: fixed;
    z-index: 1000;
    font-size: 18px;
    font-weight: normal;
    color: black;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.5); /* weiß, 50% Deckkraft */
    bottom: 20px;
    right: 10px;
    top: auto;
    left: auto;
	cursor: cell;
}

/* Hover-Effekt für modernes Flat-Design */
.back-button:hover {
    background-color: black;
    color: white;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* Media Query für mobile Geräte */
@media (max-width: 768px) {

	.scroll-container {
        padding-top: 55px;
    }
	
	
}

/* Maximal 3 Items pro Reihe bei größeren Bildschirmen */
@media screen and (min-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Nur 1 Item pro Reihe bei kleinen Bildschirmen wie dem iPhone 11 */
@media screen and (max-width: 628px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
	    .back-button {
        bottom: 20px;
        right: 10px;
        top: auto;
        left: auto;
		font-size: 18px;
    }
	.header-text {
    top: 55px;
    left: 10px; /* Links ausgerichtet */
    width: 300px; /* Maximalbreite */
}
	
	  .gallery-item.wide {
    grid-column: span 1;
    width: 100vw;       /* volle Viewport-Breite */
    max-width: 100vw;   /* verhindert Überbreite */
	height: auto !important;	  
  }

  .gallery-item.wide img,
  .gallery-item.wide video {
    width: 100%;
    height: auto;       /* passt Bildhöhe proportional an */
    object-fit: cover;  /* bleibt optisch ansprechend */
  }
}




       @keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


/* Tablet-Ansicht */
@media (max-width: 1024px) {

.textfeld h1 {
    font-size: 2em; /* Überschrift in größerer Schrift */
}

.textfeld p {
    font-size: 1em; /* Infotext in kleinerer Schrift */
}
	
	 td {
                display: block;
                width: 100%;
            }
	
#logo {
    height: 40px; /* Optionale Breite, kannst du anpassen */
}

/* Mobil-Ansicht (iPhone 11 und kleiner) */
@media (max-width: 768px) {
	
	.textfeld h1 {
    font-size: 1.5em; /* Überschrift in größerer Schrift */
}

.textfeld p {
    font-size: 1em; /* Infotext in kleinerer Schrift */
}
	#logo {
    height: 30px; /* Optionale Breite, kannst du anpassen */
}
	
	.textfeld {
	margin-top: 60px;
	
}
    }

