/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body – Hintergrund und Text */
body {
  background: #eeece2;
  color: #000000;
  font-family: sans-serif;
}

/* Header, Navigation, Footer full-width */
.site-header,
.site-nav,
footer {
  width: 100%;
  background: transparent;
  /*background: #eeece2;*/
  color: #000000;
}

/* Header */
.site-header {
  position: relative;
  padding: 1rem;
  background: #eeece2;
  color: #000000;
}

/* Branding-Block zentriert */
.site-header__branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Burger-Button absolut links, nur mobil sichtbar */
.nav-toggle {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000000;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}


/* Navigation */
.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem;
}
.site-nav a {
  color: #000000;
}
.site-nav li.active a {
  font-weight: bold;
  text-decoration: underline;
}

/* Page-Layout */
/* äußere Fläche transparent, damit Body-Hintergrund durchscheint */
.container {
  width: 100%;
  background: transparent;
}
/* innere Spalte – mittig zentriert */
.page-content {
  width: fit-content;
  max-width: 100%;
  margin: 2rem auto;
  padding: 1rem;
  background: #f8f7f2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Links */
a {
  color: #0b7ab1;
  text-decoration: none;
}
a:hover {
  color: #660036;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #eeece2;
  color: #000000;
}

.site-footer__logo {
  margin-bottom: 1rem;
}

.site-footer__quote {
  font-style: italic;
  margin: 1rem 0;
  color: #FA0514; /* oder zieh es aus deiner Datenbank */
}

.site-footer__legal,
.site-footer__social {
  margin: 0.5rem 0;
}

.site-footer__legal a,
.site-footer__social a {
  color: #0b7ab1;
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-footer__legal a:hover,
.site-footer__social a:hover {
  color: #660036;
}


/* Mobile-Responsive */
@media (max-width: 768px) {
  /* Burger anzeigen */
  .nav-toggle {
    display: block;
  }
  /* Navigation standard verstecken */
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem;
  }
  /* Navigation einblenden, wenn body.nav-open */
  body.nav-open .site-nav {
    display: block;
  }
  /* Vertikale Menü-Liste */
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Kontaktformular */
.kontaktformular-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.kontaktformular {
  max-width: 600px;
  width: 100%;
  background: #f8f7f2;
  padding: 2rem;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.kontaktformular h2,
.kontaktformular p {
  text-align: center;
}

/* Chat */
.chat-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.chat {
  max-width: 600px;
  width: 100%;
  background: #f8f7f2;
  padding: 2rem;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.chat h2,
.chat p {
  text-align: center;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c06000;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.button:hover {
  background-color: #a04d00;
}

.site-nav ul {
  list-style: none;
  padding: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  margin: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-block;
  background-color: #c49a6c;
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.site-nav a:hover {
  background-color: #a87c4f;
  transform: scale(1.05);
}

.site-nav li.active a {
  background-color: #6b3e1e;
  box-shadow: 0 0 0 2px #fff inset;
}
@media (max-width: 768px) {
  .grafik-links,
  .grafik-rechts,
  .grafik-mittelinks {
    display: none !important;
	position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #f8f7f2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 99;
  }

  body.nav-open .site-nav {
    display: block !important;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

/* Bonuskunde */

[hidden] {
    display: none !important;
}

.bonus-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.bonus-box {
    width: 90%;
    max-width: 800px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.bonus-box h1 {
    text-align: center;
    margin-bottom: 25px; 
	}
	
.card {
background: #f8f8f8;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
margin-bottom: 15px;
}

#belegPopup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

#popupFenster {
    background: white;
    width: 90%;
    max-width: 700px;

    padding: 20px;

    border-radius: 10px;
}

#popupSchliessen {
    float: right;
    cursor: pointer;
    font-size: 30px;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.popup-overlay:not([hidden]) {
    display: flex;
}

.popup-overlay.popup-offen {
    display: flex;
}

.popup-fenster {
    position: relative;

    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;

    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.popup-fenster h2 {
    margin-top: 0;
    padding-right: 40px;
}

.popup-schliessen {
    position: absolute;
    top: 10px;
    right: 15px;

    padding: 0;
    color: #333333;
    background: transparent;
    border: 0;

    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.beleg-kopf {
    padding-bottom: 12px;
    border-bottom: 1px solid #dddddd;
}

.beleg-position {
    padding: 14px 0;
    border-bottom: 1px solid #e2e2e2;
}

.beleg-position__daten {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 6px;
}

.beleg-summe {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #333333;

    font-size: 1.1rem;
}

.bonusartikel {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;

    color: #ffffff;
    background: #8b5a2b;
    border-radius: 5px;

    font-size: 0.8rem;
}

.beleg-position__retoure,
.beleg-retourniert {
    margin-top: 7px;
    color: #b00020;
    font-weight: bold;
}

  }
}