/*TABLE OF CONTENTS
1.  General Rules

2. lanscape
3. Portrait

4.  MOBILE Query
4.1 Site Structure

5.  BIG --> Desktop + Tablet
5.1 Site Structure

6.  TABLET
/*____________________________________________________________________________*/
/*____________________________________________________________________________*/
/*Geräteübergreifend
/*Allgemein*/
* {
  box-sizing: border-box;
  text-decoration: none;
  color: black;
  font-family: arial;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  z-index: 1;
}
body {
  min-height: 100vh;
}
button {
  outline: none;
  border: none;
}

/*____________________________________________________________________________*/
.flex {
  display -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.grid {
  display: -ms-grid;
  display: -webkit-grid;
  display: grid;
}

.center {
  justify-content: center;
  align-items: center;
  place-items: center;
}

.mittig {
  margin: auto;
}

.w100 {
  width: 100vw;
  max-width: 100%;
}

.w80 {
  width: 80vw;
  max-width: 80%;
  margin: auto;
}

.w90 {
  width: 90vw;
  max-width: 90%;
  margin: auto;
}

/*______________________________________________________________________________*/
/* Farben */
.bg-grey {
  background-color: rgb(240, 239, 235);
}

.drop-shadow {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px,
  rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.bg-grey.drop-shadow {
  border-radius: 30px;
}
.btn-buchung {
  background-color: rgb(204, 203, 197);
  border-radius: 40px;
}

.btn-yellow {
  background: rgb(241, 216, 151);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  text-decoration: none;
}

.btn-yellow:hover {
  text-decoration: none;
  font-weight: bold;
}

/*______________________________________________________________________________*/
/*all Schriften & Styling*/
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');

p, li, a, td, button {
  line-height: 1.6em;
  font-size: 1.4rem;
  font-family: 'Josefin Sans', sans-serif;
}

a:hover {
  cursor: pointer;
}

.card-pic a {
  text-decoration: underline;
}

h1, h2, h3 {
  text-align: center;
}

h1, h2 {
  font-family: 'Amita', cursive;
}

h2 {
  text-decoration: underline;
}


.initial::first-letter {
  font-size: 200%;
}

.haus ul {
  list-style-type: circle;
  margin: 15px 30px;
}

/*_______________________________________________________________________________*/
/*_______________________________________________________________________________*/
/* All DEVICES*/
@media (orientation: landscape) {

  /*_______________________________________________________________________________*/
  /* landscape header*/
  .header {
    margin-top: 20px;
    height: auto;
    padding: 1rem 3rem;
  }

  header.index {
    margin: 0;
    height: 100vh;
    background-image: url(/bilder/index/bg-header-opacity.jpg);
    background-size: cover;
  }
  header.impressum {
    background-image: url(/bilder/impressum/apfelbluete-opacity.jpg);
    background-size: cover;
    background-position: center;
  }
  header.datenschutz {
    background-image: url(/bilder/datenschutz/strasse-und-rapsfeld-opacity.jpg);
    background-size: cover;
    background-position: center;
  }

  .title.index {
    width: 90%;
    background: rgba(233, 236, 221, 0.4);
    border-radius: 60px;
    max-width: 1200px;
    padding: 10px;
  }
  /*_______________________________________________________________________________*/
  /* landscape section Main-area Inhalt & Texte */
  .main-area {
    max-width: 1400px;
    grid-gap: 2rem;
  }
  .tabelle,
  .content {
    margin: 1rem;
  }
  .content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /*_______________________________________________________________________________*/
  /* landscape kontaktdaten*/
  .container-contact {
    justify-content: space-evenly;
    gap: 1rem;
  }

  /*_______________________________________________________________________________*/
  /* landscape hauswahl (index) */
  .hauswahl.index {
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    overflow: hidden;
  }
  .haus {
    overflow: hidden;
    grid-template-columns: 1fr 1fr;
    margin: 10px; /* sonst verschwindet der Dropshadow */
  }
  /*_______________________________________________________________________________*/
  /* landscape haus-nav (default) */
  .haus-nav {
    justify-content: space-evenly;
  }
  /*_______________________________________________________________________________*/
  /* landscape hausseite */
  .container-buchung {
    justify-content: space-evenly;
  }
  .content-box {/* ausstattung */
    column-count: 2;
  }
}

@media (orientation: portrait) {

  /*_______________________________________________________________________________*/
  /* portrait header*/
  .header {
    margin-top: 2rem;
    height: auto;
  }

  header.index {
    margin: 0;
    height: 50vh;
    background-image: url(/bilder/index/bg-header-opacity.jpg);
    background-size: cover;
    background-position: center;
  }
  header.impressum {
    background-image: url(/bilder/impressum/apfelbluete-opacity.jpg);
    background-size: cover;
    background-position: center;
  }
  header.datenschutz {
    background-image: url(/bilder/datenschutz/strasse-und-rapsfeld-opacity.jpg);
    background-size: cover;
    background-position: center;
  }
  .title {
    padding: 0.5rem 1.3rem;
  }
  .title.index {
    width: 95%;
    background: rgba(233, 236, 221, 0.4);
    border-radius: 60px;
    padding: 1rem;
  }

  /*_______________________________________________________________________________*/
  /* portrait section main-area Inhalt & Texte */
  .main-area {
    width: 95%;
    max-width: 1500px;
    grid-gap: 2rem;
  }
  .content {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }

  /*_______________________________________________________________________________*/
  /* portrait Index kontaktdaten*/
  .container-contact {
    justify-content: space-evenly;
    gap: 1rem;
  }

  /*_______________________________________________________________________________*/
  /* portrait index hauswahl*/
  .hauswahl {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    width: 100%;
  }
  .haus {
    overflow: hidden;
    margin: 10px; /* sonst verschwindet der Dropshadow */
  }
  /*_______________________________________________________________________________*/
  /* portrait hausseite haus-nav */
  .haus-nav {
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }

  /*_______________________________________________________________________________*/
  /* portrait hausseite ausstattung */
  .content-box {
    column-count: 2;
  }
}

/*______________________________________________________________________________*/
/*______________________________________________________________________________*/
/*______________________________________________________________________________*/
/*TODO: mobile Portrait*/
@media only screen and (max-width: 767px) and (orientation: portrait) {
  .big,
  .desktop,
  .tablet {
    display: none;
  }

  /*_______________________________________________________________________________*/
  /*MOBILE-PORTRAIT index haus-nav*/
  .haus {
    max-width: 300px;
    margin: auto;
  }

}

/*______________________________________________________________________________*/
/*______________________________________________________________________________*/
/*TODO: mobile default Landscape*/
@media only screen and (max-width : 767px) {
  .big,
  .desktop,
  .tablet {
    display: none;
  }

  #container {
    grid-gap: 2.5rem;
  }

  /*_______________________________________________________________________________*/
  /* MOBILE default / landscape Allgemein */
  h1 {
    font-size: 1.8rem;
    line-height: 2.7rem;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  p, a, td, li {
    line-height: 1.6em;
    font-size: 1.2rem;
  }
  .btn-yellow {
    font-size: 1.2rem;
    width: 110px;
  }

  /*_______________________________________________________________________________*/
  /* MOBILE DEFAULT btn-home */
  .btn-home {
    z-index: 10;
    position: fixed;
    right: 10px;
    width: auto;
    height: 50px;
    padding: 0 3px;
    border-radius: 0px 0px 7px 7px;
    background-color: rgb(204, 203, 197);
  }
  /*_______________________________________________________________________________*/
  /* MOBILE DEFAULT btn-top */
  .btn-top {
    display: none;
    z-index: 10;
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
  }

  /*_______________________________________________________________________________*/
  /* MOBILE-DEFAULT index Kontakt / contact */
  .pic-wrapper {
    padding: 10px;
  }
  .container-contact {
    align-items: stretch;
    justify-content: space-evenly;
    max-width: 500px;
  }

  .contact {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-contact {
    grid-template-columns: 1fr 1fr;
  }

  /*_______________________________________________________________________________*/
  /*MOBILE-DEFAULT index haus-nav*/
  .haus {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  /*_______________________________________________________________________________*/
  /*MOBILE-DEFAULT hausseite haus-nav*/
  .haus-nav {
    padding: 0 1.5rem;
  }

  /*_______________________________________________________________________________*/
  /* MOBILE-DEFAULT index main-area */
  .text {
    padding: 1.5rem;
    grid-column: 1 / -1;
  }

  /*_______________________________________________________________________________*/
  /*MOBILE-Default / landscape hausseite*/
  .container-buchung {
    gap: 0.5rem;
    row-gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .btn-buchung {
    font-size: 1.3rem;
    padding: 10px 15px;
  }

  .gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
  }

  .content-box { /* ausstattung */
    gap: 30px;
    list-style-type: none;
  }
  .content-box li {
    margin-bottom: 10px;
    line-height: 1.3rem;
    list-style-type: circle;
  }

  .buchung {
    border-radius: 40px;
    font-size: 2rem;
    padding: 10px 50px;
    background-color: rgb(204, 203, 197);
  }


  /*_______________________________________________________________________________*/
  /* MOBILE-DEFAULT-LANDSCAPE buchungsbedingungen */
  table,
  td {
    border: 1px solid black;
    padding: 5px 5px 5px 5px;
    text-align: center;
  }

  td {
    line-height: 1.4em;
    font-size: 1rem;
  }

  /*_______________________________________________________________________________*/
  /* MOBILE-DEFAULT footer */
  .container-links {
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem;
    text-decoration: underline;
  }

  .container-adressen {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .blan,
  .watz {
    min-height: 150px;
    padding: 1rem;
  }
}

/*______________________________________________________________________________*/
/*______________________________________________________________________________*/
/*TODO: Tablet + Desktop --> als BIG zusammenfassen*/
@media (min-width: 768px) {
  .mobile {
    display: none;
  }

  /*_______________________________________________________________________________*/
  /* BIG Allgemein */
  .btn-yellow {
    width: 120px;
    height: 40px;
  }


  /*_______________________________________________________________________________*/
  /*BIG Index Content*/
  .index .content {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto auto;
    grid-gap: 2rem;
  }

  .text-wrapper {
    grid-column: 1 / 2;
    grid-row: 1 / -1;
    grid-gap: 1rem;
  }

  .pic-wrapper {
    grid-column: -1 / -2;
    grid-row: 1 / 2;
    grid-gap: 1rem;
  }

  .text {
    padding: 50px;
  }

  /*_______________________________________________________________________________*/
  /* BIG Index hauswahl */
  .haus a.pic {
    grid-area: 1 / 1 / -1 / 2;
  }

  /*_______________________________________________________________________________*/
  /* BIG Buchungsbedingungen */
  .saisons,
  .kosten {
    padding: 50px;
  }

  table {
    width: 90%;
  }

  table,
  td {
    border: 1px solid black;
    padding: 5px 20px 5px 20px;
    text-align: center;
  }

  /*_______________________________________________________________________________*/
  /* BIG Hausseite Header Slider */
  .gallery {
    margin-top: 30px;
    width: 100%;
  }

  .gallery-container {
    align-items: center;
    display: flex;
    height: 500px;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
  }

  .gallery-item {
    height: 150px;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease-in-out;
    width: 150px;
    z-index: 0;
  }

  .gallery-item-1 {
    left: 0;
    opacity: .4;
    transform: translateX(-50%);
  }

  .gallery-item-2,
  .gallery-item-4 {
    height: 250px;
    opacity: 1;
    width: 300px;
    z-index: 1;
  }

  .gallery-item-2 {
    left: 15%;
    transform: translateX(-50%);
  }

  .gallery-item-3 {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
    height: 450px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    z-index: 2;
  }

  .gallery-item-4 {
    left: 85%;
    transform: translateX(-50%);
  }

  .gallery-item-5 {
    left: 100%;
    opacity: .4;
    transform: translateX(-50%);
  }

  .gallery-controls {
    width: 300px;
    display: flex;
    justify-content: center;
  }

  .gallery-controls button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    margin: 0 20px;
    padding: 0 12px;
    text-transform: capitalize;
  }

  .gallery-controls button:focus {
    outline: none;
  }

  .gallery-controls-zurück {
    position: relative;
  }

  .gallery-controls-zurück::before {
    border: solid #000;
    border-width: 0 2px 2px 0;
    content: '';
    display: inline-block;
    height: 5px;
    left: -10px;
    padding: 2px;
    position: absolute;
    top: 0;
    transform: rotate(135deg) translateY(-50%);
    transition: left 0.15s ease-in-out;
    width: 4px;
  }

  .gallery-controls-zurück:hover::before {
    left: -18px;
  }

  .gallery-controls-weiter {
    position: relative;
  }

  .gallery-controls-weiter::before {
    border: solid #000;
    border-width: 0 2px 2px 0;
    content: '';
    display: inline-block;
    height: 5px;
    padding: 2px;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    transition: right 0.15s ease-in-out;
    width: 4px;
  }

  .gallery-controls-weiter:hover::before {
    right: -18px;
  }

  /*_______________________________________________________________________________*/
  /*BIG hausseite*/
  .content-box {
    grid-gap: 100px;
  }

  .btn-buchung {
    font-size: 2rem;
    padding: 10px 50px;
  }

  .btn-buchung:hover {
    border: 1px solid black;
  }

  /*_______________________________________________________________________________*/
  /*BIG mv-sehen*/
  #disclaimer {
    background-image: url("/bilder/bg-holz.jpg");
    background-size: cover;
    border-radius: 0 0 0 30px;
    padding: 0.3rem 1rem;
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
    width: 450px;
    font-size: 1.3rem;
    z-index: 1000;
  }

  #disclaimer button {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 25px;
    width: 25px;
    background-image: url("/bilder/schließen.png");
    background-size: cover;
    border-radius: 10px;
  }

  #disclaimer button:hover,
  #disclaimer button:active {
    cursor: pointer;
  }

  article.mv-sehen {
    -webkit-grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    -o-grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    grid-gap: 2.5em;
    max-width: 75vw;
  }

  .card {
    grid-template-rows: 80px 207px auto 3rem;
    background-color: #f2d7b8;
    border-radius: 10%;
    max-width: 320px;
    height: 100%;
    grid-template-areas:
      "title"
      "pic"
      "info"
      "links";
  }

  .card-title {
    grid-area: title;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Parisienne', cursive;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: bold;
  }

  .card-pic {
    grid-area: pic;
    grid-template-rows: auto auto;
  }

  .card-pic img {
    min-width: 200px;
    width: 80%;
    -o-min-height: 100px;
    -webkit-min-height: 100px;
    min-height: 100px;
  }

  .card-pic p {
    line-height: 20px;
    font-size: 0.8rem;
    width: 100%;
  }

  .card-info {
    grid-area: info;
    height: 100%;
    width: 100%;
    background-color: #eecba2;
    padding: 25px;
    color: black;
    font-size: 1.3rem;
    line-height: 2.5rem;
  }

  .card-links {
    grid-area: links;
    grid-template-columns: 1fr 1fr;
    font-size: 1.1rem;
    line-height: 2rem;
    width: 100%;
  }

  .card-links a:hover,
  .card-links a:active {
    text-decoration: underline;
  }
}

/*_______________________________________________________________________________*/
/*_______________________________________________________________________________*/
/* DESKTOP */
@media (min-width: 1025px) {
  .mobile,
  .tablet {
    display: none;
  }

  #container {
    grid-gap: 5rem;
  }
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
  }
  /*_______________________________________________________________________________*/
  /* DESKTOP btn-home */
  .btn-home {
    z-index: 10;
    position: fixed;
    top: 30px;
    right: 0;
    height: 70px;
    width: 100px;
    padding: 5px 0;
    border-radius: 10px 0px 0px 10px;
    background-color: rgb(204, 203, 197);
  }

  /*_______________________________________________________________________________*/
  /* DESKTOP index contact */
  .contact {
    position: relative;
    min-height: 150px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .contact-info {
    grid-area: 1 / 2 / 2 / -1;
  }

  .contact .btn-yellow {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 120px;
    height: 30px;
    font-size: 20px;
  }
  /*_______________________________________________________________________________*/
  /* DESKTOP footer */
  .container-links {
    grid-template-columns: 1fr 1fr 1fr;
    width: 70%;
  }
  .container-links a {
    margin: 2rem;
    text-decoration: underline;
  }
  .container-links a:hover {
    font-weight: bold;
  }
  .container-adressen {
    flex-direction: row;
    justify-content: space-evenly;
    gap: 3rem;
    text-align: center;
    margin-bottom: 5rem;
  }
  .blan,
  .watz {
    padding: 2rem;
    width: 40rem;
  }
}
/*_______________________________________________________________________________*/
/*_______________________________________________________________________________*/
/* TABLET PORTRAIT */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

}

/*_______________________________________________________________________________*/
/*_______________________________________________________________________________*/
/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
  .mobile,
  .desktop {
    display: none;
  }

  /*_______________________________________________________________________________*/
  /* TABLET allgemein */
  #container {
    grid-gap: 3rem;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
  }

  .btn-yellow {
    width: 120px;
    font-size: 1.2rem;
  }

  /*_______________________________________________________________________________*/
  /* TABLET btn-home */
  .btn-home {
    z-index: 10;
    position: fixed;
    right: 10px;
    width: auto;
    height: 80px;
    padding: 0 5px;
    border-radius: 0px 0px 7px 7px;
    background-color: rgb(204, 203, 197);
  }


  /*_______________________________________________________________________________*/
  /* TABLET index contact */
  .container-contact {
    gap: 1rem;
  }

  .contact {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 5px;
  }

  .contact p {
    margin: 5px;
    grid-area: 1 / 1 / 2 / -1;
  }

  .contact-info {
    text-align: center;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }

  .contact-info a.phone {
    grid-area: 1 / 1 / 2 / 2;
  }

  .contact-info a.mail {
    grid-area: 1 / 2 / 2 / -1;
  }

  .contact-info a.anfahrt {
    grid-area: -1 / 1 / -2 / -1;
  }
  /*_______________________________________________________________________________*/
  /* TABLET Index hauswahl / haus-nav */
  .haus {
    grid-template-columns: 1fr 1fr;
    min-height: 13rem;
  }
  .pic {
    background-position: center;
    background-size: cover;
  }
  .pic.schwalbe {
    background-image: url(/bilder/schwalbe/ferienhaus-schwalbe.jpg);
  }
  .pic.storch {
    background-image: url(/bilder/storch/ferienhaus-storchenblick.jpg);
  }
  .pic.hortensia {
    background-image: url(/bilder/hortensia/ferienhaus-hortensia.jpg);
  }
  .pic.sonne {
    background-image: url(/bilder/sonnenblume/ferienhaus-sonnenblume.jpg);
  }
  .pic.seerose {
    background-image: url(/bilder/seerose/ferienhaus-seerose.jpg);
  }

  /*_______________________________________________________________________________*/
  /* TABLET Index content*/
  .text {
    font-size: 1.2rem;
    padding: 2rem;
  }

  /*_______________________________________________________________________________*/
  /* TABLET Hausseite */
  .container-buchung {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .btn-buchung {
    font-size: 2rem;
    padding: 15px 60px;
  }

  .gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
  }

  /*_______________________________________________________________________________*/
  /* TABLET mav-sehen */
  article.mv-sehen {
    -o-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    -webkit-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1.5em;
    width: 90vw;
  }
  /*_______________________________________________________________________________*/
  /* TABLET footer */
  .container-links {
    justify-content: space-evenly;
    margin: 2rem;
    text-decoration: underline;
  }
  .container-adressen {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

/*_______________________________________________________________________________*/
/*_______________________________________________________________________________*/
.none {
  display: none;
