/* playfair-display-sc-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-sc-v17-latin/playfair-display-sc-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-sc-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-sc-v17-latin/playfair-display-sc-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-family: 'Playfair var';
  src: url('../fonts/playfair/Playfair[opsz,wdth,wght].ttf') format('truetype');
  font-display: swap;
}
/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v47-latin/roboto-v47-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v47-latin/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




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

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  padding: 0px;
  background-color: #fafafa;
  color: #000;
  width: 100%;
  scroll-behavior: smooth; 
  overflow-x: hidden;
  height: calc(var(--vh) * 100);
}

a {
  color: inherit;
  text-decoration: none;
}


/* ========== Intro Texteeeeee ========== */
.intro-text {
  padding: 0rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-top: 7rem;
  margin-bottom: 3rem;
}
.intro-text h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-weight: 400;
  padding-top: 2rem;
}
.intro-text p {
  font-size: 1rem;
  font-weight: 300;
  color: #646464;
}
@media (max-width: 768px) {
  .intro-text h2 {
    font-size: 2rem;
  }
}

h3 {
  font-size: 2rem;
  font-family: 'Playfair Display SC';
  text-transform: uppercase;
  font-weight: 400;
  padding-top: 2rem;
  text-align: center;
}

p {
  font-family: 'Roboto';
  font-size: 1rem;
  font-weight: 300;
  color: #646464;
  padding-bottom: 2rem;
  margin: 0.5rem;
  line-height: 1.4rem;
}






.season-toggle-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.season-toggle-label {
  font-size: 1rem;
  font-family: 'Roboto';
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.season-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 90px;
  height: 42px;
  background: white; /* Sommermodus: Hintergrund weiß */
  border: 1px solid black;
  border-radius: 50px;
  cursor: pointer;
  padding: 8px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease-in-out;
}

/* Hintergrund im Wintermodus (wenn aktiv) */
.season-toggle.active {
  background: black; /* Wintermodus: Hintergrund schwarz */
  border-color: black; /* Border im Wintermodus schwarz */
}

.season-toggle .icon {
  width: 20px;
  text-align: center;
  z-index: 3; /* Icons über dem Schieberegler anzeigen */
  font-size: 18px;
  margin-top: 7px;
  margin-left: 1px;
}

/* Sommer-Icon bleibt immer weiß */
.season-toggle .icon.left svg {
  fill: white; /* Sommer-Icon bleibt immer weiß */
}

/* Winter-Icon bleibt immer schwarz */
.season-toggle .icon.right svg {
  fill: black; /* Winter-Icon bleibt immer schwarz */
}

.season-toggle .slider {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 32px;
  height: 32px;
  background: black; /* Der Schieberegler ist schwarz im Sommer */
  border-radius: 50px;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

/* Schieberegler nach rechts bewegen und auf weiß ändern, wenn im Wintermodus (aktiv) */
.season-toggle.active .slider {
  left: 53px; /* Schieberegler nach rechts bewegen */
  background: white; /* Schieberegler wird weiß im Wintermodus */
}

/* CSS für den Fade-Effekt */
.galerie-slider img {
  transition: 0.3s ease-in-out; 
  opacity: 1;
}

.galerie-slider img.hidden {
  opacity: 0;
}







.galerie-section {
  display: flex;
  text-align: center;
  margin: 0rem 1rem;
  margin-bottom: 4rem;
  margin-top: 1rem;
  justify-content: center;
}
@media (max-width: 1024px) {
  .galerie-section {
    margin-bottom: 2rem;
  }
}

.galerie-grid {
  display: grid;
  flex-direction: column;
  justify-content: center;
}

.galerie-column {
  flex: 1 1 200px;
  max-width: 800px;
  
  max-height: fit-content;
  padding: 10px;
  display: flex;
  justify-content: center; 
  align-items: center; 
}


.galerie-head {
  margin: 0 auto;
  text-align: center;
}


.galerie-subhead {
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0 2rem;
  text-align: left;
  width: 100%;
  display: block;
  max-width: 800px;
}

@media (max-width: 1023px) {
  .galerie-column {
    max-width: 600px;
  }
  .galerie-subhead {
    max-width: 600px;
    margin-top: 0.5rem;
  }
  h3 {
    font-size: 1.8rem;
  }
}
@media (max-width: 767px) {
  .galerie-column {
    max-width: 440px;
  }
  .galerie-grid {
    padding: 0 4rem;
  }
  .galerie-subhead {
    max-width: 440px;
    padding: 0 1rem;
    margin-top: 0.3rem;
  }
  h3 {
    font-size: 1.7rem;
  }
}
@media (max-width: 480px) {
  .galerie-column {
    max-width: 340px;
  }
  .galerie-subhead {
    max-width: 340px;
  }
}




.last-button-container {
  margin-bottom: 3rem;
}
.last-button {
  justify-self: center;
  border: 1px solid black;
  padding: 0.5rem 1rem;
  transition: 0.5s ease, opacity 0.5s ease;
  font-family: 'Playfair Display SC';
  font-weight: 200;
  background-color: white;
  color: black;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.last-button:hover {
  border: 1px solid white;
  background-color: black !important;
  color: #fafafa !important;
  opacity: 1;
  cursor: pointer;
}




/* ================================== */
/* ================================== */
/* ========== Slider =================*/
/* ================================== */
/* ================================== */

.galerie-slider {
  width: 100%;
  position: relative;
  margin: 0 !important;
  height: auto; /* Entferne feste Höhe, die wird durch das Seitenverhältnis definiert */
}

.aspect-ratio-box {
  width: 100%;
  padding-top: 75%; /* 4:3 Seitenverhältnis (100 / 4 * 3 = 75%) */
  position: relative;
  overflow: hidden;
}

.aspect-ratio-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Das Bild füllt den gesamten Bereich aus */
  display: block;
}



/* Pfeile und Dots nach Bedarf anpassen */
/* Anpassen der Pfeile */
.slick-prev.slick-arrow, .slick-next.slick-arrow {
  font-size: 0; /* Schriftgröße auf 0 setzen, da wir keine Schrift verwenden */
  color: transparent; /* Textfarbe transparent machen */
  background-color: none; /* Hintergrundfarbe für die Pfeile */
  border: 1px solid black;
  width: 36px; /* Breite des Pfeils */
  height: 35px; /* Höhe des Pfeils */
  border-radius: 0; /* Eckige Pfeile (standardmäßig runde Ecken) */
  display: flex;
  justify-content: center; /* Zentrieren des Inhalts (z.B. Pfeil) */
  align-items: center; /* Zentrieren des Inhalts (z.B. Pfeil) */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Pfeile immer über dem Bild anzeigen */
}

.slick-prev.slick-arrow {
  left: -3rem; /* Abstand von der linken Seite */
}

.slick-next.slick-arrow {
  right: -3rem; /* Abstand von der rechten Seite */
}

/* Pfeilsymbol */
.slick-prev.slick-arrow::before {
  content: ''; /* Kein Text, sondern nur das Symbol */
  display: block;
  width: 8px;
  height: 8px;
  border: solid 1px black; /* Weißer Rand für den Pfeil */
  color: black;
  border-width: 1px 1px 0 0; /* Formt den Pfeil */
  transform: rotate(225deg); /* Den Pfeil in eine diagonale Richtung drehen */
  margin-right: -3.5px;
  opacity: 1;
}
.slick-next.slick-arrow::before {
  content: ''; /* Kein Text, sondern nur das Symbol */
  display: block;
  width: 8px;
  height: 8px;
  border: solid 1px black; /* Weißer Rand für den Pfeil */
  color: black;
  border-width: 1px 1px 0 0; /* Formt den Pfeil */
  transform: rotate(45deg); /* Den Pfeil in eine diagonale Richtung drehen */
  margin-right: 3.5px;
  opacity: 1;
}

/* Dots unter dem Slider */
/* Style für die gesamte Dot-Liste */
.slick-dots {
  position: absolute;
  bottom: -0.8rem !important; /* Abstand vom unteren Rand */
  left: 50%;
  transform: translateX(-50%); /* Zentriert die Dots */
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Style für jedes Dot */
.slick-dots li {
  margin: 0 0px !important; /* Abstand zwischen den Dots */
}

/* Aussehen des inaktiven Dots */
.slick-dots li button {
  background-color: rgb(180, 180, 180) !important; /* Graue Farbe für inaktive Dots */
  border: none;
  border-radius: 50% !important; /* Runde Form */
  width: 6px !important;
  height: 6px !important;
  padding: 0 !important;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s !important;
  color: none !important;
  margin-top: 60px !important;
}

/* Hover-Effekt für inaktive Dots */
.slick-dots li button:hover {
  background-color: black !important; /* Etwas dunkler bei Hover */
  transform: scale(1) !important; /* Vergrößerung bei Hover */
}

/* Style für den aktiven Dot */
.slick-dots li.slick-active button {
  background-color: black !important; /* Dunklere Farbe für den aktiven Dot */
}




/* Styling für Mobilgeräte */
@media (max-width: 768px) {
  .galerie-slider img {
    /* Optional: Anpassungen für mobile Geräte */
  }
}