* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "NeoGeo", sans-serif;
  background-color: #f6f5f3;
  color: #1a1a1a;
  padding-top: 100px; /* Platz für Header */
  padding-bottom: 100px; /* Platz für Footer */
}

/* Container */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Überschriften & Texte */
h1, h2 {
  font-weight: 400;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Allgemeine Buttons */
button {
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 5px;
}

button:hover {
  opacity: 0.85;
}

/* Quiz-Fragen */
.question {
  margin-bottom: 2rem;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.answers button {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
}

.answers button:hover {
  background-color: #1a1a1a;
  color: #fff;
}

/* Navigation */
.nav {
  margin-top: 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo {
  height: 60px;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0d15ed; /* passend zum Stil */
  text-align: center;
  padding: 1rem 0;
  font-family: "NeoGeo", sans-serif;
  font-size: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Ergebnisbereich */
#resultContainer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* Bohnen Cards */
.bean-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bean-result:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.bean-img {
  width: 160px;
  height: auto;
  margin-bottom: 0.5rem;
}

.bean-result h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.bean-result p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  padding: 0 0.5rem;
}

/* Ergebnis-Buttons */
#result section button {
  margin: 0.5rem 0;
  width: 200px;
}

#result button:first-of-type {
  background-color: #0d15ed;
  color: #fff;
}

#result button:first-of-type:hover {
  opacity: 0.9;
}

#result button:last-of-type {
  background-color: #1a1a1a;
  color: #fff;
}

#result button:last-of-type:hover {
  opacity: 0.85;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .bean-img {
    width: 120px;
  }

  #result button {
    width: 100%;
  }
}
