body {
margin:0;
font-family: Arial, Helvetica, sans-serif;
background-color: #333;
color: #fff;
font-size: 20px;
line-height: 1.5;

}

  .navbar {
    padding: 3px;
    font-size: 18px;
    font-weight: bold;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    border:rgba(99, 99, 99, 0.541);
    border-width: 2px 0 0px 0;
    border-style: solid;
  }

  .navbar p {
    font-size: 40px;
    padding: 0 10px;
    margin: 5px;
    background-color: gold;
    border-radius: 10px;
  }

  .navbar p:hover{background-color: black;color: gold;}


  .navbar .navbar-nav .nav-link {
    color: black;
    font-size: 24px;
  }

  .navbar .nav-item:hover .nav-link {
      color:Black;
      background-color: gold;
    border-radius: 10px;
  }




img{
    display: block;
    width:100%;
    height: auto;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
}




/* Kopf */
.header-wrapper {
    width: 100%;
    aspect-ratio: 16/5; /* Beispiel: Breite zu Höhe */
    display: flex;
    flex-direction: column;
}

.header-bar {
    background: #333;
    flex: 1 1 0;
}

.header-title {
    background: white;
    text-align: center;
    padding: 24px 10px 10px 10px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 4px solid #333; /* optional, für klare Trennung */
}

.header-title h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    color: black;
}

.header-title h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
}

.header-title p {
    margin: 0;
    font-size: 1.3em;
    font-weight: bold;
    color: black;
    padding-top: 8px;
}

.header-image {
    flex: 5 1 0;
    background: url("Bild.jpg") no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 100%;
}

#uberschrift {
    font-size: 40px;
    font-weight: bold;
    padding-top: 2px;
    background-color: white;
    color:black;
    text-align: center;
}
#Kopf {
    min-height:300px;
    color: #fff;

}

#Kopf .HK-Bild {
background: url("Bild.jpg") no-repeat center center;
background-size: contain;
width: 100%;
height: 300px; /* oder gewünschte Höhe */
}

#Kopf p {
    padding: 20px;
    background-color: white;
    color:black;
    text-align: center;
    padding: 10px 0 10px;
    font-size: 24px;

    font-weight: bold;
}



/*Über uns*/

#Home {
    background: white;
    color: #333;
    padding-bottom: 20px;
    padding-top: 3px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;

}

/*Hauptteil*/

#Hauptteil {
    padding: 0 40px;
    text-align: center;

    font-weight: bold;

}

#Hauptteil ul {

    list-style: none;
    margin: 0;
    padding: 0;
}

#Hauptteil li {
    margin-bottom: 100px;
    background: #fff;
    color: #333;

}


p{
    padding: 10px;
}

.card{
    border: none;
}

/* Impressum und Datenschsutz*/

#Kontakt {
color: black;

}

#box1 {
    padding: 20px;
    background-color: gold;
    color: black;
    font-size: 33px;
    text-align: center;
    border-radius: 5px;

}

#box2 {
    padding: 20px;
    background-color:black;
    color: white;
    text-align: center;

    border-radius: 5px;

}

#Ende {
    padding-top:23px;
    padding-bottom:23px;
    background-color: white;
    text-align: center;


    }

#Ende a {
    color: black;
    margin-left: 40px;

}

@media(min-width: 750px) {
   .grid{
    display: grid;
    grid-template-columns: 0.5fr repeat(2, minmax(auto, 40em)) 0.5fr;
   }

   #Hauptteil ul {
    grid-column: 2/4;
    display: flex;
    justify-content: space-around;
   }

   #Home p {
    padding-left: 20%;
    padding-right: 20%;
   }

   #Hauptteil li{
    width: 29%;
}

#Kopf  h1 {

    font-size: 600%;
}



}
@media(min-width: 1200px) {
#box2,
#box1{
margin:100px 20% 100px;}

.navbar .navbar-nav .nav-link {

    margin-left: 10px;
    margin-right: 10px;
  }
}
