/* ===========================
   Basis-Layout & Typografie
=========================== */
body {
  font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Roboto', sans-serif;
}


.claim {
  font-family: 'Crimson', serif;
}

.special-headline {
  font-family: 'Libre-Baskerville', serif;
  letter-spacing: 4px;
}


/* ===========================
   Hero Section
=========================== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 0 16px;
  width: 100%;
  max-width: 90%;
}

.hero-text h1,
.hero-text p {
  color: white;
}

.text-shadow {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Burger-Menü (fixed, über Hero)
=========================== */
.burger-menu-fixed {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
}

.burger-menu-fixed .menu-content {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 1001;
}

.burger-menu-fixed.show-menu .menu-content {
  display: block;
}

.burger-menu-fixed .menu-content .close-btn {
  margin: 8px;
  float: right;
  display: block;
}


}

@media (max-width: 768px) {
  .burger-menu-fixed .menu-content {
    width: 100vw;
    left: 0;
    right: 0;
    padding-top: 16px;
  }
  
   #section2 .w3-col {
    flex: 1 1 48%; /* 48% sind 2 Spalten auf Smartphone)*/
  }
}


/* ===========================
   Sektion 2 – Bildergalerie
=========================== */


#section2 .w3-col {
  flex: 1 1 calc(16.66% - 10px); /* von 20% auf 16.66% geändert weil 6 stat 5 Bilder)*/
  min-width: 140px; /* optional von 160 auf 140px, acht kleiner u.. bringt mehr Platz für 6*/
  box-sizing: border-box;
}

#section2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  display: block;
}

#section2 .w3-container p {
  font-family: 'Crimson', serif;
  font-size: 16px;
  text-align: center;
  margin-top: 8px;
}
#section2 .w3-container {
  padding: 12px;
  box-sizing: border-box;
}


/* ===========================
   Sektion 4 – Layout & Stil
=========================== */
#section4 .w3-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#section4 .image-column img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

#section4 .text-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  box-sizing: border-box;
}

#section4 .text-column > div {
  max-width: 500px;
  width: 100%;
  margin: auto;
  text-align: left;
}

#section4 .text-column.left h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

/* ===========================
   Sektion 5 – Slider
=========================== */

/* Responsive Slider */
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track a img {
  display: block;
  transition: transform 0.5s ease;
  opacity: 0.5s ease;
  cursor: pointer;
}

#slider-track a:hover img {
  transform: scale(1.03);
  opacity: 0.9;
 
}

.slider-item {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 8px;
}

/* ===========================
   Responsive Anpassungen
=========================== */
@media (max-width: 992px) {
  #section4 .text-column,
  #section4 .image-column {
    padding: 32px 24px;
  }

  #section4 .text-column > div {
    max-width: 90%;
  }

  #section4 .image-column {
    display: flex;
    justify-content: center;
  }

  #section4 .image-column img {
    width: auto;
    max-width: 100%;
  }

  #section2 .w3-col {
    flex: 1 1 33.33%; /* von 48% auf 33.33% geändert, sind auf Tablet 3 Spalten)*/
  }

  #section2 .w3-container p {
    font-size: 16px;
  }
}

