html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

h1 {
    margin: 0;
    padding: 10px;
}

p {
    line-height: 1.5;
}

div#header {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(211, 206, 206);
    height: 90px;
    width: 100%;
    z-index: 2;
    flex: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.left-space, .logo-wrapper, .right-space {
    text-align: center;
    flex: 1 1 33.3%;
}

div#header img {
    width: 66px;
    height: 66px;
}

#header-button {
    text-align: center;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 550;
    
}

#start1::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* weiß mit 70% Deckkraft */
  z-index: 1;
}

div#start {
    display: flex;
    flex-direction: row;
    min-height: clamp(100vh, 100vh, 100vh);
    background-color: white;
}

.parallax-image {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 0;
  pointer-events: none;
}

#start1 > *:not(.parallax-image) {
  position: relative;
  z-index: 1;
}

div#start1 {
    text-align: left;
    flex: 1;
    position: relative;
    overflow: hidden;
}

div#start1 h1{
    color: #4b4c50;
    margin-top: clamp(200px, 8vh, 10vh);
    margin-left: clamp(5vw, 5vw, 10vw);
    margin-right: clamp(5vw, 5vw, 10vw);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    font-family: 'EB Garamond', serif;
}

div#start1 p {
    color: black;
    margin-left: clamp(5vw, 5vw, 10vw);
    margin-right: clamp(5vw, 5vw, 10vw);
    padding: 10px;
    font-size: 1.2em;
    margin-top: 30px;
}

div#start2 {
    flex: 1;
    overflow: hidden;
    position: relative;
    overflow: hidden;
}

div#start2 img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    display: block;
    margin-top: 85px;

}

.Produkte {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  background-color: white;
}

.produkt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background-color: rgb(236, 233, 233);
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.text {
  flex: 1;
  min-width: 25vw;
  margin-bottom: 50px;
}

.text h3 {
  color: grey;
  font-size: 3.5vw;
  font-weight: 700;
  margin: 10% 10% 0 10%;
  padding: 10px;
}

.text p {
  color: black;
  font-size: clamp(1.2rem, 1vh, 2.3vh);
  margin: 0 5% 0 10%;
  padding: 10px;
}

.text p:nth-of-type(2) {
  margin-bottom: 5%;
}

.button {
  background-color: #4b4c50;
  color: white;
  border: none;
  padding: 15px;
  font-size: clamp(1.2rem, 1vh, 2.3vh);
  cursor: pointer;
  border-radius: 10px;
  margin-left: 11%;
  margin-bottom: 0;
  margin-top: 20px;
  text-decoration: none;
}

.text .versteckt{
    display: none;
}

.bild {
  flex: 1;
  min-width: 250px;
  height: 100%;
  display: flex;
  justify-content: center;
  background-color: rgb(236, 233, 233);
  border-radius: 0 10px 10px 0;
}

.bild img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10% 10% 10% 5%;
}

@media (max-width: 1024px) {

    div#start2 img {
      height: 80vh;
      width: auto;
      object-fit: scale-down;
      display: block;
    }
}

@media (max-width: 768px) {

    div#start {
        height: auto;
    }

    div#start1 h1 {
        padding-top: 0vh;
        margin: 25vh 7vw 5vw 7vw;
    }

    div#start1 p {
        margin: 0 7vw 0 7vw;
    }

  div#start2 {
    display: none;
  }

    .produkt {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .text {
    margin-bottom: 0;
  }

  .text h3 {
    font-size: 5vw;
    margin: 20px 0 0 5vw;
    padding: 10px;
  }

  .text p {
    margin: 0 5% 0% 5vw;
    padding: 10px;
    font-size: 2vh;
}

.text p:nth-of-type(2) {
    padding-bottom: 20px;
}

.mehr-button {
    display: block;
    margin-left: 7vw;
    margin-top: 10px;
    padding: 10px 3vw;
    background-color: #4b4c50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
  }

  .text .versteckt.aktiv {
    display: block;
  }

  .bild {
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
    margin-top: 15px;
  }

  .bild img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0 0 10px 10px;
    }

 .button {
    padding: 15px;
    margin-left: 7vw;
    text-decoration: none;
    font-size: 2vh;
    }
}

  @media (min-width: 769px) {
  .mehr-button {
    display: none;
  }

  .text .versteckt {
    display: block;
    }
  }

  @keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.produkt {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.produkt.visible {
  animation: slideInLeft 0.8s ease forwards;
}

/*Über uns*/

.about {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 40px;
    background-color: rgb(236, 233, 233);
    width: 62%;
    margin-left: 19%;
    margin-right: 19%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.about h2 {
  color: grey;
  margin-top: 40px;
  font-size: 2em;
}

.about img {
  width: 15%;
  height: 15%;
  border-radius: 50%;
}

.about p {
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 40px;
  text-align: justify;
  font-size: 1.1em;
}

@media (max-width: 768px) {
    .about {
        width: 80vw;
        margin: 10vw;
}
}

/* Kontaktformular */

.Kontaktformular {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 40px;
    color: gray;
}

.Kontaktformular a {
    text-decoration: none;
    color: black;
}

#Kontaktformular {
    scroll-margin-top: 100px; 
}

.Kontaktformular h3 {
    text-align: center;
    font-size: 3.5vw;
    font-weight: 700;
    margin-bottom: 10px;
}

.Kontaktformular p {
    text-align: center;
    width: 60%;
    color: black;
    text-decoration: none;
    font-size: 1.1em;
}

.contact {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: rgb(236, 233, 233);
    width: 60%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-inputs {
    padding: 15px;
    border: 1px solid grey;
    margin-bottom: 15px;
    margin-top: 10px;
    width: 90%;
    border-radius: 10px;
    font-size: 1em;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 70;
    font-style: normal;
}

.contact-inputs:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 5px rgba(41, 128, 185, 0.5);
}

.contact-inputs.error {
    border-color: red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5) !important;
}


input[type="checkbox"] {
    accent-color: #007bff;
}

.Kontaktformular button {
    padding: 10px;
    background-color: #4b4c50;
    width: 50%;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size:1em;
    font-weight: 70;
    font-style: normal;
    text-align: center;
    margin-bottom: 10px;
}

#KontaktformularButton:not(:disabled) {
    background-color: #34495e;
}

.input-error {
    border-color: red !important;
}


@media (max-width: 768px) {
    
    .Kontaktformular p {
        width: 80vw;
    }

    .Kontaktformular h3 {
        font-size: 5vw;
        margin-top: 30px;
        
    }
    .contact {
        width: 80vw;
        margin: 40px;
    }
}   

div#footer {
    color: white;
    background-color: rgb(211, 206, 206);;
    width: 100%;    
    z-index: 1;
    position: relative;
    bottom: 0;
    clear: both;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: 550;
}

div#footer a {
    cursor: pointer;
    color: white;
    text-decoration: none;
}

div#impressum, div#datenschutz, div#instagram {
    text-align: center;
    flex: 1 1 33.3%;
}

div#instagram img {
    width: 30px;
    height: 30px;
}

/*Vermerk*/
.Vermerk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.Vermerk p {
  font-size: 0.9em;
  text-align: center;
}

.Vermerk a {
  text-decoration: none;
  color: black;
}

.Vermerk img {
  width: 20px;
  height: 20px;
  margin-bottom: 20px;
}

/*Impressum und Datenschutz*/
div#Impressum, div#Datenschutzerklärung {
  padding-top: 100px;
  min-height: 100vh;
}

div#Impressum h1, div#Impressum h2, div#Impressum h3, div#Impressum h4, div#Impressum p, div#Impressum li, div#Datenschutzerklärung h1, div#Datenschutzerklärung h2, div#Datenschutzerklärung h3, div#Datenschutzerklärung h4, div#Datenschutzerklärung p, div#Datenschutzerklärung li {
  margin-left: 5%;
  margin-right: 5%;
}

div#Impressum h1, div#Datenschutzerklärung h1 {
    padding-left: 0;
    padding-top: 5%;
}