/*
--------------------------------------------------------
    Stylesheet für meine Webseite
    Autor: Julia
    Datum: 15.08.2025
    Beschreibung: Grundlegendes Seitendesign
--------------------------------------------------------
*/

/* Allgemeine Seite */
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 200; /* dünnerer Schnitt */
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.4;
    margin:0;
    background-color:white;
    padding: 0;
    overflow-x: hidden;
}

/*Site-Header*/
header {
  display: flex;
  justify-content: space-between; /* Logo links, Menü rechts */
  align-items: center;
  flex-wrap: wrap;                /* damit sich Layout bei kleinen Geräten anpasst */
  padding: 10px 5%;
  position: relative;
}

  /* Logo-Bild */
    .logo img {
    height: auto; /* 80px anpassen je nach Bildgröße */
    max-width: 180px;
    top: 0;
    left: 0;
    padding: 40px 40px;
    position: absolute;
    }

/*Menü*/    
  /* Navigation */  

    nav {
      text-align: right;
      top: 2.5%;
      right: 2px;
      padding: 40px 20px;
      }
  
      nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
        align-items: flex-start;
      }
      
      nav li {
        display: inline-block;
      }
  
      nav a {
        text-decoration: none;
        color: black; 
        font-size: 1.5rem;
        transition: color 0.3s;
      }
  
      nav a:hover {
        color: rgb(165, 25, 54);
      }

/* --- Burger-Menü Button --- */
    .menu-toggle {
      display: none;
      font-size: 2rem;
      cursor: pointer;
      color: rgb(165, 25, 54);
      user-select: none;
    }


/* Rote Streifen */
    .red-lines {
      width: 100%;
      position: relative;
      margin: 20px 0;

    /*   margin:  */
    }
    .red-lines::before,
    .red-lines::after {
      content: "";
      display: block;
      height: 2px;             /* Streifendicke */
      background:  rgb(165, 25, 54);     /* Rot-Ton anpassen */
      width: 100%;
    }
    .red-lines::after {
      margin-top: 6px;         /* Abstand zwischen den Linien */
    }

     /* Homepage-Bild */
     .HomepagePic img {
      width: 100%;
      max-width: 1000px; /* begrenzt die Breite auf großen Bildschirmen */
      height: auto;
      display: block;
      margin: 20px auto;
      border-radius: 10px;
    }

/*Text Mitte*/
.oeffnungszeiten{
    padding: 30px 0;
    margin: 0.3em 0;
}

    /* Inhalt */
    .content {
      padding: 40px 10%;

    }

    .ueberschrift{
      font-family: 'Roboto', Arial, Helvetica, sans-serif;
      font-weight: 50; /* dünnerer Schnitt */
      font-size: 1.5rem;
      text-align: left;
      color: rgb(165, 25, 54);
      text-align: center;
      font-weight: bold;
    }

    
/* Infos öffnungszeit und Adresse */  
.info-container {
  display: flex;
  justify-content: space-between; /* Abstand zwischen den Spalten */
  align-items: flex-start;
  flex-wrap: wrap; /* Damit es auf kleinen Bildschirmen untereinander geht */
  gap: 2rem;
}

.info-block {
  flex: 1 1 300px; /* minimale Breite, aber flexibel */
}

.info-block p {
  margin: 0.3em 0;
}

strong {
  font-weight: bold;
}


/* --- Fußzeile --- */
.footer-bar {
  background-color: rgba(165, 25, 54, 0.3);
  color: black;
  text-align: center;
  margin-top: 50px;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.footer-bar .rechtliches {
  display: flex;
  font-size: 1.1rem;
  justify-content: center;  /* zentriert horizontal */
  gap: 30px;                /* Abstand zwischen Impressum und AGB */
  margin-bottom: 30px;      /* kleiner Abstand zum Copyright */
}

/* Links stylen */
.footer-bar a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bar a:hover {
  color: rgb(165, 25, 54); /* Rot beim Überfahren */
}



/* -------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------- */

/* Tablets */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    max-width: 150px;
  }

  .HomepagePic img {
    max-width: 90%;
  }

  .content {
    padding: 30px 8%;
  }
}

/* Smartphones */
@media (max-width: 900px) {
  /* Burger-Menü aktivieren */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 30px;
    right: 25px;
  }

  nav {
    width: 100%;
    display: none;
    background-color: white;
    border-top: 2px solid rgb(165, 25, 54);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
  }

  nav a {
    font-size: 1.1rem;
  }

  /* Wenn aktiv, wird Menü sichtbar */
  nav.active {
    display: block;
  }

  .logo img {
    max-width: 100px;
  }

  /* Sichtbares Menü */
  .menu.open {
   right: 0;
   }
  
  /* Hintergrund Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
  }
  
.overlay.show {
  display: block;
  }
  

  /* Rote Streifen */
  .red-lines {
    width: 100%;
    position: relative;
    margin: 70px 0;
  }

  .HomepagePic img {
    width: 100%;
  }

  .content {
    padding: 20px 5%;
  }

  .footer-bar {
    font-size: 0.8rem;
  }
}


