/*Schrift*/
/* BEGIN Condensed */
@font-face {
  font-family: "Open Sans Condensed";
  src: url("Fonts/Cond/OpenSansCondensed-Bold.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
/* END Condensed */
/* BEGIN Light */
@font-face {
  font-family: "Open Sans-Light";
  src: url("Fonts/Light/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
/* END Light */
/* BEGIN Regular */
@font-face {
  font-family: "Open Sans";
  src: url("Fonts/Regular/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* END Regular */
/* BEGIN Extrabold */
@font-face {
  font-family: "Open Sans-ExtraBold";
  src: url("Fonts/ExtraBold/OpenSans-ExtraBold.woff2") format("woff");
  font-weight: 600;
  font-style: normal;
}
/* END Extrabold */
/* BEGIN Bold */
@font-face {
  font-family: "Open Sans-Bold";
  src: url("Fonts/Bold/OpenSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
/* END Bold */
:root {
  --scrollbarBG: #cfd8dc;
  --weiss: #ffffff;
  --grau: #666;
  --rot: #fc8267;
  --blau: #78a8d0;
  --gelb: #ecc458;
  --orange: #ffa500;
  --gruen: #486c53;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--rot) var(--scrollbarBG);
}
body::-webkit-scrollbar {
  width: 7px;
}
body::-webkit-scrollbar-track {
  background: var(--grau);
}
/* scrollbar*/
body::-webkit-scrollbar-thumb {
  background-color: var(--rot);
  border-radius: 6px;
  /*  border: 1.5px solid var(--scrollbarBG);*/
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body {
  font-family: "Open Sans", sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
}
/*view-transition start*/
@view-transition {
  navigation: auto;
}

/* Customize the default animation behavior */

::view-transition-group(root) {
  animation-duration: 0.8s;
}

/* Create a custom animation */

/*fade*/

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Apply the custom animation to the old and new page states */

::view-transition-old(root) {
  animation: 0.4s ease-in both fade-out;
}

::view-transition-new(root) {
  animation: 0.4s ease-in both fade-in;
}
/* viewtransition ende*/
/*allgemeine Werte*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  margin: 0;
  line-height: 1.5;
}
ul {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}
a {
  color: #000;
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
}
.posRela {
  position: relative;
}
.center {
  margin: 0 auto;
}
.text_center {
  text-align: center;
}
.rechts {
  float: right;
}
.rot {
  color: var(--rot);
}
.bold {
  font-weight: bold;
}
.underline {
  text-decoration: underline;
}
.italic {
  font-style: italic;
}
.margin_bottom20 {
  margin-bottom: 20px;
}
.margin_bottom50 {
  margin-bottom: 50px;
}
.margin_top50 {
  margin-top: 50px;
}
.margin_O-U20 {
  margin: 20px 0;
}
.col_25 {
  width: 24%;
  min-height: 1px;
  position: relative;
}
.col_33 {
  width: 33%;
  min-height: 1px;
  position: relative;
}
.col_40 {
  width: 40%;
  position: relative;
}
.col_50 {
  width: 49%;
  min-height: 1px;
  position: relative;
}
.col_66 {
  width: 65%;
  min-height: 1px;
  position: relative;
}
.col_75 {
  width: 75%;
  min-height: 1px;
  position: relative;
}
.col_80 {
  width: 80%;
  min-height: 1px;
  position: relative;
}
.col_100 {
  width: 100%;
  min-height: 1px;
  position: relative;
}
.minW315 {
  min-width: 315px;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.justify_around {
  justify-content: space-around;
}
.justify_center {
  justify-content: center;
}
.justify_end {
  justify-content: flex-end;
}
.justify_start {
  justify-content: flex-start;
}
.align_start {
  align-items: flex-start;
}
/*Header*/
header {
  height: 126px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 2;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  & .info {
    background-color: var(--grau);
    padding: 10px 30px;
    color: #fff;
    font-size: 0.76em;
    & a {
      color: #fff;
      margin-left: 15px;
    }
  }
  & #ham {
    display: none;
    position: absolute;
    left: 30px;
    top: 20px;
    width: 50px;
    height: 30px;
    flex-direction: column;
    & span {
      display: block;
      width: 100%;
      height: 4px;
      background: #555;
      border-radius: 2px;
    }
  }
  & nav {
    display: flex;
    justify-content: center;
    position: relative;
    & ul {
      width: clamp(260px, 90vw, 870px);
      font-size: 24px;
      & li {
        padding: 40px 16px 15px 16px;
        &:hover {
          background-color: #efefef;
        }
        &:has(.active) {
          background-color: rgb(239, 239, 239);
        }
        & a {
          color: #666;
          font-family: "Open Sans Condensed";
        }
      }
    }
  }
}

main {
  margin-top: 126px;
  min-height: calc(100vh - 126px);
  position: relative;
  & .headline {
    padding: 20px 0;
    background-color: #efefef;
    & h2 {
      font-size: min(6vw, 30px);
      color: #fc8267;
      margin: 0 auto;
      width: clamp(290px, 80vw, 1000px);
      font-family: "Open Sans-ExtraBold";
    }
  }
  & #card-slider {
    margin-bottom: 2%;
    & .splide__track img {
      height: 30vw;
      object-fit: cover;
      @media only screen and (max-width: 550px) {
        height: 50vw;
      }
    }
  }
  & article {
    width: clamp(300px, 80vw, 1000px);
    margin: 0 auto 0;
    padding-bottom: 35px;
    & h2 {
      color: var(--rot);
      text-align: center;
      font-size: 22px;
    }
    & p {
      margin: 1rem 0;
      & .button {
        padding: 10px;
        background-color: var(--blau);
        color: #fff;
        &:hover {
          color: #333;
        }
      }
    }
    & details {
      padding: 10px 5px;
      border: var(--grau) 1px solid;
      border-radius: 3px;
      margin-bottom: 20px;
      & summary {
        &::marker {
          color: var(--grau);
        }
      }
      & .container {
        max-height: 0;
        transition: 0.6s max-height ease-in-out;
        margin: 0 10px;
      }
      &[open] {
        & summary {
          &::marker {
            color: var(--rot);
          }
        }
        & .container {
          max-height: 2500px;
          transition: 0.35s max-height ease-in-out;
          overflow: hidden;
        }
      }
    }
  }
  & .buchen {
    padding: 10px 25px 10px 25px;
    background-color: var(--gruen);
    & img {
      position: absolute;
      left: 10px;
      top: 20px;
      width: 200px;
      height: auto;
    }
    & a {
      padding: 10px;
      background-color: transparent;
      color: #fff;
      font-family: "Open Sans";
      font-size: 30px;
      margin-top: 20px;
    }
    &.blau {
      background-color: #486c88;
      & img {
        position: absolute;
        left: 10px;
        top: 15px;
        width: 100px;
        height: auto;
      }
      & p {
        text-align: right;
        margin: 5px 0;
        & a {
          font-size: 20px;
          margin-top: 0;
        }
      }
    }
  }
  & .nachOben {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 25px;
    height: 25px;
    transform: scale(0, 0);
    transition: transform 0.2s ease-out;
    cursor: pointer;
    z-index: 2;
    &.hoch {
      transform: scale(1, 1);
    }
  }
  & footer {
    width: 100%;
    padding: 10px 0;
    background: var(--grau);
    position: absolute;
    bottom: 0;
    & p {
      font-size: 0.75em;
      color: #fff;
      & a {
        color: #fff;
      }
    }
  }
}
@media only screen and (max-width: 700px) {
  header {
    position: relative;
    & .info {
      display: none;
    }
    & #ham {
      display: flex;
    }
    & nav {
      background: #fff;
      transform: translatex(-100%);
      transition: all 0.2s ease-in;
      margin: 70px 0 0 0;
      & ul {
        flex-direction: column;
        width: 100vw;
        padding-left: 70px;
        align-items: flex-start !important;
        & li {
          padding: 5px;
          margin: 5px 0;
        }
      }
      &.da {
        transform: translateX(0);
      }
    }
  }
  main {
    margin-top: 0;
  }
  .col_66,
  .col_40,
  .col_33 {
    width: 90%;
    margin: 0 auto 30px;
  }
  footer {
    & span {
      display: none;
    }
  }
}
