/*
--------------------------------------------------------
    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.2rem;
      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 */
  }

    /* Oberer Streifen mit Hintergrundbild */
    .banner {
      position: relative;
      width: 100%;
      height: 200px; /* Höhe des Streifens anpassbar */
      background: url('Hintergrund_Laden.JPG') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Transparente Schicht über dem Bild */
    .banner::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.5); /* halbtransparent */
      z-index: 0;
    }

    /* Text über dem Banner */
    .banner h1 {
      position: relative;
      z-index: 1;
      color: rgb(165, 25, 54);
      font-family: 'Roboto', Arial, Helvetica, sans-serif;
      font-weight: 50; /* dünnerer Schnitt */
      font-size: 3rem;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
      margin: 0;
    }
  
  .team {
    display: flex;
    flex-direction: column;  /* Personen untereinander */
    gap: 60px;               /* Abstand zwischen den Personen */
    padding: 40px 30%;
  }

  .person:nth-child(even) {  /* Automatischer Seitenwechsel -> gewünscht? */
    flex-direction: row-reverse;
  }
  
  /* Jede Person: Bild links, Text rechts */
  .person {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
  }

  /* Bild */
  .person .bild img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
  }
  
  /* Text */
  .person .info {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.5;
    flex: 1;
  }
  
  .person .info h3 {
    margin: 0 0 10px 0;
    font-weight: 600;
    font-size: 1.3rem;
  }

/*Text Mitte*/
.oeffnungszeiten{
  line-height: 1.5;
  padding: 30px 0;
}

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

  }

/* --- 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 */

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
}


.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;
}

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

   /* Oberer Streifen mit Hintergrundbild */
   .banner {
    position: relative;
    width: 100%;
    height: 100px; /* Höhe des Streifens anpassbar */
    background: url('Hintergrund_Laden.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Transparente Schicht über dem Bild */
  .banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5); /* halbtransparent */
    z-index: 0;
  }

  /* Text über dem Banner */
  .banner h1 {
    position: relative;
    z-index: 1;
    color: rgb(165, 25, 54);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 50; /* dünnerer Schnitt */
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    margin: 0;
  }

.person {
  flex-direction: column !important;  /* erzwingt Bild über Text bei ALLEN */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
}

.person .info {
  text-align: center;
}

.person .bild img {
  align-items: center;
  width: 80%;
  height: auto;
}

.content {
  padding: 20px 5%;
}

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


