/* -------------------- Archiv Buttons -------------------- */
.recipe-archive {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;           
  flex-wrap: wrap;         
  justify-content: center; 
  gap: 12px;               
}

.recipe-archive li {
  display: flex;  /* li ist flex, damit Button darin korrekt angezeigt wird */
}

.rezept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 10px;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  color: #E2D07A;
  background-color: #626262;
  border: 2px solid #E2D07A;
  transition: all 0.3s ease;
}

.rezept-button:hover {
  background-color: #E2D07A;
  color: #2f2f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* -------------------- Mobile Ansicht -------------------- */
@media (max-width: 600px) {
  .recipe-archive {
    flex-direction: column;   /* Buttons untereinander */
    align-items: center;      /* zentrieren */
    gap: 10px;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .recipe-archive li {
    width: 100%;              /* li auf volle Breite */
    justify-content: center;  /* Button zentriert */
  }
  .back-link {
    padding: 0 10px;
    box-sizing: border-box;
  }
}

/* -------------------- Basis -------------------- */
body {
  margin: 0;
  font-family: "Georgia", serif;
  color: #fff;
  background: url("rezept/recette.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Overlay */
body::after {
  content: "";
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(30,30,30,0.4);
  z-index: -1;
}

/* Header */
header {
  text-align: center;
  padding: 30px 15px;
  background: rgba(70,70,70,0.88);
}
header h1 {
  margin: 0 0 10px 0;
  font-style: italic;
}
header p {
  margin:0;
  font-style: italic;
  font-size: 1rem;
}

/* -------------------- Zurück-Link -------------------- */
.back-link {
  text-align: center;
  margin: 15px 0;
}
.back-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  color: #E2D07A;           /* Goldschrift */
  background-color: #626262; /* Dunkelgrau */
  border: 2px solid #E2D07A;
  transition: all 0.3s ease;
}
.back-link a:hover {
  background-color: #E2D07A; /* Gold */
  color: #2f2f2f;            /* Schwarz */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
@media (hover: none) {
  .back-link a:hover {
    transform: none;
    box-shadow: none;
    background-color: #626262;
    color: #E2D07A;
  }
}

/* -------------------- Archiv Buttons -------------------- */
.recipe-archive {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;            /* Flexbox aktivieren */
  flex-wrap: wrap;          /* Zeilenumbruch bei kleinen Bildschirmen */
  justify-content: center;  /* Zentrieren */
  gap: 12px;                /* Abstand zwischen Buttons */
}

.recipe-archive li {
  display: flex;            /* Damit Button innerhalb von li Flex-Eigenschaften hat */
}

.rezept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 10px;
  font-style: italic;
  font-weight: 600;
  text-decoration: none;
  color: #E2D07A;           /* Goldschrift */
  background-color: #626262; /* Dunkelgrau */
  border: 2px solid #E2D07A;
  transition: all 0.3s ease;
}

.rezept-button:hover {
  background-color: #E2D07A; /* Gold */
  color: #2f2f2f;            /* Schwarz */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Ansicht */
@media (max-width: 600px) {
  .recipe-archive {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .recipe-archive li {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------- Footer -------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: #2f2f2f;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-style: italic;
}

.site-footer a {
  color: #E2D07A;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

@media (min-width: 600px) {
  .site-footer .footer-content {
    flex-direction: row;
    justify-content: center;
  }
}footer.site-footer {
  background: #2f2f2f;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-style: italic;
  font-weight: 600;
  margin-top: auto;
}
footer.site-footer a {
  color: #E2D07A;
  text-decoration: none;
}
footer.site-footer a:hover {
  color: #fff;
}

#visitor-counter-footer {
  color: #E2D07A;
  font-weight: 700;
}

/* Mobile Ansicht */
@media (max-width: 600px) {
  .recipe-archive {
    flex-direction: column;   /* Buttons untereinander */
    align-items: center;      /* zentrieren */
    gap: 10px;
    max-width: 100%;          /* nicht breiter als Bildschirm */
    padding: 0 10px;          /* etwas Abstand links/rechts */
    box-sizing: border-box;   /* Padding berücksichtigt */
  }
  .recipe-archive li {
    max-width: 100%;          /* Button nicht breiter als Container */
    justify-content: center;  /* Button zentriert */
  }
  .back-link {
    padding: 0 10px;          /* gleiche horizontale Abstände */
    box-sizing: border-box;
  }
}
