    /* Basis-Styles */
    #ore-body {
      font-family: Arial, sans-serif;
      background-color: #f0f0f0;
      margin: 20px auto;
      max-width: 1400px;
      padding: 0 20px;
    }

    /* Headline */
    #headline-ore {
      display: grid;
      /* 2 Spalten: Text und Bild */
      grid-template-columns: auto 80px;
      /* Bereiche benennen */
      grid-template-areas: "title logo";
      gap: 10px;
      /* das ganze Grid im Parent mittig */
      justify-content: center;
      align-content: center;
      margin-bottom: 20px;
    }

    #headline-ore h1 {
      font-size: 2rem;
      font-weight: bold;
    }

    #headline-ore img {
      width: 80px;
      height: 80px;
      object-fit: cover;
    }

   #grid-ore {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(540px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

    /* Card */
    .card-ore {
      position: relative;
      background-color: #ddd;
      border-radius: 8px;
      overflow: hidden;
      /* 16:9 Verhältnis mit größerer Grundfläche */
      aspect-ratio: 16 / 9;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    #main-ore {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

   .card-ore--main {
  width: 60%;
  aspect-ratio: 16 / 9; /* wie die anderen Karten */
}
    .card-ore-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(60%);
    }

    .card-ore-info {
      position: relative;
      color: #000;
      padding: 12px;
      text-align: center;
      background: rgba(255, 255, 255, 0.45);
    }

    .card-ore-info h2 {
      font-size: 1.4rem;
      margin-bottom: 8px;
    }

    .card-ore-info small {
      display: block;
      font-size: 1rem;
      margin-bottom: 12px;
    }

    /* Button Styling mit Klick-Animation */
    .button-ore {
      padding: 10px 20px;
      font-size: 1.1rem;
      font-weight: bold;
      color: #000;
      background-color: #6c0;
      border: 2px solid #000;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.2s, transform 0.1s, box-shadow 0.1s;
      box-shadow: 0 4px 0 #000;
    }

    .button-ore:hover {
      background-color: #5a0;
    }

    .button-ore:active {
      transform: translateY(2px);
      box-shadow: 0 2px 0 #000;
    }

/* In assets/css/ore.css ergänzen */
#ore-prices {
  padding: 2rem;
}

.ore-listing {
  display: flex;
  flex-wrap: wrap;          /* erlaubt Umbruch auf neue Zeile */
  gap: 1rem;                /* gleichbleibender Abstand */
  justify-content: center;  /* zentriert jede Zeile */
  /* entferne overflow-x und no-wrap */
  /* overflow-x: auto; */
  /* flex-wrap: nowrap; */
}

.ore-item {
  background: rgba(249, 249, 249, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  flex: 1 1 150px;        
  max-width: 200px;
}

.ore-item img {
  max-width: 64px;
  height: auto;
  margin-bottom: 0.5rem;
}

.ore-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.ore-price {
  color: #333;
}

/* Wrapper um die Preise – kein Hintergrundbild mehr */
#ore-prices-section {
  padding: 2rem 0;
}
.card-ore--prices {
  background-color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
}

/* Grid: immer 6 Spalten, unbegrenzt nach unten */
.ore-listing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  /* wächst automatisch in der Höhe, wenn mehr Items da sind */
}

/* Item-Größen verkleinern */
.ore-item {
  text-align: center;
  padding: 0.5rem;
}
.ore-item img {
  display: block;
  margin: 0 auto 0.25rem;
  max-width: 48px;
  height: auto;
}
.ore-name {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.ore-price {
  font-size: 0.75rem;
  color: #555;
}
/* ----------------------------
   Preise‑Card (an main-ore angelehnt)
   ---------------------------- */
.price-card {
  width: 60%;              /* genauso breit wie main-ore */
  aspect-ratio: auto;      /* Höhe passt sich dem Inhalt an */
  border-radius: 8px;      /* gleiche Ecken wie main-ore */
  overflow: hidden;        /* runde Ecken für Inhalte */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hintergrundbild und dunkles Overlay nehmen wir unverändert */
.price-card .card-ore-bg {
  filter: brightness(50%);
}

/* Innerer Container für Preise */
.price-container {
  position: relative;
  padding: 1.5rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}

/* Grid: immer 6 Spalten, flexibel nach unten */
.ore-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Responsive Grid für kleinere Bildschirme */
@media (max-width: 1200px) {
  .ore-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .ore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }
  
  .ore-item {
    gap: 0.5rem;
    padding: 0.4rem;
    min-height: 55px; /* Angepasste Mindesthöhe für mobile */
  }
  
  .ore-item img {
    max-width: 40px;
  }
  
  .ore-name {
    font-size: 0.8rem;
    line-height: 1.15;
  }
  
  .ore-price {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .ore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  
  .ore-item {
    gap: 0.4rem;
    padding: 0.3rem;
    min-height: 50px; /* Angepasste Mindesthöhe für sehr kleine Bildschirme */
  }
  
  .ore-item img {
    max-width: 32px;
  }
  
  .ore-name {
    font-size: 0.75rem;
    line-height: 1.1;
  }
  
  .ore-price {
    font-size: 0.65rem;
  }
}

/* Kompakte Item-Größen */
.ore-item {
  display: flex;
  align-items: flex-start; /* Oben ausrichten für mehrzeiligen Text */
  gap: 0.75rem;
  background: rgba(249,249,249,0.8);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: left;
  min-width: 0; /* Erlaubt Flex-Shrinking für Text */
  min-height: 60px; /* Mindesthöhe für konsistente Darstellung */
}
.ore-item img {
  max-width: 48px;
  height: auto;
  flex-shrink: 0;
  margin: 0;
}
.ore-name {
  font-size: 0.875rem;
  margin: 0;
  font-weight: bold;
  word-wrap: break-word;
  line-height: 1.2;
  max-width: 100%;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  lang: de; /* Deutsche Silbentrennung */
}
.ore-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* Erlaubt Flex-Shrinking */
  flex: 1; /* Nimmt verfügbaren Platz ein */
}
.ore-price {
  font-size: 0.75rem;
  color: #333;
  margin-top: 0.25rem;
  word-wrap: break-word;
  line-height: 1.1;
}
#h2prices{
  text-align: center;
}

/* ----------------------------
   Ladekreis/Spinner Styles
   ---------------------------- */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #6c0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-overlay.hidden {
  display: none;
}

/* Button disabled state */
.button-ore:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.button-ore:disabled:hover {
  background-color: #ccc;
}

.button-ore:disabled:active {
  transform: none;
  box-shadow: 0 4px 0 #000;
}

/* ----- Ostermesser Gewinner Styles ----- */
#ticket-ratio-section {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.ticket-ratio-container {
  width: 60%; /* Gleiche Breite wie die main-ore Karten */
  max-width: 600px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid #FFD700;
}

.ticket-ratio-text {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ostermesser-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Pagination Styles */
.pagination {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination button {
  padding: 5px 10px;
  border: 1px solid #000;
  background-color: #6c0;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}