/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(100deg, #969696, #b48d68);
  min-height: 100vh;
  padding: 2rem;
  color: white;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Suchfeld */
#searchInput {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.356);
  color: rgb(236, 186, 119);
  backdrop-filter: blur(5px);
}

/* Grid */
#coffeeList {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0;
}

/* Glassbox mit Bild + Name */
.coffee-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.coffee-box:hover {
  transform: scale(1.03);
}

.coffee-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 0.8rem;
}

.coffee-box h3 {
  font-size: 1.1rem;
  margin: 0;
  color: rgb(223, 191, 161);
}

img{
  min-width:100px;
  max-width:500px;
  min-height: auto;
  max-height: 350px;
  }

  /* ---------- Liquid‑Glass Home Button ---------- */
.glass-btn {
  position: fixed;               /* stay on screen */
  top: 1rem;                     /* 16px from top */
  left: 1rem;                    /* 16px from left */
  width: 48px;                   /* 3rem */
  height: 48px;                  /* 3rem */
  border-radius: 12px;           /* rounded corners */
  background: rgba(255, 255, 255, 0.12); /* translucent white */
  backdrop-filter: blur(12px);   /* glassy blur */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 1000;                 /* above everything else */
}

/* Hover / active effects */
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.glass-btn:active {
  transform: translateY(0);
}

/* Icon size */
.glass-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;            /* white house icon */
}

/* Optional dark‑mode tweak – use CSS vars if you already have them */
@media (prefers-color-scheme: dark) {
  .glass-btn {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .glass-btn svg { fill: #fff; }
}
