nav {
    display: none;
    flex-direction: column;
  }
  nav.open {
    display: flex;
  }
  @media (min-width: 600px) {
    nav {
      display: flex !important;
      flex-direction: row;
    }
  }
  .slider img {
    width: 300;
    height: auto;
    display: block;
  }
    

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
}


/* Navigation */
nav {
  text-align: center;
  padding: 0.5rem;
  border-bottom: 2px solid #000000;
  font-size: 14px;
  background-color: #ffffff8e;
}

nav a {
  margin: 0px 15px;
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

/* Name / Titel */
header h1 {
  font-size: 40px;
  display: inline-block;
  margin: 40px 20px;
  padding: 5px 15px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.082);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  margin: 32px 32px 48px 32px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.04);
}
nav a {
  margin-left: 32px;
  text-decoration: none;
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #595180;
}



.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  background: #ffffff;
}

.profilbild {
  width: 200px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.intro-text {
  max-width: 500px;
}

.button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #796388;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.button:hover {
  background-color: #595180;
}

.portfolio-preview {
  padding: 40px;
  text-align: center;
}

.preview-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.preview-item {
  width: 200px;
}
.preview-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#contact {
  background: #ffffff;
  padding: 40px;
  text-align: center;
}

#contactform {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contactform input,
#contactform textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #796388;
  border-radius: 5px;
}

#contactform button {
  background-color: #796388;
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
}
#contactform button:hover {
  background-color: #ffffff;
}
footer {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
}




header {
  background-image: url('Website.JPG'); /* Pfad zum Blumenbild */
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
}

.zentriert {
  text-align: center;
}
header h1 {
  position: absolute;
  bottom: 10px;
  left: 25px;
  color: white;
  font-size: 24px;
  background-color:rgba(255, 255, 255, 0.082);
  padding: 5px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.04)
}
body {

  background-size: cover;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
}



body::before {
  content: "";
  position: absolute;
  top: 420px;
  left: 30px;
  width: 180px;
  height: 180px;
  
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(0deg);
  color: #000;
    content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  background-size: cover;
  opacity: 0,3;
  z-index: -1;
}

body::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 20px;
  width: 180px;
  height: 180px;
 
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  color: #000;
}




