
:root {
  --gold: #b5905b;
  --dark: #282828;
  --light: #ffffff;
  --text: #dddddd;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Roboto', sans-serif;
}

/* Höhe der fixen Kopfzeile (falls noch nicht gesetzt) */
:root { --header-h: 100px; }

/* Platz unter dem fixen Header schaffen */
body.shop { 
  padding-top: calc(var(--header-h) + 12px);
}

/* Optional: direkt den Hero/Slider verschieben, falls du body-Padding nicht magst */
.header-hero { 
  margin-top: calc(var(--header-h) + 12px);
}

/* === Navigation für Shopsite === */






/* == ENDE Überschreiben Rootsite == */

body.shop {
  font-family: var(--font-sans);
  background: #f9f9f9;
  margin: 0;
  padding: 0rem;
  color: #333;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #222;
}

a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.content {
  padding: 1rem;
  /* background: var(--dark); */
}

/* Text statt Overlay */


.hero-text-block h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold)
}

.hero-text-block p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-text-block .hero-btn {
  background: #28a745;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
}

.hero-text-block .hero-btn:hover {
  background: #218838;
}

/* Slider-Navigation ausblenden */

.hidden {
  display: none;
}


/* Produkte */
.produktliste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.produkt {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.produkt img {
  max-width: 100%;
  height: auto;
}
label {
  font-weight: bold;
  margin-right: 1rem;
}

select, input[type="number"] {
  padding: 0.4rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin: 0.5rem 0;
}

.produktliste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.produkt {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.produktbild {
  position: relative;
  width: 100%;
}
.produktbild img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 200px;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: crimson;
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: bold;
}

.badge-hit {
  background: goldenrod;
  top: 10px;
  right: 10px;
  left: auto;
}

.produktinfo {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.produktinfo h2 {
  margin: 0;
  font-size: 1.2rem;
}

.beschreibung {
  font-size: 0.9rem;
  color: #555;
}

.preis {
  font-size: 1.3rem;
  color: #28a745;
  font-weight: bold;
}

.verfuegbar {
  font-size: 0.9rem;
  color: #777;
}

.beliebtheit {
  font-size: 0.9rem;
  color: #f0ad4e;
  font-weight: 500;
}



.produkt:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.produkt img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.produkt h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.produkt p {
  margin: 0.4rem 0;
  line-height: 1.4;
}

label {
  font-weight: bold;
  margin-right: 1rem;
}

select, input[type="number"] {
  padding: 0.4rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin: 0.5rem 0;
}


form {
  margin-top: 1rem;
}

button {
  background-color: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-weight: bold;
}

button:hover {
  background-color: #218838;
}

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

a {
  display: block;
  /* margin: 2rem auto 0; */
  text-align: center;
  text-decoration: none;
  /* background: #007bff; */
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  width: fit-content;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

/*
a:hover {
  background-color: #0056b3; /* deaktiviert wegen Menülayout
}
*/


/* === Hero / Slider (index.php) ========================================== */

/* .header-hero { margin: 0; padding: clamp(8px, 2vw, 20px); } */

.slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  background: #000;
}

/* Höhe/Auflösung: 21:9 auf Desktop, etwas höher auf Mobile */
.slides {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 260px;
}
@media (max-width: 900px) {
  .slides { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .slides { aspect-ratio: 4 / 3; }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;          /* nur aktive Slide klickbar */
}
.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

/* dezenter Verlaufs-Overlay für Textlesbarkeit */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.1) 100%);
  z-index: 1;
}

/* Text-Block auf dem Bild */
.hero-text-block {
  position: absolute;
  left: clamp(12px, 5vw, 64px);
  bottom: clamp(12px, 5vw, 64px);
  z-index: 2;                    /* über dem Overlay */
  color: #fff;
  max-width: min(60ch, 92vw);
  backdrop-filter: saturate(120%) blur(4px);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: clamp(10px, 1.8vw, 16px) clamp(12px, 2.2vw, 20px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.hero-text-block h1 {
  margin: 0 0 6px;
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.15;
}
.hero-text-block p {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  opacity: .95;
}
.hero-text-block .btn {
  margin-top: 10px;
  display: inline-block;
}

/* Navigation-Pfeile */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;                    /* über allem */
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform .1s ease, background .2s ease, border-color .2s ease;
}
.slider-btn:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.6); }
.slider-btn:active { transform: translateY(-50%) scale(.98); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

/* Dots */
.dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
}
.dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.35);
  padding: 0;
  cursor: pointer;
}
.dots button.active {
  width: 22px;
  background: #fff;
  border-color: #fff;
  transition: width .25s ease;
}

/* Dark/Light verträgt sich bereits, kein extra Theme nötig */
