/* ===============================
   GLOBAL RESET
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #fff;
}

@font-face {
  font-family: Univers;
  src: url("../fonts/UniversNextPro-Bold.ttf") format("opentype");
  font-weight: normal;
  line-height: 1.2em;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #000;
  font: 16px Univers, Arial, Helvetica, sans-serif;
  font-size: 1.25em;
  font-weight: bold;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  text-align: center;
}

#wrapper {
  width: 100%;
  margin: 0 auto;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #000;
  text-decoration: none;
}

/* ===============================
   HEADER (alle Seiten)
   =============================== */
#header {
  z-index: 10000;
  width: 100%;
  text-align: left;
  background-color: #fff;
}

#header a.site-title {
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #000;
  line-height: 1;
  margin: 0;
}

/* ===============================
   SWIPER BASIS 
   =============================== */
.swiper-container {
  width: 100%;
  position: relative;
}

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-container,
.swiper-slide {
  touch-action: pan-y;
}

/* ===============================
   DESKTOP (min. 800px)
   =============================== */
@media only screen and (min-width: 800px) {

  #header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    padding-left: 30px;
    z-index: 10000;
  }

  .swiper-container {
    height: calc(100vh - 85px);
    margin-top: 85px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    color: #cccccc !important;
    font-size: 1.5em !important;
  }

  .swiper-button-next {
    right: 25px !important;  /* vorher 10px oder Standard */
  }
  .swiper-button-prev {
    left: 25px !important;
  }

  #contact {
    margin-top: 85px;
    margin-left: 30px;
    margin-right: 30px;
    text-align: left;
  }

  #contact p {
    margin-bottom: 1.5rem;
  }
}

/* ===============================
   MOBILE (max. 799px)
   =============================== */
@media only screen and (max-width: 799px) {

  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  #header {
    position: static;
    margin: 1em 0 0 0;
    padding: 0 2.25em;
    display: block;
    z-index: auto;
    pointer-events: auto;
  }

  #header a.site-title {
    line-height: 1.2;
  }

  /* ===============================
     Slideshow auf Mobile (alle Container)
     =============================== */
  .swiper-container {
    height: calc(100vh - 65px); /* Header abziehen */
    margin-top: 0;
    display: flex;
    align-items: center; /* vertikal zentrieren */
    overflow: hidden;
  }

  .swiper-wrapper,
  .swiper-slide,
  .slide-img {
    width: 100% !important;
    height: 100% !important;
  }

  /* Pfeile Mobile */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    color: #cccccc !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
  }

  .swiper-button-next {
    right: 10px !important;
  }

  .swiper-button-prev {
    left: 10px !important;
  }

/* ===============================
   Contact-Seite Mobile
   =============================== */
#contact {
  margin-top: 1.5em;
  margin-left: 2.25em;
  margin-right: 2.25em;
  text-align: left;
  font-weight: bold;    
  font-family: Univers, Arial, Helvetica, sans-serif;
  line-height: 1.2;      /* Zeilenhöhe für alle Texte */
}

/* Absätze */
#contact p {
  margin: 0 0 1em 0;       /* Abstand zwischen Absätzen */
  line-height: inherit;    /* übernimmt 1.2 von #contact */
}

/* Links */
#contact a {
  display: inline;         /* damit <br> korrekt wirkt */
  line-height: inherit;    /* gleiche Zeilenhöhe */
  margin: 0;               /* Abstand durch <p> geregelt */
}
}

/* ===============================
   MOBILE LANDSCAPE – Slideshow exakt im Viewport
   =============================== */
@media only screen
  and (max-width: 799px)
  and (orientation: landscape) {

  /* Header komplett weg */
  #header {
    display: none;
  }

  /* Viewport fixieren */
  html, body {
    height: 100%;
  }

  /* Container ist der Viewport */
  .swiper-container {
    height: 100vh !important;
    margin: 0;
  }

  /* Höhenkette schließen */
  .swiper-wrapper {
    height: 100% !important;
  }

  .swiper-slide {
    height: 100% !important;
  }

  /* Bild exakt einpassen */
  .slide-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}
/* ===============================
   Extra Desktop: Landscape Cover
   =============================== */
@media only screen and (max-aspect-ratio: 2000/1000) and (min-width: 800px) {
  .swiper-slide.landscape-cover div {
    background-size: cover !important;
  }
}

