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

  /* Oberer Streifen mit Hintergrundbild */
      .banner {
        position: relative;
        width: 100%;
        height: 200px; /* Höhe des Streifens anpassbar */
        background: url('rgb_hintergrund.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;
      }


      /* Hauptinhalt der Seite */
      .content {
        padding: 2rem;
      }

  /* Überschrift */
  .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;
  }

  /* Unterüberschrift */
  .unterUeberschrift{
    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-style: bold;
  }

   /* Geschichtsbild */
  .history_pic img {
    width: auto;
    height: 5%;
    max-width: 1000px; /* begrenzt die Breite auf großen Bildschirmen */
    align-items: center;
    }
  

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

.HomepagePic img {
  width: 100%;
}

.content {
  padding: 20px 5%;
}

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


