/* Basics */
html, body {
    scroll-behavior: smooth;
    padding-top: 0px;
}

body {
    color: white;
    margin: 0px;
    height: 100%;
}

main {
    padding-left: 80px;
    padding-right: 80px;
}

h1 {
font-family: "Rubik", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-weight: 500;
font-size: 80px;
line-height: 85px;
color: #ffffff;
}

h2 {
font-family: "Rubik", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-size: 52px;
line-height: 60px;
color: #3A6C5F;
margin: 0;
padding-bottom: 32px;
}

h3 {
font-family: "Rubik", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-weight: 500;
font-size: 18px;
line-height: 26px;
color: #00382E;
margin: 0;
padding-bottom: 12px;
}


p {
   font-family: "Rubik", sans-serif;
   font-style: normal;
   font-weight: normal;
   font-size: 18px;
   line-height: 26px;
   color: #00382E;
   padding-top: 12px;
   margin: 0;
}

a {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #3A6C5F;
    text-decoration: none;
}

a:hover {
    color: #9ECA9E;
    transition: 0.2s ease;
}

ul {
    padding-left: 20px;
}

li {
    padding-left: 10px;
}

.sprung {
    visibility: hidden;
    height: 0px;
    position: absolute;
    margin: -110px;
}

button {
    background-color: #3A6C5F;
    border: 0px;
    padding: 0px;
    margin: 0px;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 18px;
    line-height: 0px;
    color: #ffffff;
    text-decoration: none;
}


@media only screen and (max-width: 1280px) {
  main {
    padding-left: 40px;
    padding-right: 40px;
  }

  p {
    font-size: 16px;    
  }

  h1 {
    font-size: 60px;
    line-height: 68px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 16px;
  }
}


@media only screen and (max-width: 875px) {
  main {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 45px;
    line-height: 48px;
  }

  h2 {
    font-size: 30px;
    padding-bottom: 10px;
  }
}


/* Menu */

.navbar {
    position: sticky;
    z-index: 98;
    top: 0;
    overflow: hidden;
    box-sizing: border-box;
}

nav {
    padding: 40px 200px 40px 200px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items:center;
}

.navbar img {
    max-height: 80px;
    float: right;
    box-sizing: border-box;
}

.navbar ul {
  background-color: white;
  list-style: none;
  padding: 0px;
  display: flex;
  align-items: center;
}

.navbar li {
    display: inline;
}

.burger {
    display: none;
}

.dropdown-content {
    background-color: #F7F5EF;
    display: none;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dropdown-content.open {
    display: flex;
}

.menu {
    padding-right: 25px;
}

#menu-language {
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    color: #3A6C5F;
    outline: 2px solid #D5ECDC;
    padding: 8px 20px;
    margin-right: 3px;
    border-radius: 30px;
    font-size: 18px;
}

#menu-language:hover {
     outline: 2px solid #9ECA9E;
}

.navbar .burger {
    display: none;
    padding-right: 0px;
    font-size: 18px;
}

.burger img {
    transition: transform 0.4s ease;
}

.burger.open img {
    transform: rotate(90deg); /* oder 180deg, wie du willst */
}

nav a {
    font-family: "Rubik", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    color: #3A6C5F;
    text-decoration: none;
    display: inline;
}

nav a:hover {
    color: #9ECA9E;
    transition: 0.2s;
}

@media only screen and (max-width: 1280px) {
  nav {
    padding: 40px 70px 40px 70px;
  }
}

@media only screen and (max-width: 875px) {

    nav {
      padding: 40px 20px 20px 20px;
    }

    .menu {
      display: none;
    }  

   .navbar .burger {
      display: inline;
   }
}


/* Intro */
.intro {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    max-height: 600px;
    overflow: hidden;
}

.intro img {
    width: 100%;
    border-radius: 20px;
}

.headline {
    position: absolute;
    top: 40px;
    left: 120px;
}

@media only screen and (max-width: 1280px) {
  .headline {
    top: 0px;
    left: 70px;
  }

  .intro {
    max-height: 400px;
  }
}

@media only screen and (max-width: 875px) {
  .headline {
    top: 0px;
    left: 40px;
}
}

@media only screen and (max-width: 440px) {
  .intro {
    height: 300px;
  }

  .intro img {
    width: auto;
    height: 100%;
  }

  .headline {
    left: 20px;
  }
}


/* About*/

.left {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.right {
    flex: 1.5;
    background-color: #D5ECDC;
    height: auto;
    padding: 40px 50px;
    border-radius: 20px;
    align-content: center;
}

.columns {
    padding-left: 120px;
    padding-right: 120px;
    max-height: 450px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: top;   
    padding-top: 122px;
    margin: auto;
} 

@media only screen and (max-width: 1340px) {
  .columns {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media only screen and (max-width: 875px) {
    .columns {
        flex-direction: column;
        max-height: none;
    }

    .left, .right {
        flex: 1; /* Beide Spalten nehmen gleich viel Platz ein */
        width: auto;
        height: auto;
    }

    .right {
        padding: 40px;
    }

    .left img {
        height: auto;
        width: 100%;
    }
}

/* Content */
.about {
    display: flex;
    justify-content: center;
}

.content {
    padding-top: 122px;
    width: 800px;
    margin: auto;
}

@media only screen and (max-width: 1250px) {
  .content {
    padding-left: 70px;
    padding-right: 70px;
    margin-right: auto;
    width: auto;
  }
}

@media only screen and (max-width: 875px) {
    .content {
        padding-top: 70px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (max-width: 440px) {
  .content {
    padding-left: 0px;
    padding-right: 0px;
  }

  .right {
    padding: 40px 20px;
  }

  .columns{
    padding-top: 80px;
  }
}


/* Contact Form */

.dark-back {
    box-sizing: border-box;
    padding-top: 122px;
    display: flex;
    justify-content: center;
}

.container {
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #F7F5EF;
    padding: 70px;
    width: 870px;
    margin: auto;
}

.contact-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.form-group {
    box-sizing: border-box;
    margin-bottom: 20px;
}

.form-group-inline {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.form-group-inline .form-group {
  box-sizing: border-box;
  width: 100%;
}

input, textarea {
    box-sizing: border-box;
    color: #515151;
    font-family: "Rubik";
    font-size: 18px;
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
}

input:focus, textarea:focus {
    box-sizing: border-box;
    outline: 3px solid #D5ECDC;
}

textarea {
    box-sizing: border-box;
    height: 155px;
}


.submit-btn {
    font-family: "Rubik";
    font-weight: 400;
    background-color: #3A6C5F;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    max-width: 100px;
}

.submit-btn:hover {
    transition: smooth;
    color: #ffffff;
    background-color: #00382E;
}

.submit-btn:visited {
    color:#ffffff;
    background-color: #9ECA9E;
 }

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media only screen and (max-width: 875px) {
    .container {
        padding: 70px 40px 70px 40px;
    }
}

@media only screen and (max-width: 440px) {
    .dark-back {
        padding-top: 80px;
    }

    .container {
        padding: 40px 20px 40px 20px;
    }
}

/*Footer*/
footer {
    background-color: white;
    padding: 140px 20px 40px 20px;
    display: flex;
    justify-content: center;
}

.form-group-2 {
    display: hidden;
    margin-bottom: 20px;
}