/*Body Format*/
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fdf6f0;
  color: #4a3b1d;
  overflow-x: hidden; /* Verhindert horizontales Wackeln */
  background-image: url(img/hintergrund.jpg);
}


main>section>h1{
    text-align: center;
    margin-top: 0px;
    padding-top: 15px;
}

.uberuns>h1{
  margin-top: 10px;
}
h3 {
  padding: 5px;
  margin-bottom: 0px;
  text-align: center;
  text-decoration: underline;
}

.trenner {
  background-color: #333;
  height: 20px;
  margin-top: 5px;
}

/*Animierte trennerO*/
.trennerO{
      height: 20px;
      width: 100%;
      background: linear-gradient(90deg,
        rgb(0, 102, 255), white, red,white, rgb(0, 102, 255), white, red,white
      );
      background-size: 300% 100%;
      animation: farbenBewegen 10s linear infinite;
    }

    @keyframes farbenBewegen {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

/*logo Bereich*/
.Logo{
    
    display: flex;
    justify-content: center;
    align-items: center;
    animation: drehen 5s linear infinite;/*drehen Bereich*/
    transform-origin: center center;/*drehen Bereich*/
    margin-bottom: 15px;
    cursor: pointer;
}
    
    @keyframes drehen {/*drehen Bereich*/
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

/*Header Bereich*/
header {
  background-color: #333;
  text-decoration: none;
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  
}

header>nav>ul>li>a{
    color: white;
    text-decoration: none;
}

header>nav>ul>li>a:hover{
  color: #0066cc;
}


nav>ul{
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

@media (max-width:365px){
    header{
        font-size: 13px;
    }
     h1{
        font-size: 22px;
    }
    .hero a{
      font-size: 13px;
    }
    
}

/*Hero Bereich*/
.hero{
    
    color: rgb(107, 91, 51);
    text-align: center;
    margin-bottom: 25px;
    
}

.hero a{
    text-decoration: none;
    color: rgb(107, 91, 51);
    border: 1px solid rgb(107, 91, 51);
    border-radius: 10px;
    padding: 5px;
    
}

.hero a:hover{
    color: rgb(83, 83, 158);
}

/*Slideshow Bereich Bilder*/
.Slideshow{
  margin:auto;
  position: relative;
  width: 640px;  /* Größe anpassen */
  height: 425px;
  overflow: hidden;
  
}

.FotoSS {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 25s infinite; /* die show geht 25sekunden und unendlich  */
  border-radius: 15px;
}


.FotoSS:nth-child(1) { /* bilder wächseln sich anhand der sekunden  */
  animation-delay: 0s;
}
.FotoSS:nth-child(2) {
  animation-delay: 5s;
}
.FotoSS:nth-child(3) {
  animation-delay: 10s;
}
.FotoSS:nth-child(4) {
  animation-delay: 15s;
}
.FotoSS:nth-child(5) {
  animation-delay: 20s;
}

@keyframes fade { /* bild sichtbar dann leicht sichtbar dann unsichtbar  */
  0%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

@media(max-width:650px){
  .Slideshow{
    width: 400px;  /* Größe anpassen */
  height: 300px;
  }
}

@media(max-width:420px){
  .Slideshow{
    width: 300px;  /* Größe anpassen */
  height: 200px;
  }
}


/*PreisListeBereich*/

.PTA{
    border: 1px solid gray;
    border-radius: 10px;
    width: 90%;
    margin: auto;
    margin-bottom: 5px;
}

.PreisT {
  width: 100%;
  border-collapse: collapse;
}

td {
  width: 50%;
  padding: 12px;
}

th:first-child {
  text-align: left;
  padding: 12px;
}

/* Erste Spalte: linksbündig (Standard) */
td:first-child {
  text-align: left;
  width: 70%;
}

/* Zweite Spalte (Preise): zentriert */
td:last-child {
  text-align: center;
  width: 30%;
}

/*Über uns*/

.uberuns{
    text-align: center;
    margin: auto;
    width: 90%;
}

/*Kontakt Bereich*/
.Kontakt>p{
    text-align: center;
}

.GBild{
    border-radius: 10px; /* Rundet die Ecken leicht ab */
    width: 80%;
    height: auto;
    margin-top: 0rem;
    max-width: 400px;  /* aber nicht größer als 400px */
    max-height: 266px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.GBild>img{
  border-radius: 10px;
}
/*Formular Bereich*/

.form-container{
  max-width: 400px;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 25px;
  background: transparent;
  border-radius: 12px;
  border: 1px solid #747272;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container>p{
  text-align: center;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #555;
  margin-left: 5px;
  
}

input[type="email"],
textarea {
  width: 90%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  font-size: 16px; 
  margin-left: 5px;
  margin-right: 5px;
  
}


.Formbutton {
  margin-top: 20px;
  width: 40%;
  height: 35px;
  background-color:#333 ;
  color: white;
  border: none;
  padding: 0px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 5px auto;
  
  
}

.Formbutton:hover {
  background-color:#555 ;
}

.footernameunten{
text-align: center;
}

.footerdatenschutz{
  text-decoration: none;
  text-align: center;
  color: rgb(107, 91, 51);
  margin-bottom: 20px;
}

/*Datenschutz Bereich>*/

.datenschutz-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.datenschutz-container h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.datenschutz-container h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #222;
}

.datenschutz-container p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.datenschutz-container a {
  color: #0066cc;
  text-decoration: none;
}

.datenschutz-container a:hover {
  text-decoration: underline;
}

/*Social Media*/
/* Social Media Links */
.social-links {
  margin-top: 10px;
  text-align: center;
}

.social-link {
  margin: 0 10px;
  color: #333;
  text-decoration: none;

}

.social-link:hover {
  color: #0056b3;
}

