@charset "utf-8";
/* CSS Document */
/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato-v23-latin-regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/lato-v23-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v23-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/Lato-Regular.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v23-latin-regular.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/lato-v23-latin-italic.eot"); /* IE9 Compat Modes */
  src: url("../fonts/lato-v23-latin-italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v23-latin-italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v23-latin-italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v23-latin-italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v23-latin-italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* abrilfatface-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Abril";
  font-style: heavy;
  font-weight: 700;
  src: url("../fonts/AbrilFatface-Regular.ttf") format("ttf");
}
* {
  box-sizing: border box;
}
:root {
  --background: #A3BFB2;
    --highlight: #F0FFFA;
    --boldtext: #414543;
    --border:#5A786A;
    --submenu:#B2D1C2;
}
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, ol, ul, li, fieldset, article, figcaption, figure, footer, header, menu, nav, section, summary, time, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}
h3{
  font-size: 1.8rem;
  font-weight: 6000;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  color: black;
  display: grid;
  grid-template-rows: 80px 1fr auto;
  grid-template-columns: 1fr;
  overflow-x: hidden;
  background-color: var(--background);
}

nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

*,
*::before *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100vh;
  height: 100dvh;
  font-size: 10px;
  font-family: "Lato", "serif";
  line-height: 1.2rem;
}
@-moz-document url-prefix() {
  html {
    line-height: 2rem;
  }
}
img,
picture {
  max-width: 100%;
  display: block;
  height: auto;
}
/* #######################################################################################################
divide the page into 3 areas allowing a fixed head section and ensuring the footer is always at the bottom of the screen even if the content is short or empty
################################################################################*/
.fixedcontainer{
    position: fixed;
    top:0;
    left:0;
    right:0;
    display: flex;
    background-color:#577c6b;
    max-height: 100px;
    z-index: 999;
}
.logo{
    display: block;

    margin:10px 10px 5px 20px;
}

.nav-container{
    display:flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: center;
    margin:0px 10px 0px auto;
    max-height: 80px;
  
}

.wrapper{
    display:block;
    grid-area: 2 / 1/ 3/ 2;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  grid-area: 3/1 / span1/span1;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px 20px;
  margin-top: 3em;
  background-color: var(--background);
  font-size: 1.8rem;
}
.footerlinks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.footertext {
  margin: 5 auto;
}
/* ######################## helpers ###############################*/
.aqua {
  background-color: aqua;
}
.yellow {
  background-color: yellow;
}
.green {
  background-color: lightgreen;
}
/* ######################## end of core css ###############################*/

/* #################### page structure ##############################*/
.contentwrapper {
  display: block;
  max-width:120ch;   
  margin:25px auto;
}
.col-grid{
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(380px, 1fr)) ;
    gap:1rem;
}
.slider{
    display:flex;
    justify-content: space-between;
    gap:3px;
    
}
.zweicol {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 400px;
  justify-content: space-around;
  gap: 2rem;
  flex-grow: 1;
  max-width: 95%;
  margin-inline: auto;
}


/*################## reusable items ################################*/

.centerit {
  margin-inline: auto;
}
.space05 {
  margin-bottom: 0.25em;
}
.space1 {
  margin-bottom: 1em;
}
.space2 {
  margin-bottom: 2em;
}
.indent10 {
  margin-left: 1em;
}
.add-border {
  border: medium inset rgba(217, 247, 245, 1);
  border-radius: 20px;
  margin-inline: 1vw;
}
.aligncontent {
  align-items: center;
}
.kontakttwoCol {
  Display:grid;
  margin-top: 3rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: Auto;
  
}
.formcontainer {
  display: grid;
  grid-area: 1/1/-1/2;
  

}
.anfahrt {
  display: grid;
  grid-area: 1/2/-1/-1;
}
.anfahrt a{
  font-size: 2.6rem;
}

/*############################### button #############################*/
.button {
  background-color: var(--submenu); /* Set the background color of the button */
  color: var(--boldtext); /* Set the text color */
  padding: 12px 24px; /* Add padding to the button */
  text-align: center; /* Center the text within the button */
  text-decoration: none; /* Remove underline from the text */
  display: inline-block; /* Make the button a block element */
  font-size: 16px; /* Set the font size of the text */
  border-radius: 20px; /* Set the radius of the button corners */
    border: var(--highlight) outset medium;
  cursor: pointer; /* Change the cursor to a pointer when hovering over the button */
}

.button:hover {
  border:var(--highlight) inset medium;
}

a {
  font-family: lato;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {

  max-width: 80ch;
}
p,
ul {
  line-height: 2.5rem;
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  font-weight: 400;
       letter-spacing: 0.05em;
     color:black;
  font-style: normal;
 
  max-width: 100ch;
}
ul {
  margin-left: 2rem;
}
.font-heavy {
  font-family: "Abril";
  font-size: clamp(2rem, 2.8vw, 3.5rem);
  font-weight: 700;
  line-height: 3.5rem;
        color: black;
  
}
.font-bold {
  font-family: "Lato";
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  font-weight: 700;
     color:black;
}
.font-lightbold {
  font-family: "Lato";
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  font-weight: 400;
}
.font-highlighted {
  font-family: "Lato";
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
}
.center-text {
  text-align: center;
}
ol {
  margin-left: 3ch;
  line-height: 2.4rem;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  max-width: 80ch;
}

/*############################## internal links #################################*/
.internlinks {
  position: relative;
  text-decoration: none;
  color:var(--highlight);
  line-height: 2.5rem;
}
.internlinks::before {
  content: url("../assets/link.png");
    position: absolute;
    left:-2.5rem;
    top:0.01em;
  margin-right: 5px;
}
.internlinks::after {
  content: "";
  position: absolute;
  left: 0;
  background-color: none;
  width: 100%;
  height: 20px;
  bottom: -25px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
  border-top: 2px solid var(--highlight);
}
.internlinks:hover::after {
  transform: scaleX(1);
}

.footerinternlinks {
  position: relative;
  text-decoration: none;
  color:var(--boldtext);
  line-height: 2.5rem;
}
.footerinternlinks::before {
  content: url("../assets/link.png");
    position: absolute;
    left:-2.5rem;
    top:0.01em;
  margin-right: 5px;
}
.footerinternlinks::after {
  content: "";
  position: absolute;
  left: 0;
  background-color: none;
  width: 100%;
  height: 20px;
  bottom: -25px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
  border-top: 2px solid var(--boldtext);
}
.footerinternlinks:hover::after {
  transform: scaleX(1);
}
/* ######################## cookie banner###############################*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #BADBCC;
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__button {
  background: #fff;
  color: #000;
  border: 0;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 15px;
}


/* ####################################################################################################
Set up responsive navigation
################################################################################################# */
/*#################################################################Icons
#####################################################*/
.arrowicon {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  margin: 0px 0px 0px 10px;
}
.right {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.left {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.up {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.down {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/*###################  desktop nav ####################################*/
.nav {
  display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 10%;
    background-color:#577c6b;
  max-width: 98%;
/*  height: 2rem;*/
 
}
.icon-menu {
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url(../assets/icon_menu.png);
  background-size: cover;
  width: 30px;
  height: 30px;
}
.icon-close {
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url(../assets/icon_close.png);
  background-size: cover;
  width: 30px;
  height: 30px;
}
.menu-icons {
  font-size: 4rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
  display: none;
}
/* Additional styles for screen reader text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 1600;
}

nav ul {
  list-style: none;
  align-content: right;
  margin-bottom: 30px;
}

.nav-list li {
  line-height: 8rem;
  position: relative;
}

.nav-list a {
  display: block;
  color: #F0FFFA;
  padding: 0 1.5rem;
  font-size: 1.4rem !important;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 650ms;
  text-decoration: none;
}

.nav-list a:hover {
  color: black;
}

.sub-menu li {
  line-height: 4rem;
}

.sub-menu {
  width: 20rem;
  position: absolute;
  border-top: 3px solid var(--border);
  background-color:#577c6b;
  z-index: 100;
  top: 8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 650ms ease;
}

.sub-menu a {
  font-weight: 400;
  font-size: 1.4rem !important;
  color: whitesmoke;
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 3rem;
  border: 1.2rem solid transparent;
  border-bottom-color: var(--border);
}

.sub-menu .sub-menu::before {
  top: 0.9rem;
  left: -2.5rem;
  border: 1.2rem solid transparent;
  border-right-color: var(--border);
}

.sub-menu .sub-menu {
  border-top: none;
  border-left: 3px solid var(--border);
  top: 0;
  left: 160%;
}

.nav-list li:hover > .sub-menu,
.sub-menu.open {
  top: 8rem;
  opacity: 1;
  visibility: visible;
}

.sub-menu li:hover > .sub-menu {
  top: 0;
  left: 100%;
}

li.move-right {
  margin: auto 0 auto auto;
  line-height: initial;
}
@media screen and (max-width: 1150px) {
  .fixedcontainer{
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    z-index: 999;
   
}
.logo{
  display: block;
  grid-area: 1/1/3/2;
  margin:10px 10px 5px 20px;
} 
.dropdown{
  grid-area: 1/2/2/3;
}
.nav-container{
  grid-area: 2/2/3/3;
  margin-top: 80;
min-width: 00px;
}
.kontakttwoCol {
  Display:grid;
  margin-top: 3rem;
  grid-template-columns: 1fr;
  grid-template-rows: Auto;
  max-width: 98%;
  margin-inline: 1%;
  gap: 2rem;
  
}
.formcontainer {
  display: grid;
  grid-area: 1/1/2/-1;
  

}
.anfahrt {
  display: grid;
  grid-area: 2/1/-1/-1;
}
}
@media screen and (max-width: 925px) {
  .contentwrapper {
    max-width: 96%;
    margin-inline: 1%;
    padding-inline: 2rem;
    overflow-wrap: break-word;
    word-wrap: break-word; 
  }

  .nav-list {
    overflow-y: scroll;
    flex-direction: column;
    align-items:initial;
    background-color: var(--submenu);
    display: none;
    margin:150px auto 0px auto;
      min-width:40vw;
      z-index: 1700;
      min-height: 450px;
  }
  .nav-list a {
    color: whitesmoke;
  }
  .sub-menu a {
    color: white;
      line-height: 5rem;
  }
  .nav-list > li {
    line-height: 6rem;
  }
  .sub-menu {
    position: initial;
    border: 1px solid tranparent;
    border-left-color:var(--border);
    margin:0px 1rem;
    max-height: 0;
  }
  .sub-menu::before {
    display: none;
  }
  .nav-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: initial;
  }
  li.move-right {
    margin: 0 auto 0 0;
    line-height: initial;
  }
  .menu-icons {
    display: block;
    z-index: 1600;
  }
  .icon-close {
    display: none;
  }
  nav.active .icon-close {
    display: block;
  }
  nav.active .icon-menu {
    display: none;
  }
  nav.active .nav-list {
    display: flex;
    margin-top:50px
  }
  section .websiteDesc {
    font-size: 1rem;
  }
}
/* #############################################################################
end of responsive navigation
################################################################################ */
/* Keyboard navigation */
/* Dropdown Button */
.dropbtn {
  background-color:antiquewhite;
  padding:0.5rem 1rem;
  margin:1rem 5rem;
  border-radius: 20%;   
  border: none;
}
.dropbtn:focus{
padding:1rem 1.5rem;  
}
.dropdown {
  z-index: 1500;
}
.ddlist ul, li{
list-style-type: none;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color:#9DBAAC;
   border: 3px solid var(--plasmablue);
   border-radius: 10px;     
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;      
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:focus {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:focus .dropdown-content{
  display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:focus{
  background-color:red;
}
.dropdown .dropbtn:focus + .dropdown-content {
  display: block;
}
 .dropdown-content a[href="#"] {
  /* Your styles here */
  border-bottom: solid black thin   ;
}

