/* =================== Grund-Layout =================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #fdfcf9, #f2f0eb);
  color: #333;
}

a {
  color: #b07c8c;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #883355;
}

p {
  line-height: 1.6;
  font-size: 1.05em;
}

h1, h2 {
  color: #5a4a3f;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: none;
}
h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
}

main {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
/* Klasse für den versteckten Header */
.hide-header {
  display: none;
}

/* Standardmäßig wird der Header angezeigt */
header {
  transition: all 0.3s ease;
}
/* =================== Header mit Slideshow =================== */
.hero-header {
  position: relative;
  width: 100%;
  height: 180px;
  /*background: url("/assets/images/header.jpg") center/cover no-repeat;*/
  background-color: #999999;
  overflow: hidden;
}
.slideshow-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-overlay img {
  /*max-height: 80%;
  max-width: 80%;*/
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-caption {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  padding: 4px 20px;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
}
.hero-caption h2 {
  color: #fff !important;
  margin: 6px;
}

.site-logo {
  position: absolute;
  top: -36px;
  width: 258px;
  height: auto;
  z-index: 10;
}

.site-logo-gallery{
  max-width: 100px;
  margin-left: 12%;
}

.gallery-item {
  width: 20%;
  display: inline-block;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.gallery-item-title {
  font-size: 1rem;
  margin-top: 10px;
}
    
/* =================== Kategorie-Buttons =================== */
.category-buttons {
  display: flex;            /* alle Buttons in eine Zeile */
  justify-content: center;  /* mittig ausrichten */
  gap: 2px;                /* Abstand zwischen Buttons */
  flex-wrap: wrap;          /* falls zu viele, dürfen sie umbrechen */
  /*max-width: 900px;*/
  margin: 3px;
}

.category-buttons button {
  font-size: 1.2em;
  padding: 12px 20px;
  border: 2px solid #555;
  border-radius: 10px;
  background-color: #f6f2e8;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.category-buttons button:hover {
  background-color: #e3dccf;
  border-color: #aa00aa;
  color: #aa00aa;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}


/* =================== Buttons allgemein =================== */
button {
  font-size: 1.2em;
  padding: 10px 28px;
  margin: 4px;
  border: 2px solid #d4cfc4;
  border-radius: 8px;
  background-color: #f6f2e8;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #444;
  padding-left: 9px;
}
button:hover {
  background-color: #eae6db;
  border-color: #c0b9aa;
  color: #222;
}

/* =================== Galerie =================== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.gallery-item {
  flex: 0 0 calc(50% - 16px);
  box-sizing: border-box;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.buy-button {
  display: inline-block;
  padding: 6px 12px;
  font-size: 1.1em;
  border: 1px solid #888;
  border-radius: 6px;
  background-color: #f8f8f8;
  text-decoration: none;
  color: #333;
}
.buy-button:hover {
  background-color: #eee;
  border-color: #aa00aa;
  color: #aa00aa;
}

.video {
  width: 97% !important;

}
/* =================== Intro mit Buchhintergrund =================== */
.intro-book {
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.intro-image {
  float: left;
  width: 45%;
  text-align: center;
  padding-top: 30px;
}
.intro-image img {
  max-width: 70%;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 18px rgba(0,0,0,1.2);
}
.intro-text {
  float: right;
  width: 55%;
  text-align: left;
}
.intro-text h2 {
  margin-top: 0;
  color: #5a4a3f;
}

/* =================== Category Showcase =================== */
.category-showcase {
  max-width: 75%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.showcase-block {
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.showcase-block h2 {
  margin-bottom: 10px;
  color: #fff;
  margin-top: 3px;
  margin-bottom: 6px;
}

.showcase-images {
  /*display: flex;*/
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.showcase-images img {
  width: 80%;
  border-radius: 8px;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.3),
    0 12px 24px rgba(0, 0, 0, 0.25),
    0 18px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-images img:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 30px 60px rgba(0, 0, 0, 0.25);
}



.more-link {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Farben für die Blöcke */
.ring-block    { background: #a0522d; }
.armband-block { background: #006699; }
.kette-block   { background: #993366; }
.ohrring-block  { background: #228b22; }

/* =================== Top-Suchleiste =================== */
.top-searchbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.top-searchbar .container {
  max-width: 90%;
  margin: 0px 17%;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-searchbar form {
  flex: 1;
  /*display: flex;*/
  gap: 8px;
}
.top-searchbar input[type="search"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.top-searchbar button {
  padding: 2px 10px;
  border-radius: 999px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}
.top-searchbar button:hover {
  background: #111;
}

/* =================== Lightbox =================== */
#lightbox {
  display: none;              /* Standardmäßig unsichtbar */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox.show {
  display: flex;              /* Nur anzeigen, wenn "show" Klasse hinzugefügt wird */
}

#lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2em;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 50%;
  padding: 5px 12px;
  cursor: pointer;
  z-index: 10;
}


#lightbox-content {
  position: relative;
  display: inline-block; /* damit sich Zurück und Bild aufeinander beziehen */
}

#lightbox img {
  max-width: 70%;
  max-height: 70%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  display: block;
}


#lightbox-back {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.3em;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  z-index: 10;
}

#lightbox-back:hover {
  background: rgba(0,0,0,0.8);
}
/* kleine Styles für Buttons */
.buy-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.btn { padding:.65rem 1rem; border:none; border-radius:10px; cursor:pointer; font-weight:600; }

.btn-invoice { background:#f1efee; }
.btn:disabled { opacity:.5; cursor:not-allowed; }
.info-note { font-size:0.9em; color:#555; margin:10px 0 0; }

.side-by-side {
  display: flex;
  justify-content: center; /* mittig ausrichten */
  gap: 20px; /* Abstand zwischen Bildern */
  margin-bottom: 15px;
}

.side-by-side img {
  max-width: 45%; /* beide Bilder passen nebeneinander */
  height: auto;
  border-radius: 6px; /* optional, abgerundete Ecken */
}

