@font-face {
  font-family: "PinyonScript";
  font-weight: 400;
  src: url("../fonts/pinyonscript-regular-webfont.woff2") format("woff2"),
    url("../fonts/pinyonscript-regular-webfont.woff") format("woff");
}
@font-face {
  font-family: "Lato-Black";
  font-weight: 900;
  src: url("../fonts/lato-black-webfont.woff2") format("woff2"),
    url("../fonts/lato-black-webfont.woff") format("woff");
}
@font-face {
  font-family: "Lato-Regular";
  font-weight: 400;
  src: url("../fonts/lato-regular-webfont.woff2") format("woff2"),
    url("../fonts/lato-regular-webfont.woff") format("woff");
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #f9f9fb;
  font-family: "Lato-Regular";
}
h1 {
  font-family: "Lato-Black", sans-serif;
  /*text-transform: uppercase;*/
  font-size: 4rem;
  margin: 0;
  padding: 0;
  text-shadow: 0.2rem 0.2rem 0.4rem #aaa;
}
h2 {
  font-family: "PinyonScript", serif;
  font-size: 3rem;
  color: #d40000;
  text-shadow: 0.2rem 0.2rem 0.4rem #aaa;
  margin: 0;
  margin-top: 1.7rem;
  margin-bottom: 0.2rem;
  padding: 0;
  font-weight: normal;
  line-height: 2.65rem;
}
h3 {
  margin: 0;
  padding: 0;
  padding-bottom: 0.5rem;
}
p {
  margin: 0;
  padding: 0;
}
.underline {
  text-decoration: underline;
}
.anmerkung {
  font-size: 0.8rem;
  font-style: italic;
}
.success {
  color: hsl(110, 100%, 50%);
}
.fail {
  color: hsl(0, 100%, 70%);
}
button {
  cursor: pointer;
  background-color: #232b2b;
  color: #f9f9fb;
  outline: none;
  border: none;
  padding: 0.5rem 1.5rem;
  max-width: 50%;
}
.display_none {
  /* Pano Error */
  display: none;
}
.display_flex {
  /* Pano Error */
  display: flex;
}
#Unverbindliche_Anfrage {
  position: relative;
}
#Unverbindliche_Anfrage_btn {
  position: absolute;
  top: 1rem;
  right: 2rem;
  width: fit-content;
  height: fit-content;
  block-size: fit-content;
  /*font-size: clamp(0.5rem, 2rem, 3rem);*/
  font-size: 2rem;
  line-height: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #d40000, hsl(0, 100%, 75%));
  text-shadow: 0.2rem 0.2rem 0.4rem #333;
  box-shadow: 0 0 0.4rem #f9f9fb;
  border-radius: 0.5rem;
}
@media only screen and (max-width: 70rem) {
  #Unverbindliche_Anfrage_btn {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0.5rem 1rem;
    /*right: 1rem;*/
  }
}
@media only screen and (min-width: 35.01rem) and (max-width: 70rem) {
  #Unverbindliche_Anfrage_btn {
    right: 1rem;
  }
}
@media only screen and (max-width: 35rem) {
  #Unverbindliche_Anfrage_btn {
    right: 0;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    border-radius: 0.5rem 0.5rem 0 0;
  }
}
/****


HEADER


*****/
header {
  height: 100%;
}
header > div {
  padding: 0;
  overflow: hidden;
}
header > div > img {
  height: 4vh;
  padding: 1rem;
}
header > div > div {
  height: calc(100% - (4vh + 2rem + 4rem));
  max-width: 64rem;
  padding: 2rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
header aside {
  background-image: url("../media/splash.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

header > div > div > h1 {
  text-align: left;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}
header > div > div > p {
  text-align: center;
  opacity: 0;
}

.keepscrolling {
  flex: 0 1 auto;
  position: relative;
  margin-top: 0.5rem;
  height: 3.5rem;
}
.keepscrolling > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 0.2rem solid black;
  border-left: 0.2rem solid black;
  opacity: 0;
}
/*
header > div div .keepscrolling:nth-of-type(1)
*/
.keepscrolling.eins {
  animation: fadeRotation 2.5s ease 1s infinite;
  transform: translate(-50%, calc(-50% - 0.45rem - 0.45rem)) rotate(225deg);
}
.keepscrolling.zwei {
  animation: fadeRotation 2.5s ease 1.5s infinite;
  transform: translate(-50%, calc(-50% - 0.45rem)) rotate(225deg);
}
.keepscrolling.drei {
  animation: fadeRotation 2.5s ease 2s infinite;
  transform: translate(-50%, -50%) rotate(225deg);
}

header > div > div > .fancy {
  text-align: right;
  animation: fadeIn 2s ease 0.5s forwards;
}
.fancy {
  font-family: "PinyonScript", serif;
  font-size: 6rem;
  color: #d40000;
  text-shadow: 0.2rem 0.2rem 0.4rem #aaa;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeRotation {
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/*
Screens
*/
@media only screen and (max-width: 76rem) {
  .fancy {
    font-size: 4rem;
  }
}
@media only screen and (min-width: 55.01rem) {
  /* formerly 75.51rem */
  header {
    display: flex;
  }
  header div {
    flex: 1 1 50%;
  }
  header aside {
    flex: 1 1 50%;
  }
}

@media only screen and (max-width: 55rem) {
  /* formerly 75.5rem */
  header > div {
    background-image: url("../media/splash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
  }
  header aside {
    display: none;
  }
  h1 {
    font-size: 3rem;
  }
  .fancy {
    font-size: 4.5rem;
  }
}

@media only screen and (max-width: 33rem) {
  .fancy {
    padding-top: 1rem;
    font-size: 3rem;
    line-height: 3rem;
  }
}

/****


SECTION PANO


*****/

#pano-showcase {
  background-color: rgb(177, 177, 177);
}
#pano-showcase #pano {
  position: relative;
}
#pano-showcase #panoErrorOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
}
#pano-showcase #panoErrorOverlay div {
  background-color: #d40000;
  padding: 0.5rem 1rem;
  border-radius: 0.2rem;
  color: #f9f9fb;
}
#pano-showcase .hier-ihr-logo {
  max-width: 10rem;
  max-height: 10rem;
  position: absolute;
  top: 0.5rem;
  left: 0.7rem;
  z-index: 3;
}
#pano-showcase .hier-ihr-logo img {
  max-width: 100%;
  max-height: 100%;
}
.content-container {
  background-color: #f9f9fb;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 0.2rem solid #d40000;
}
.overlapping {
  opacity: 0;
}
@keyframes fade-content-container {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in-content-container {
  animation-name: fade-content-container;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
.content-container p {
  padding-top: 0.3rem;
  line-height: 1.6rem;
  font-size: 1rem;
}
ul {
  list-style-type: circle;
}
ul li {
  line-height: 1.6rem;
}
ol li {
  line-height: 1.6rem;
  padding-bottom: 1.6rem;
}
ol li:last-child {
  padding-bottom: 0.5rem;
}

/*

LARGE SCREENS

*/
@media only screen and (min-width: 77.01rem) {
  #pano-showcase {
    min-height: 45rem;
    height: 100%;
    display: flex;
  }
  #pano-showcase > .showcase {
    flex: 1 0 auto;
  }
  .description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    flex: 0 1 calc(70ch - 2rem);
  }
  #pano-showcase .scroll-showcase {
    display: none;
  }
}
/*

SMALL SCREENS

*/
@media only screen and (max-width: 77rem) {
  #pano-showcase {
    /*background-color: rgb(172, 127, 177);*/
    display: flex;
    flex-wrap: wrap;
    background-color: #d40000;
  }
  #pano-showcase > .scroll-showcase {
    flex: 1 0 5%;
  }
  #pano-showcase .keepscrolling > div {
    border-top: 0.2rem solid #f9f9fb;
    border-left: 0.2rem solid #f9f9fb;
  }
  #pano-showcase > .showcase {
    height: 80vh;
    flex: 1 0 95%;
  }
  #pano-showcase > .description {
    flex: 1 0 100%;
  }
  .content-container p {
    column-count: 2;
    column-width: 35ch;
    column-gap: 1rem;
  }
  .content-container p.p-totalwidth {
    column-count: 1;
    column-width: 100%;
  }
  .content-container p.p-totalwidth.anmerkung {
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding-top: 0;
  }
}

/****


SECTION FLYBY


*****/
#flyby {
  background-image: url("../media/pano_Klosto.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /*min-height: 70rem;*/
}

@media only screen and (min-width: 77.01rem) {
  #flyby {
    display: flex;
    flex-wrap: wrap;
  }
  #flyby .c360-canvas {
    max-width: calc(100% - 70ch - 2rem);
    flex: 1 0 auto;
    padding: 1rem;
    align-self: center;
  }
  #flyby > .scroll-showcase {
    display: none;
  }
  #flyby .c360-canvas canvas {
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.5);
  }
}

@media only screen and (max-width: 77rem) {
  #flyby {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #flyby .c360-canvas {
    flex: 1 0 95%;
    /*max-width: 95%;*/
    overflow: hidden;
  }
  #flyby .scroll-showcase {
    flex: 1 0 5%;
  }
  #flyby .description {
    flex: 1 0 100%;
  }
  #flyby .keepscrolling > div {
    border-top: 0.2rem solid #f9f9fb;
    border-left: 0.2rem solid #f9f9fb;
  }
}

@media only screen and (min-width: 77.01rem) and (min-height: 225.01rem) {
  #flyby .description {
    padding-top: 1rem;
  }
}

/*@media only screen and (max-height: 3600px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 225rem) {
  #flyby .description {
    padding-top: 2rem;
  }
}
/*@media only screen and (max-height: 3000px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 187.5rem) {
  #flyby .description {
    padding-top: 4rem;
  }
}
/*@media only screen and (max-height: 2400px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 150rem) {
  #flyby .description {
    padding-top: 6rem;
  }
}
/*@media only screen and (max-height: 1800px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 112.5rem) {
  #flyby .description {
    padding-top: 8rem;
  }
}
/*@media only screen and (max-height: 1200px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 75rem) {
  #flyby .description {
    padding-top: 10rem;
  }
}
/*@media only screen and (max-height: 960px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 60rem) {
  #flyby .description {
    padding-top: 12rem;
  }
}
/*@media only screen and (max-height: 900px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 56.25rem) {
  #flyby .description {
    padding-top: 14rem;
  }
}
/*@media only screen and (max-height: 840px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 52.5rem) {
  #flyby .description {
    padding-top: 16rem;
  }
}
/*@media only screen and (max-height: 780px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 48.75rem) {
  #flyby .description {
    padding-top: 18rem;
  }
}
/*@media only screen and (max-height: 720px) {*/
@media only screen and (min-width: 77.01rem) and (max-height: 45rem) {
  #flyby .description {
    padding-top: 20rem;
  }
}
#flyby .description {
  /*align-self: flex-end;*/
  /*
    margin: 1rem;
    flex: 0 1 calc(70ch - 5rem);
    */
}

/*@media only screen and (min-height: 851px) {*/
/*
@media only screen and (min-height: 60rem) {
        #flyby {
            
        }
    }

@media only screen and (min-height: 53.01rem) {
    #flyby {
        min-height: 70rem;
    }
}
*/
/*@media only screen and (max-height: 850px) {*/
/*
@media only screen and (max-height: 53rem) {
    #flyby {
        min-height: 75rem;
    }
}
*/

/****


SECTION PLANS


*****/
#plans {
  display: flex;
  flex-wrap: wrap;
  background-color: #e8eae9;
  justify-content: center;
}
#plans .description {
  flex: 0 1 calc(70ch - 2rem);
}
#plans .description .content-container #Zutaten_Anleitung_Container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}
#plans .description .content-container #Zutaten_Anleitung_Container div {
  max-width: 46rem;
}
#plans .plan-content {
  flex: 0 1 calc(100% - 70ch - 2rem);
}
#plans .plan-content img {
  max-width: 100%;
}
#youtubePlay {
  width: 80%;
  max-width: 100%;
  padding-top: 45%;
  margin: 10%;
  position: relative;
  background-image: url("../media/3D/splash_Wohnzimmer.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#youTubeButton {
  width: 30%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.youtubeDisclaimer {
  background-color: rgba(0, 0, 0, 0.7);
  background-blend-mode: darken;
}
.youtubeDisclaimer p {
  font-size: 0.9rem;
  color: #f9f9fb;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.youtubeDisclaimer a {
  color: aqua;
}
.youtubeContent {
  position: absolute;
  top: 0;
}
#plans ul {
  margin-top: 0.3rem;
}
#plans ol {
  margin-top: 0.3rem;
}
@media only screen and (max-width: 70rem) {
  #plans .description {
    flex: 1 0 100%;
    overflow: hidden;
    order: 2;
  }
  #plans .plan-content {
    flex: 1 0 100%;
    overflow: hidden;
    order: 1;
  }
  #plans ol {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  #plans ol li {
    max-width: 35ch;
  }
}
@media only screen and (max-width: 77rem) {
  #plans {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
@media only screen and (min-width: 44rem) and (max-width: 77rem) {
  #plans p {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/*********

PRICING

*********/

#Pricing > h2 {
  text-align: center;
  margin: 0.5rem;
}
#Pricing h1 {
  margin: 0.5rem;
  margin-top: 2rem;
  text-align: center;
}
#Pricing h3 {
  font-size: 2rem;
  text-decoration: underline;
}
#Pricing .description {
  flex-direction: row;
  align-items: start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
#Pricing .description .content-container {
  max-width: 30rem;
}
#Pricing .Paket {
  margin-bottom: 1.5rem;
}
#Pricing .content-container p {
  padding-top: 0;
  padding-bottom: 0.5rem;
  max-width: 50ch;
}
#Pricing .Angebot {
  font-size: 2rem;
}
#Pricing .PreisDisclaimer {
  font-size: 0.8rem;
}
#Pricing .content-container .Angebot {
  font-family: "PinyonScript", serif;
  font-size: 3rem;
  color: #d40000;
  text-shadow: 0.2rem 0.2rem 0.4rem #aaa;
  margin: 0;
  margin-top: 1rem;
  padding: 0;
  text-decoration: none;
  font-weight: normal;
  padding-bottom: 0.5rem;
}
#Pricing .add {
  padding: 1rem;
}
#Pricing .add p {
  text-align: center;
}
#Pricing .add .examples {
  font-size: 0.7rem;
}
#Pricing .add .examples span {
  white-space: nowrap;
}
#Pricing .content-container .anmerkung {
  line-height: 0.1rem;
}
@media only screen and (max-width: 77.01rem) {
  #Pricing .description {
    display: flex;
    flex-direction: row;
  }
}
@media only screen and (max-width: 72rem) {
  #Pricing .description {
    gap: 0.3rem;
  }
}

/*********

FOOTER

*********/
footer {
  background-color: #2a3439;
  color: #f9f9fb;
  line-height: 1.6rem;
}
footer h1 {
  line-height: 2;
  text-align: left;
  display: block;
  width: 100%;
}
footer p {
  max-width: 70ch;
}
#kontakt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#kontakt .description {
  margin: 0 0.7rem 0 0.7rem;
}
#kontakt .kontakt-content {
  margin: 0 0.7rem 0 0.7rem;
}
#kontakt .kontakt-content button {
  border-radius: 0.5rem;
}
label,
input,
textarea {
  display: block;
  width: 100%;
  max-width: 70ch;
  font-size: 1rem;
  font-family: "Lato-Regular";
  line-height: 1.3rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input,
textarea {
  margin-bottom: 0.5rem;
}
#sicherheitsabfrage_img {
  max-width: 70ch;
}
#sicherheitsabfrage_img img {
  max-width: 100%;
}

@media only screen and (min-width: 75.01rem) {
  .kontakt-content {
    padding: 1.5rem 0;
  }
}

@media only screen and (max-width: 75rem) {
  #kontakt .description {
    flex: 1 0 100%;
    overflow: hidden;
  }
  #kontakt .kontakt-content {
    flex: 1 0 100%;
    overflow: hidden;
  }
  #kontakt .kontakt-content form,
  #kontakt .kontakt-content #ausgabe {
    padding: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  #kontakt .description h1 {
    padding: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  #kontakt .description p {
    padding: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/*********

FOOTER - LEGAL

*********/

#legal {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem;
}
#legal button {
  width: fit-content;
  block-size: fit-content;
}
#legal .modal-opener {
  color: white;
  background-color: transparent;
  outline: none;
  border: none;
}
#legal .modal-opener:hover {
  text-decoration: underline;
}
.modal {
  padding: 1rem;
  max-width: 60ch;
  max-height: 90vh;
}
.modal h1 {
  font-size: 2rem;
}
.close_holder {
  position: sticky;
  top: 0;
  /*
    left: 100%;
    */
}
.close_holder div {
  position: relative;
}
.close_holder input {
  position: absolute;
  max-width: 2.3rem;
  top: 0;
  right: 0;
  background-color: transparent;
  outline: none;
  border: none;
}
#impressum ul {
  padding-left: 0;
}
#impressum ul li {
  text-decoration: none;
  list-style-type: none;
}
#impressum ul li img {
  max-width: 90%;
}
#impressum #external-site {
  line-height: 1rem;
}
