

html {
	scroll-behavior: smooth;
	scroll-padding: 5rem;
}

body{
	display:flex;
}

.preistabelle{
	width: clamp(500px, 40svw, 620px);
	margin: 0 auto 0px auto;
	background-color: #d5cabd;
	font-size: 1.4rem;
	border-radius: 5px;	
	color: #000000;
	padding: 3px;
}

.preistabelle th{
	max-height: 40px;
	text-shadow: 1px 1px 2px black;
	color:#ffffff;
	font-size: 2rem;
}

.preistabelle .storno{
	text-wrap: pretty;
	font-style: italic;
	font-size: 1.2rem;
}

.navi_container{
	position:sticky;
	z-index: 2222;
	overflow: hidden;
	top:0px;
	width:80vw;
	max-height:60px;
	height:auto;
	background-color:#ffffff;
	border:1px solid #888888; border-radius:5px;
	text-align:center;
	vertical-align:middle;
	padding-top:5px;
	margin:auto;
	display:flex;
	flex-flow: row nowrap;
	justify-content: center;
	 align-items: baseline;
}

img.button {max-width:18vw; height:3vw; display: inline-block;}	 
img.button:hover,
img.button:focus {
        transition: .5s;
        transform: scale(1.1);
}

a.mailto {color:#ffffff;}
a.mailto:hover {text-decoration:none;}


.bright{background-color:#ffffff; font-color:#000000; font-family:Arial; font-size:1.6em;}
.dark{background-color:#f5f4f2; font-color:#ffffff; font-family:Arial; font-size:1.6em;}

/* Große Slideshow */

.btn {
  display: inline-block;
  padding: 13px 20px;
  color: #fff;
  text-decoration: none;
  position: relative;
  background: transparent; 
  border: 1px solid #e1e1e1;
  font: 12px/1.2 "Oswald", sans-serif;
  letter-spacing: 0.4em;
  text-align: center;
  text-indent: 2px;
  text-transform: uppercase;
  transition: color 0.1s linear 0.05s;

  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e1e1e1;
    z-index: 1;
    opacity: 0;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
  }

  &::after {
    transition:border 0.1s linear 0.05s;
  }

  .btn-inner {
    position: relative;
    z-index: 2;
  }

  &:hover {
    color: #373737;
    transition: color 0.1s linear 0s;

    &::before {
      top: 0;
      height: 100%;
      opacity: 1;
      transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
    }

    &::after {
      border-color: #373737;
      transition:border 0.1s linear 0s;
    }
  }
}

.slideshow { 
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 600px;
  z-index: 1;

  .slideshow-inner { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .slides { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slide { 
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;

    &.is-active {
      display: block;
    }

    &.is-loaded{
      opacity: 1;
    }

    .caption { 
      padding: 0 100px;
    }

    .image-container { 
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-position: center;
      z-index: 1;
      background-size: cover;
      image-rendering: optimizeQuality;

      &::before { 
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0);
      }
    }

    .image {
      width: 100%;
      width: 100%;
      object-fit: cover;
      height: 100%;
    }

    &-content {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      color: #fff;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .title { 
      margin: 0 auto 15px;
      max-width: 1000px;
      font: 300 50px/1.2 "Oswald", sans-serif;
      letter-spacing: 0.35em;
      text-transform: uppercase;
    }

    .text {
      margin: 0 auto;
      max-width: 1000px;
      font-size: 18px;
      line-height: 1.4;
    }

    .btn {
      margin: 15px 0 0;
      border-color: #fff;

      &::before {
        background:#fff
      }
    }
  }

  .pagination { 
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: default;
    z-index: 2;
    text-align: center;

    .item { 
      display: inline-block;
      padding: 15px 5px;
      position: relative;
      width: 46px;
      height: 32px;
      cursor: pointer;
      text-indent: -999em;
      z-index: 1;

      + .page {
        margin-left: -2px;
      }

      &::before {
        content: "";
        display: block;
        position: absolute;
        top: 15px;
        left: 5px;
        width: 36px;
        height: 2px;
        background: rgba(255, 255, 255, 0.5);
        transition: background 0.2s ease;
      }

      &::after {
        width: 0;
        background: #fff;
        z-index: 2;
        transition: width 0.2s ease;
      }

      &:hover::before,
      &.is-active::before {
        background-color: #fff;
      }
    }
  }

  .arrows {
    .arrow {
      margin: -33px 0 0;padding: 20px;position: absolute;top: 50%;cursor: pointer;z-index: 3;
    }

    .prev {
      left: 30px;

      &:hover .svg {
        left: -10px;
      }
    }

    .next {
      right: 30px;

      &:hover .svg {
        left: 10px;
      }
    }

    .svg {
      position: relative;
      left: 0;
      width: 14px;
      height: 26px;
      fill: #fff;
      transition: left 0.2s ease;
    }
  }
}

/* Kleine Galerie */

.container {
  height:80%;
  width:80vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 100px 0px 100px;
  overflow: hidden;
  transform: skew(5deg);

  .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 60vmin;
    position: relative;
    .card__head {
      color: white;
      background: rgba(152, 84, 183, 0.75);
      padding: 0.5em;
      transform: rotate(-90deg);
      transform-origin: 0% 0%;
      transition: all 0.5s ease-in-out;
      min-width: 60%;
      text-align: center;
      position: absolute;
      bottom: -80px;
      left: 0;
      font-size: 1em;
      white-space: nowrap;
    }

    &:hover {
      flex-grow: 8;
      img {
        filter: grayscale(0);
      }
      .card__head {
        text-align: center;
        top: calc(100% - 2em);
        color: white;
        background: rgba(0, 0, 0, 0.5);
        font-size: 2em;
        transform: rotate(0deg) skew(-5deg);
      }
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 1s ease-in-out;
      filter: grayscale(100%);
    }
    &:not(:nth-child(6)) {
      margin-right: 1em;
    }
  }
}


/* KONTAKTFORMULAR */

.name { grid-area: name; }
.kontakt { grid-area: kontakt; }
.ankunft { grid-area: ankunft; }
.naechte { grid-area: naechte; }
.personen { grid-area: personen; }
.tiere { grid-area: tiere; }

.formular{
	max-width:600px;
	margin:0 auto;
	justify-content:center;
	background-color:rgba(152, 84, 183, 0.75);
	border-radius: 8px;
	padding:20px;
}

.grid{
	display: grid;
	justify-content: space-evenly;
    grid-template-columns: auto auto auto auto;
	grid-template-areas:
		'name name name name'
		'kontakt kontakt kontakt kontakt'
		'ankunft ankunft naechte naechte'
		'personen personen tiere tiere'
		'absenden absenden absenden absenden';
}

.entryarea{
	position:relative;
	height:70px;
	line-height:70px;
	width: 90%;
}

input[type=text]{
	position:absolute;
	width:100%;
	outline:none;
	font-size:1.6em;
	padding: 1px 2px;
	line-height:70px;
	border-radius:10px;
	border:2px solid #f0ffff;
	background:transparent;
	transition:0.1s ease;
	z-index:1111;	
	color:#ffffff;
}

.labelline{
	position:absolute;
	font-size:1.0em;
	color:#b27fc9;
	padding:0 25px;
	margin:0 20px;
	background-color:#b27fc9;
	transition:0.2s ease;
}

input[type=text]:focus,
input[type=text]:valid{
	color:#FFFFF0;
	border:3px solid #FFFFF0;
}

input[type=text]:user-valid{
	border:3px solid #00FF7F;
}

input[type=text]:user-invalid{
	border:3px solid red;
}

input[type=text]:focus + .labelline,
input[type=text]:valid + .labelline{
	color:#FFD39B;
	height:30px;
	line-height:30px;
	padding:0 12px;
	transform:translate(-15px,-16px) scale(0.88);
	z-index:1111;
}

input[type=submit] {
  border:2px solid #ffffff;
  border-radius:10px;
  height:80px;
  opacity:0.9;
  width: 90%;
  grid-column: 1 / -1;
}

.submit1{
	background-color:white;
	color:#555;
	font-size:0.8em;
	grid-area: absenden;
}
.submit2{
	background-color:#BCB7CD;
	color:black;
	font-size:0.6em;
}

.submit1:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  opacity:1;
}

.reisedaten_div{
	border:2px solid #ffffff;
	border-radius:10px;
	width: 70%;
	max-width:180px;
	color:#ffffff;
	padding:4px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-top: 10px;
	}
	
input[type=date] {
	height:1.8vw;
	background-color:#b27fc9;
	color:white; 
	border: none;
	font-size:0.8em;	
}

input[type=number] {
	height:1.8vw; 
	background-color:#b27fc9; 
	color:white; 
	border:none; 
	font-size:0.9em;	
}

.response0{
	display:none;
}
.response1{
	border:2px solid #ffffff;
	background:#ffffff;
	border-radius:10px;
	font-size:0.6em;
	color:green;
	animation: fadeOut 3s forwards;
    animation-delay: 4s;
	z-index:2221;
	width:500px;
	height:100px;
	position:relative;
	bottom:220px;
	left:30px;
	padding:2px;
	padding-left:10px;
	text-align:center;
	display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

p:not(:last-child) {
  margin-block-end: 1em;
}

.widget {
  width: 80vw;
  max-width: 600px;
  padding: 1rem;
  margin: 2rem auto;
  border-radius: 1rem;
  background-color: #d5cabd;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.025);
}

.tabs {
  --tab-count: 4;
  --active: 0;

  position: relative;
  isolation: isolate;
  display: flex;
  height: 3.5rem;
  border-block-end: 1px solid #e9ebec;
}

.tabs input {
  display: none;
}

.tabs label {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #656d7b;
  cursor: pointer;
  transition: color 0.5s ease-in-out;
}

.tabs input:checked + label {
  color: #101010;
}

.tabs::after {
  pointer-events: none;
  position: absolute;
  content: "";
  z-index: -1;
  /* inset: 0; */
  inset: 0 0 -1px;
  /* width: 100%; */
  /* width: calc((100% / 3) - 2px); */
  width: calc((100% / var(--tab-count)) - 2px);
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid #e9ebec;
  border-block-end: none;
  background-image: linear-gradient(#b7a48e, #d5cabd);

  /*
    1st = 0 * 100% = 0%
    2nd = 1 * 100% = 100%
    3rd = 2 * 100% = 200%
  */
  translate: calc(var(--active) * 100%);
  transition: translate 0.5s ease-in-out;
}

.tabs:has(:checked:nth-of-type(1)) {
  --active: 0;
}

.tabs:has(:checked:nth-of-type(2)) {
  --active: 1;
}

.tabs:has(:checked:nth-of-type(3)) {
  --active: 2;
}

.tabs:has(:checked:nth-of-type(4)) {
  --active: 3;
}

.tab-content {
  padding: 1rem;
}

[class^="tab-content-"] {
  display: none;
}

.widget:has(:checked:nth-of-type(1)) .tab-content-1,
.widget:has(:checked:nth-of-type(2)) .tab-content-2,
.widget:has(:checked:nth-of-type(3)) .tab-content-3,
.widget:has(:checked:nth-of-type(4)) .tab-content-4 {
  display: block;
}

.tab-content h2{
	font-size: 2rem;
	text-shadow: 2px 2px 3px #aaa;
}

.tab-content p{
	font-size: 1.5rem;
	padding-left: 1rem;
}

/*@keyframes fade {
  0% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  31% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
}

.reviews{
	z-index: 9999;
	position: fixed;
	bottom:10px;
	right:10px;
	width: clamp(150px, 20vw, 350px);
	background-color: #ffffff;
	border: 3px solid #555;
	border-radius: 15px;
	padding: 5px;
	box-shadow: 5px 5px 5px #999999;
	overflow-x: hidden;
	font-size: 16px;
	opacity: 0;
	animation: fade 20s linear infinite forwards;
	display: flex;
}

.reviews section{
		flex: 1 0 100%;
		opacity: 0;
}

.review-result{font-size: clamp(1.2em, 2em, 2.5em); text-align: center; margin: auto;}
.review-text{font-size: 1em;}
.review-source{font-size: 0.8em; text-align: right; color: #555555; grid-column: 1 / span 2;}

.review1,.review2 {
  margin-right: -100%;
}
.review2 {animation-delay:6.6666s;}
.review3 {animation-delay:13.3333s;} */