/* === FONTS === */

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v12-latin-regular.eot');
    src: local('Raleway'), local('Raleway-Regular'),
         url('../fonts/raleway-v12-latin-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-v12-latin-regular.woff2') format('woff2'),
         url('../fonts/raleway-v12-latin-regular.woff') format('woff'),
         url('../fonts/raleway-v12-latin-regular.ttf') format('truetype'),
         url('../fonts/raleway-v12-latin-regular.svg#Raleway') format('svg');
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/raleway-v12-latin-italic.eot');
    src: local('Raleway Italic'), local('Raleway-Italic'),
         url('../fonts/raleway-v12-latin-italic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-v12-latin-italic.woff2') format('woff2'),
         url('../fonts/raleway-v12-latin-italic.woff') format('woff'),
         url('../fonts/raleway-v12-latin-italic.ttf') format('truetype'),
         url('../fonts/raleway-v12-latin-italic.svg#Raleway') format('svg');
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/raleway-v12-latin-700.eot');
    src: local('Raleway Bold'), local('Raleway-Bold'),
         url('./fonts/raleway-v12-latin-700.eot?#iefix') format('embedded-opentype'),
         url('./fonts/raleway-v12-latin-700.woff2') format('woff2'),
         url('./fonts/raleway-v12-latin-700.woff') format('woff'),
         url('./fonts/raleway-v12-latin-700.ttf') format('truetype'),
         url('./fonts/raleway-v12-latin-700.svg#Raleway') format('svg');
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 700;
    src: url('./fonts/raleway-v12-latin-700italic.eot');
    src: local('Raleway Bold Italic'), local('Raleway-BoldItalic'),
         url('./fonts/raleway-v12-latin-700italic.eot?#iefix') format('embedded-opentype'),
         url('./fonts/raleway-v12-latin-700italic.woff2') format('woff2'),
         url('./fonts/raleway-v12-latin-700italic.woff') format('woff'),
         url('./fonts/raleway-v12-latin-700italic.ttf') format('truetype'),
         url('./fonts/raleway-v12-latin-700italic.svg#Raleway') format('svg');
  }

  :root {
    --hintergrund: #FA9805;
    --dunkel-grau: #3D3F45;
    --hell-grau: #F0F0F0;
    --rot: #A62C21;
    --weiss: #FFF;
    --schwarz: #000;
    --primaere-schriftart: Raleway;
    --sekundaere-schriftart: "Helvetica Neue";
    --tertiaere-schriftart: Arial;
    --fallback-schriftart: sans-serif;
    --border-style: 2px solid;
    --border-transition: border .5s ease-in-out;
  }
  /* === Global === */
  html {
    font-size: 16px;
    color: #002750;
    margin-top: 0;
    background-color: #FFF;
  }
  body {
    margin: 0;
    font-family: var(--primaere-schriftart), var(--sekundaere-schriftart), var(--tertiaere-schriftart), var(--fallback-schriftart);
  }
  
  * {
    box-sizing: border-box;
  }

  /* === Generelles ===*/
  .clearfix::after {
    content:"";
    display: block;
    clear: both;
  } 


  /*Farben
  https://i.pinimg.com/originals/ed/d0/bb/edd0bbe22a3a1843e583b06ea24f67aa.png
  Hellesblau für Hintergrund: #e8ffff
  */
/* Header Navigation*/
  .header-nav{
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 100%;
    height: 60px;
    position: relative;
  }
  
  .header-nav > ul {
    margin-left: 1rem;
    padding: 0;
    position: absolute;
    left: 2rem;
    top: -10px;
  }
  

  .header-nav > ul > li {
    margin: 0;
    padding-left: 10px;
    height: 100%;
    display: inline-block;
  }
 
  /* === NAVIGATION Mobile ===*/
  .mobile-nav-button{
    color: #002750;
    float: left;
    font-size: 2rem;
    border: 2px solid #002750;
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: .2rem;
    margin-top: .2rem;
  }
  .mobile-nav-button > span {
    position: absolute;
    bottom: -2px;
    left: 10px;
  }
  .mobile-nav-content > ul > li {
    display: block;
    height: 50px;
    width: 200px;
    padding: 0 1.2rem;
  }
  .mobile-nav-button > a {
    float: right;
    position: absolute;
    margin-top: -222px;
  }
  .mobile-nav-dropdown {
    position: relative;
    display: inline-block;
    
  }
  .mobile-nav-content {
    position: absolute;
    background-color: #009dff;
    left: -37px;
    top: 25px;
    display: none;
  }
  .mobile-nav-dropdown:hover > .mobile-nav-content {
    display: block;
  }
  
  .mobile-nav {
    display: none;
  }

  .titelbild {
    border-radius: 30%;
    display: block;
    text-align: center;
    max-width: 200px;
    
  }

  .active{
    background-color: #8cd3ff !important;
    padding: 10px;
    
  }
  /* === ENDE NAVIGATION === */
 
/*===  LINK Style ===*/
/*  Farben
link color blau: color: #009dff
a:visited;   color: #26abff;
a:hover  color: #00F;
a:active  color: #0FF;

*/
a {
    color: #002750;
    font-size: 1.5rem;
    text-decoration:none;
}


a:link {
    color: #002750;
    text-decoration: none;
  }
  
  a:visited {
    color: #002750;
    text-decoration: none;
  }
  
  a:hover {
    color: #00F;
    text-decoration: underline;
  }

  a:active {
    color: #0FF;
    text-decoration: underline;
  }

/* === ENDE LINK Style === */ 





  /*  === Main Section === */

h1 {
  margin-top: 50px;
  margin-bottom: 60px;
  color: #00578A;
  font-size: 3rem;
  text-align: center;
}

h2 {
  margin-top: 50px;
  margin-bottom: 40px;
  text-align: center;
  color:#00578A;
}

h3 {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  color: #7C4A0E;
}

p {
  margin-left: 10px;
  margin-right: 10px;
}

img {
  display: block; 
  margin: auto;
  margin-top: 20px;
  height: auto;
  border-radius: 5%;
  border-color: #00578A;
  border-style: groove;
  border-width: 2px;
}

table {
  margin-bottom: 2rem;
  text-align: center;
  border-collapse: collapse;
}

td {
  border: 1px solid black;
  width: 40px;           /* nach Bedarf anpassen */
  height: 40px;          /* nach Bedarf anpassen */
  position: relative;    /* WICHTIG für ::before */
  overflow: hidden;      /* Dreieck bleibt im Kästchen */
}

/* voller Tag */
.belegt {
  background-color: #006a8a;
  color: #FFF;
}

/* Halbtag per Gradient (wo es geht) */
.anfahrt {
  background: linear-gradient(
    155deg,
    white 50%,
    #006a8a 50%
  );
  color: #FFF;
}

.abfahrt {
  background: linear-gradient(
    210deg,
    white 50%,
    #006a8a 50%
  );
  color: #FFF;
}

/* Dreieck unten rechts als Fallback / Alternative */
.halb-rechts::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 40px solid #006a8a;   /* gleiche Größe wie td-Höhe */
  border-left: 40px solid transparent; /* gleiche Größe wie td-Breite */
}

/* Dreieck oben links */
.halb-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 40px solid #006a8a;      /* gleiche Größe wie td-Höhe */
  border-top: 40px solid transparent;
}


.buchungsanfrage {
  background-image: -webkit-linear-gradient(#00578A, #004770);
  background-image: -moz-linear-gradient(#00578A, #004770);
  background-image: -ms-linear-gradient(#00578A, #004770);
  background-image: -o-linear-gradient(#00578A, #004770);
  background-image: linear-gradient(#00578A, #004770);
  border-color: #00578A;
  border-style: groove;
  max-width: 440px;
  padding: 5px;
  box-shadow: #3D3F45;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}
.buchungsanfrage button a {
  background-image: -webkit-linear-gradient(#00578A, #004770);
  background-image: -moz-linear-gradient(#00578A, #004770);
  background-image: -ms-linear-gradient(#00578A, #004770);
  background-image: -o-linear-gradient(#00578A, #004770);
  background-image: linear-gradient(#00578A, #004770);
  color: #FFF;
  border: 0;
}

button {
  background-image: -webkit-linear-gradient(#00578A, #004770);
  background-image: -moz-linear-gradient(#00578A, #004770);
  background-image: -ms-linear-gradient(#00578A, #004770);
  background-image: -o-linear-gradient(#00578A, #004770);
  background-image: linear-gradient(#00578A, #004770);
  border: 0;
}


  
.heart {
  display: inline-block;
  background: red;
  position: relative;
  margin-left: 10px;
  height: 10px;
  width:10px;
  /* Animation */
  transform: rotate(-45deg) scale(1);
  animation: herzschlag 3.3s ease-in-out infinite;
}


.heart::after {
  background:inherit;
  border-radius: 50%;
  content:'';
  position:absolute;
  top: -50%; 
  left:0;
  height: 10px;
  width: 10px;
}
.heart::before {
  background:inherit; 
  border-radius: 50%;
  content:'';
  position:absolute;
  top:0; 
  right:-50%;
  height: 10px;
  width: 10px;
}

@keyframes herzschlag {
  0% {
      transform: rotate(-45deg) scale(1);

  }
  50% {
      transform: rotate(-45deg) scale(1.3);

  }
  100% {
      transform: rotate(-45deg) scale(1);
  }
}

.important {
  text-align: center;
  font-size: 1.5rem;
}

.externerLink {
  color: red !important;
  font-size: 1rem !important;

}


.back {
  float: center;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.back img {
  width: 5%;
  height: auto;
  text-align: auto;
  display: inline;
  
}
.flex-picture {
  display: flex;
  flex-basis: auto;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  flex-flow: row wrap;
  justify-content:center;
  align-content: space-around;
  border-radius: 5%;
}

.greatpicture img {
  width: 80%;
  height: auto;
  border: 0;
  flex-basis: 1200px;
  align-self: safe;
  padding-top: 3px;
}


figcaption {
  text-align: center;
  padding: 10px;
}

/* === ENDE MAIN Section === */


/* ===  FLEX Box === */

.flex-container{
  display: flex;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  flex-flow: wrap;
  justify-content:space-around;
  align-content:space-between;
  
}

.flex-container > * {
  margin: .8rem;
  flex-basis: 500px;
  align-self:auto;
  padding: 10px;
  font-size: 1rem;
}


.flex-container > article > img {
  width: 100%;
  height: auto;
  border-radius: 5%;
  border-color: #00578A;
  border-style: groove;
  border-width: 2px;
}

.flex-container > article > a > img {
  width: 100%;
  height: auto;
  border-radius: 5%;
  border-style: groove;
  border-width: 2px;
}

.flex-container-einspaltig{
  display: flex;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  flex-flow: row wrap;
  justify-content:center;
  align-content: space-around;
}

.flex-container-einspaltig > * {
  margin: .8rem;
  flex-basis: 900px;
  align-self: center;
  padding: 10px;
  font-size: 1.3rem;
}


.flex-container-einspaltig > article > img {
  width: 100%;
  height: auto;
  border-radius: 2%;
  border-color: #00578A;
  border-style: groove;
  border-width: 2px;
}

.flex-container-einspaltig > article > a > img {
  width: 100%;
  height: auto;
  border-radius: 2%;
  border-color: #00578A;
  border-style: groove;
  border-width: 2px;
}


/* ===   FOOTER === */

footer > nav > a:link {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: #002750;
}

footer {
  padding: 30px;
  margin-top: 20px;
}

.monis {
  font-style: italic;
}

/*  === Siebengebirge und Logo ===*/

.titelleiste {
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  display: flex; 
  justify-content: center; 
  align-items: center;
}

#siebengebirge {
  height: auto;
  width: 100%;
  float: inline-start;
  border: 0;

}

#logo {
  height: auto;
  width: 100%;
  float:inline-end;
  border: 0;

}

.gallerie-desktop {
  text-align: center;
}

.gallerie-desktop img {
  max-width: 270px;
  display:inline-block;
  box-shadow: 8px 8px 10px #aaa;
}



.gallerie-desktop > a > img:hover {
 scale: 1.2;
 
  }
 


.gallerie-mobile {
display: none;
text-align: center;
}

.gallerie-mobile img {
  max-width: 350px;
  display:inline-block;
  box-shadow: 8px 8px 10px #aaa;
}
.kontakt_img {
  max-width: 200px;
  text-align: center;
}



@media (max-width: 1400px) {
  .flex-container > * {
    flex-basis: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}





@media (max-width: 976px) {
  .flex-container > * {
    flex-basis: 800px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  .gallerie-desktop {
    display: none;
  }
  .gallerie-mobile {
    display: block;
  }
  .header-nav{
    height: 45px;
  }
  footer > nav > a:link {
  font-size: 1.3rem;

  }

}


@media (max-width: 560px) {
  .flex-container > * {
    width: 95%;
    flex-basis: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .back img {
    width: 10%;   
  }
}



@media (max-width: 414px) {
  .flex-container > * {
    width: 95%;
    flex-basis: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .flex-container > article > div > img {
    max-width: 280px;
  }
  
  .flex-container > article > div > a > img {
    max-width: 280px;
  }

  .gallerie-mobile img {
    max-width: 300px;
  }
  img {
    display: block; 
    max-width: 350px;
  }
  h1 {
    font-size: 1.5rem;
  }
  .titelbild {
    border-radius: 50%;
    max-width: 200px;   
  }
  .buchungsanfrage {
    max-width: 280px;
  }
  .buchungsanfrage a {
    font-size: 1rem;
  }
}


