/* ==========================================================================
   kreativpla.net - Shared Subpage Stylesheet
   Amazon Look & Feel · Montserrat lokal
   Wird von allen Kategorie-Unterseiten geladen
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Montserrat', system-ui, -apple-system, Arial, sans-serif;
  background: #eaeded;
  color: #0f1111;
  line-height: 1.5;
}

a { color: #007185; text-decoration: none; }
a:hover { color: #c7511f; text-decoration: underline; }

/* Header */
header.topbar {
  background: #131921;
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
header.topbar .logo {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
}
header.topbar .logo:hover {
  border-color: #ffffff;
  text-decoration: none;
  color: #ffffff;
}
header.topbar .logo .dot { color: #146eb4; }
header.topbar .logo .tld { color: #ff9900; }

/* Wiederverwendbare Marken-Schreibweise für den Fließtext */
.brand {
  font-weight: 600;
  color: #0f1111;
}
.brand .dot { color: #146eb4; }
.brand .tld { color: #ff9900; }
/* Wenn im dunklen Bereich (Hero) verwendet: hellgrundiger Zeichensatz */
section.category-hero .brand,
section.hero .brand { color: #ffffff; }

header.topbar .back-link {
  color: #ffffff;
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  margin-left: auto;
}
header.topbar .back-link:hover {
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

/* Sub Nav */
nav.subnav {
  background: #232f3e;
  color: #ffffff;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
nav.subnav a {
  color: #ffffff;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
}
nav.subnav a:hover {
  border-color: #ffffff;
  text-decoration: none;
}
nav.subnav a.active {
  background: #37475a;
  border-color: #ffffff;
}
nav.subnav .menu {
  font-weight: 600;
  padding-right: 12px;
}

/* Category Hero */
section.category-hero {
  background: linear-gradient(180deg, #232f3e 0%, #37475a 100%);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}
section.category-hero .icon {
  font-size: 56px;
  margin-bottom: 12px;
}
section.category-hero h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}
section.category-hero p.desc {
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto;
  color: #dddddd;
}

/* Container */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb {
  font-size: 13px;
  color: #565959;
  margin-bottom: 16px;
}
.breadcrumb a { color: #007185; }

/* Werbehinweis */
.disclosure {
  background: #fef8e7;
  border: 1px solid #f0c14b;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 0 0 24px;
  font-size: 13px;
  color: #565959;
}
.disclosure strong { color: #0f1111; }

/* Section Titles */
h2.section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
  color: #0f1111;
  border-bottom: 1px solid #d5d9d9;
  padding-bottom: 8px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.15);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(15, 17, 17, 0.2);
}
.product-card .product-image {
  background: #f7fafa;
  border: 1px dashed #d5d9d9;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a4a4;
  font-size: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.product-card .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Karten mit echtem Cover: weißer Hintergrund, kein Dashed-Border */
.product-card:not(.placeholder) .product-image {
  background: #ffffff;
  border: 1px solid #f0f2f2;
  padding: 6px;
}

/* Hover-Swap: Zweites Bild (z.B. Rautenmuster) beim Darüberfahren einblenden */
.product-card .product-image.hover-swap {
  position: relative;
  cursor: default;
}
.product-card .product-image.hover-swap .front,
.product-card .product-image.hover-swap .back {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease-in-out;
}
.product-card .product-image.hover-swap .back {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  width: auto;
  height: auto;
  max-width: calc(100% - 12px);
  max-height: calc(100% - 12px);
  opacity: 0;
  background: #ffffff;
  margin: auto;
}
.product-card .product-image.hover-swap:hover .front {
  opacity: 0;
}
.product-card .product-image.hover-swap:hover .back {
  opacity: 1;
}

/* Sichtbares Text-Label beim Hover */
.product-card .product-image.hover-swap .hover-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(19, 25, 33, 0.88);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.product-card .product-image.hover-swap:hover .hover-label {
  opacity: 1;
}
/* Klickbares Cover: Cursor + Hover-Effekt */
.product-card .product-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.product-card .product-image a:hover {
  opacity: 0.85;
}
.product-card h3 a {
  color: inherit;
  text-decoration: none;
}
.product-card h3 a:hover {
  color: #c7511f;
  text-decoration: underline;
}

/* =========================================================================
   Produkt-Detail-Seite
   ========================================================================= */

.product-detail {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 32px;
  align-items: start;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.15);
  margin-bottom: 24px;
}
.product-detail .cover-large {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}
.product-detail .cover-large img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.product-detail .info h1 {
  font-size: 26px;
  font-weight: 600;
  color: #0f1111;
  margin-bottom: 6px;
  line-height: 1.25;
}
.product-detail .info .subtitle {
  font-size: 15px;
  color: #565959;
  margin-bottom: 16px;
}
.product-detail .info .rating-large {
  color: #ff9900;
  font-size: 18px;
  margin-bottom: 12px;
}
.product-detail .info .rating-large .count {
  color: #007185;
  margin-left: 8px;
  font-size: 14px;
}
.product-detail .info .price-large {
  color: #b12704;
  font-size: 32px;
  font-weight: 600;
  margin: 12px 0 16px;
}
.product-detail .info p {
  font-size: 15px;
  color: #0f1111;
  margin-bottom: 14px;
  line-height: 1.55;
}
.product-detail .info .cta-large {
  display: inline-block;
  background: linear-gradient(180deg, #f7dfa5 0%, #f0c14b 100%);
  color: #0f1111;
  padding: 12px 28px;
  border-radius: 22px;
  border: 1px solid #a88734;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
}
.product-detail .info .cta-large:hover {
  background: linear-gradient(180deg, #f5d78e 0%, #eeb933 100%);
  text-decoration: none;
  color: #0f1111;
}

/* Rautenmuster-Block */
.rautenmuster-block {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.15);
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}
.rautenmuster-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}
.rautenmuster-block h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0f1111;
  margin-bottom: 10px;
}
.rautenmuster-block p {
  font-size: 15px;
  color: #0f1111;
  margin-bottom: 10px;
  line-height: 1.55;
}
.rautenmuster-block ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 14px;
}
.rautenmuster-block ul li {
  padding: 4px 0;
  color: #0f1111;
}
.rautenmuster-block ul li::before {
  content: "▸ ";
  color: #ff9900;
  font-weight: 700;
  margin-right: 6px;
}

/* Merkmalsliste */
.features-block {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.15);
  margin-bottom: 24px;
}
.features-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f1111;
}
.features-block ul {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}
.features-block ul li {
  padding: 8px 0;
  break-inside: avoid;
}
.features-block ul li::before {
  content: "✓ ";
  color: #007185;
  font-weight: 700;
}

/* Andere Farben Grid */
.other-colors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.other-colors a {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  color: #0f1111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.other-colors a:hover {
  border-color: #ff9900;
  box-shadow: 0 2px 6px rgba(15, 17, 17, 0.1);
  text-decoration: none;
  color: #0f1111;
}
.other-colors a img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 6px;
  border: 1px solid #f0f2f2;
  border-radius: 3px;
}

@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
  .rautenmuster-block { grid-template-columns: 1fr; }
  .features-block ul { columns: 1; }
}
.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f1111;
  line-height: 1.3;
}
.product-card p.product-desc {
  font-size: 14px;
  color: #565959;
  margin-bottom: 12px;
  flex: 1;
}
.product-card .rating {
  color: #ff9900;
  font-size: 14px;
  margin-bottom: 8px;
}
.product-card .rating .count {
  color: #007185;
  margin-left: 6px;
  font-size: 13px;
}
.product-card .price {
  color: #b12704;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.product-card .price .original {
  color: #565959;
  font-weight: 400;
  font-size: 13px;
  text-decoration: line-through;
  margin-left: 6px;
}
.product-card .cta {
  display: inline-block;
  background: linear-gradient(180deg, #f7dfa5 0%, #f0c14b 100%);
  color: #0f1111;
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid #a88734;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.product-card .cta:hover {
  background: linear-gradient(180deg, #f5d78e 0%, #eeb933 100%);
  text-decoration: none;
  color: #0f1111;
}

.product-card.placeholder {
  opacity: 0.65;
  border: 1px dashed #d5d9d9;
}

/* Weitere Kategorien */
.other-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.other-cats a {
  background: #ffffff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #d5d9d9;
  color: #0f1111;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
}
.other-cats a:hover {
  background: #f7fafa;
  border-color: #ff9900;
  text-decoration: none;
  color: #0f1111;
}
.other-cats a .icon { display: block; font-size: 28px; margin-bottom: 6px; }

/* Info Box */
.info-box {
  background: #ffffff;
  border-left: 4px solid #ff9900;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.1);
}
.info-box h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f1111;
}
.info-box p { font-size: 14px; color: #565959; }

/* Footer */
footer.foot {
  background: #232f3e;
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}
footer.foot a { color: #ffffff; margin: 0 12px; }
footer.foot .copyright {
  background: #131a22;
  color: #cccccc;
  padding: 20px;
  margin: 30px -20px -30px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  section.category-hero h1 { font-size: 24px; }
  section.category-hero .icon { font-size: 42px; }
  section.category-hero p.desc { font-size: 15px; }
}
