/* ================================
   ALLGEMEIN
   ================================ */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Caveat Brush';
  src: url('fonts/CaveatBrush-Regular.ttf') format('truetype');
  font-weight: 400;
}

body {
    background-color: rgb(255, 255, 255);
    margin: 0;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.muster-banner {
  background: #333;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}
/* ================================
   NAVIGATIONSLEISTE
   ================================ */

.navbar {
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 40px;
    margin-bottom: 0px;
    box-shadow: 0px 0px 5px;
}
.firma-name{
    font-size: 200%;
    font-family: 'Caveat Brush', cursive;
    color: rgb(171, 145, 78);
    white-space: nowrap;
}
.nav-links {
    display: flex;
    flex-direction: row;
    gap: 32px;
    list-style: none;
    font-family: 'Caveat Brush', cursive;
}
.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: underline;
    transition: 0.2s;
    display: inline-block;
    white-space: nowrap;
}
.nav-links a:hover {
    text-decoration: underline;
    transform: scale(1.2);
}

/* ================================
   HERO-BEREICHE (Hintergrundbild)
   ================================ */
.hero-startseite{
    background-image: linear-gradient(
        rgba(171, 145, 78, 0.5),
        rgba(171, 145, 78, 0.5)), 
        url(../bilder/cafe-innen.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ================================
   STARTSEITE - Textbox
   ================================ */
.bild-außen{
    background-image: url(../bilder/cafe-außen.jpg);
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    background-size: contain;
}

.text-startseite{
    color: white;
    justify-content: center;
    width: 400px;
    height: auto;
    text-align: center;
    font-family: 'Roboto' sans-serif;
    
}
.text-öffnungszeiten{
    color: white;
    width: 400px;
    height: auto;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Roboto' sans-serif;
}

.text-galerie{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto' sans-serif;
}

.text-galerie p{
    color: rgb(171, 145, 78);
    align-items: center;
    font-size: 300%;
}
.galerie-startseite {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 3 Spalten */
    gap: 20px;
    padding: 20px;
    width: 600px;
    margin: auto;
    margin-bottom: 40px;
}

.galerie-startseite img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
}

.lightbox.aktiv {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* ================================
   SPEISEKARTE
   ================================ */

.titel-speisekarte{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto' sans-serif;
}

.titel-speisekarte p{
    color: rgb(255, 255, 255);
    align-items: center;
    font-size: 300%;
}

.text-speisekarte{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto' sans-serif;
}

.text-speisekarte p, .text-speisekarte h2, .text-speisekarte h3{
    width: 600px;
    align-items: center;
    text-align: center;
    color: white;

}

/* ================================
   ANFAHRT
   ================================ */

.card-maps-container{
    width: 450px;
    height: 450px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 15px;
}
.maps-container{
    height: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.maps-titel {
    color: white;
    font-size: 300%;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Caveat Brush', cursive;
}

.maps-container iframe{
    width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ================================
   FOOTER
   ================================ */
.impressum-datenschutz {
    background-color: rgb(171, 145, 78);
    display: flex;
    flex-direction: column;
    margin: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    padding: 50px 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-col {
    padding: 0 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.footer-col:first-child {
    padding-left: 0;
}

.footer-col:last-child {
    border-right: none;
}

.footer-brand {
    font-family: 'Caveat Brush', cursive;
    font-size: 28px;
    color: rgb(255, 255, 255);
    margin: 0 0 6px 0;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
    font-style: italic;
}

.footer-col-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 16px 0;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-row {
    display: grid;
    grid-template-columns: 75px 1fr;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.6;
}

.footer-row span:first-child {
    font-weight: 700;
    color: rgb(0, 0, 0);
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-address p {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
    line-height: 1.6;
}

.footer-address p.footer-address-gap {
    margin-top: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
}

.footer-bottom span {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgb(255, 255, 255);
}

.datenschutz, .impressum {
    display: none;
}

.datenschutz-inhalt {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 40px;
  line-height: 1.8;
  color: #333;
}

.datenschutz-inhalt h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 10px;
}

.datenschutz-inhalt p {
  font-size: 15px;
  margin-bottom: 12px;
}

.datenschutz-inhalt ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.datenschutz-inhalt li {
  font-size: 15px;
  margin-bottom: 6px;
}

.impressum-inhalt {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 40px;
  line-height: 1.8;
  margin-bottom: auto;
}

.impressum-inhalt h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.impressum-inhalt h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 8px;
  color: #5C3D1E;
}

.impressum-inhalt p {
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

/* ================================
   HANDY
   ================================ */

@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    grid-template-columns: 1fr;
    padding: 10px 16px;
  }

  .firma-name {
    font-size: 130%;
    text-align: center;
    order: -1;
  }

  .nav-links {
    gap: 12px;
    justify-content: center;
    padding: 0;
    order: 1;
  }

  /* Außenbild */
  .bild-außen {
    height: 200px;
    width: 70%;
    margin: 0 auto;
    background-size: cover;
  }

  /* Willkommenstext */
  .text-startseite {
    width: 90%;
    font-size: 80%;
  }

  /* Öffnungszeiten */
  .text-öffnungszeiten {
    width: 90%;
    font-size: 90%;
  }

  /* Galerie */
  .galerie-startseite {
    grid-template-columns: 1fr;
    width: 90%;
  }

  /* Speisekarte */
  .text-speisekarte p,
  .text-speisekarte h2,
  .text-speisekarte h3 {
    width: 90%;
  }

  /* Maps */
  .card-maps-container {
    width: 90%;
    height: auto;
  }

  .maps-container iframe {
    height: 300px;
  }

  /* Maps Titel */
  .maps-titel {
    font-size: 180%;
  }

  .hero-startseite {
    background-attachment: scroll;  /* fixed funktioniert schlecht auf Mobile */
    background-size: cover;
    background-position: center top;
  }

  .galerie-startseite {
    grid-template-columns: repeat(2, 1fr);  /* 2 Spalten */
    width: 95%;
    gap: 8px;
  }

  .galerie-startseite img {
    height: 150px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    padding: 36px 24px 28px;
    gap: 28px;
  }

  .footer-col {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 20px;
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom {
    padding: 14px 24px;
  }

}