body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #3A302A;
  display: flex;
  min-height: 100vh;
}


.sidebar {
  width: 260px;
  min-height: 100vh;
  background-color: #F5F1EB;
  color: #3A302A;
  padding: 30px 20px;
  position: fixed;
  left: 0;
  top: 0;
}

.sidebar h2 {
  font-size: 22px;
  margin-bottom: 40px;
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav ul li {
  margin-bottom: 15px;
}

.sidebar nav ul li a {
  display: block;
  color: #3A302A;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 6px;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
  background-color:#B56C4D;
}


.page-content {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.topbar {
  background-color: #F5F1EB;
  padding: 25px 40px;
  border-bottom: 1px solid #ddd;
}

.topbar h1 {
  font-size: 28px;
  color: #222;
}

main {
  flex: 1;
  min-height: 70vh;
  padding: 0;
  color: white;
  
  background-image: url(Bilder/Startseite.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main_2 {
  flex: 1;
  min-height: 70vh;
  padding: 0;
  background-color:#F5F1EB;
 


}

main_3 {
  flex: 1;
  min-height: 70vh;
  padding: 0;
  color: white;
  
  background-image: url(Bilder/Kontakt.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
main_4{
flex: 1;
  min-height: 70vh;
  padding: 0;
   background-image: url(Bilder/hand.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: whitesmoke;

}



.hero {
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #3A302A;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #3A302A;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #3A302A;
}

.button {
  display: inline-block;
  background-color: #B56C4D;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

.button:hover {
  background-color: #F5F1EB;
}

.text-box_1{
    background-color: white;
    color: #3A302A;
    padding: 20px;
    border-radius: 12px;
    width: 23%;
    box-sizing: border-box;
}
.box-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
}

.text-box {
    background-color: #3A302A;
    color: white;
    width: 25%;
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
}
.box-container_2{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
}

.text-box_2{
    background-color: #B56C4D;
    color: #3A302A;
    width: 50%;
    padding: 30px;
    border-radius: 18px;
    box-sizing: border-box;
    text-align: center;
}
.text-box h2 {
    margin-bottom: 15px;
}

.text-box p {
    line-height: 1.5;
}
.hero { 
  min-height: 70vh;
padding: 80px 40px;
display: flex;
align-items: center;
justify-content: flex-end;
text-align: center;
}
.hero_2{ 
  text-align: center;
   padding: 40px;
}

}
.hero-impress{ 
    display: flex;
    justify-content: center;
    padding: 50px;

}
.container {
    width: 900px;
    padding: 40px;
    background: transparent;
    text-align: left;
}
.container_2 {
   
}


.Portfolio {
    display: flex;
    flex-wrap: wrap;
}

.item {
    position: relative;
    flex: 1 1 25%;
}

.item a {
    display: block;
    position: relative;
}

.item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: 0.3s;
}

.item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}


.item:hover a::after {
    background: rgba(0,0,0,0.5);
}

.item:hover figcaption {
    opacity: 1;
}

footer {
  background-color: #F5F1EB;
  color: #3A302A;
  text-align: center;
  padding: 15px;
}