/* ============================================================================
   SEO Content Styling — Abenteuerladen.de
   Page-Header, Top/Bottom-Text Container, FAQ-Accordion, Pagination
   Brand-Farben: Gelb/Orange Gradient #f9cb60→#fba73f, Brand-Blau #03b7ed
   ============================================================================ */

/* Override: Shop-Theme setzt alle Headlines auf uppercase — für lange W-Fragen
   und Beratungstexte unleserlich. SEO-Bereiche kriegen normale Case-Sensitivity. */
.seo-page-header h1,
.seo-page-header h2,
.seo-page-header h3,
.seo-top-text h2,
.seo-top-text h3,
.seo-bottom-text h2,
.seo-bottom-text h3,
.seo-bottom-text h4,
.seo-faq h2,
.seo-faq h3,
.seo-faq summary {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ---- 1) Page-Header / Hero ------------------------------------------------ */
.seo-page-header {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
  border-radius: 4px;
  border-top: 4px solid #03b7ed;
  margin: 16px 0 20px;
  overflow: hidden;
  position: relative;
}

.seo-page-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
}

.seo-page-header__content {
  flex: 1 1 auto;
  min-width: 0;
}

.seo-page-header__h1 {
  margin: 6px 0 0;
  color: #2c2c2c;
  font: 700 30px/1.25 "Open Sans", Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

.seo-page-header__image {
  flex: 0 0 auto;
  max-width: 320px;
}

.seo-page-header__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Breadcrumb in Header */
.seo-page-header .breadcrump,
.seo-page-header ol.breadcrump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 400 13px/1.4 "Open Sans", Helvetica, Arial, sans-serif;
  color: #888;
}

.seo-page-header .breadcrump li {
  display: flex;
  align-items: center;
}

.seo-page-header .breadcrump li + li:before {
  content: "›";
  margin-right: 6px;
  color: #ccc;
}

.seo-page-header .breadcrump a {
  color: #03b7ed;
  text-decoration: none;
}

.seo-page-header .breadcrump a:hover {
  text-decoration: underline;
  color: #0291bb;
}

/* ---- 2) Top-Text Container (Einleitung über Produkten) ------------------- */
.seo-top-text {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
  border-radius: 4px;
  padding: 24px 32px;
  margin: 0 0 20px;
  font: 400 15px/1.65 "Open Sans", Helvetica, Arial, sans-serif;
  color: #444;
  position: relative;
}

.seo-top-text:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #03b7ed;
  border-radius: 4px 0 0 4px;
}

.seo-top-text p {
  margin: 0 0 14px;
}

.seo-top-text p:last-child {
  margin-bottom: 0;
}

.seo-top-text strong {
  color: #2c2c2c;
  font-weight: 700;
}

.seo-top-text a {
  color: #03b7ed;
  text-decoration: none;
}

.seo-top-text a:hover {
  text-decoration: underline;
}

/* ---- 3) Bottom-Text Container (W-Fragen / Ratgeber unter Produkten) ----- */
.seo-bottom-text {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
  border-radius: 4px;
  padding: 32px 40px;
  margin: 20px 0;
  font: 400 15px/1.7 "Open Sans", Helvetica, Arial, sans-serif;
  color: #444;
}

.seo-bottom-text > h2 {
  position: relative;
  margin: 36px 0 16px;
  padding: 0 0 10px 0;
  color: #2c2c2c;
  font: 700 22px/1.3 "Open Sans", Helvetica, Arial, sans-serif;
  border-bottom: 1px solid #ececec;
}

.seo-bottom-text > h2:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 3px;
  background: #03b7ed;
}

.seo-bottom-text > h2:first-child {
  margin-top: 0;
}

.seo-bottom-text h3 {
  margin: 22px 0 10px;
  color: #2c2c2c;
  font: 600 17px/1.4 "Open Sans", Helvetica, Arial, sans-serif;
}

.seo-bottom-text p {
  margin: 0 0 14px;
}

.seo-bottom-text ul,
.seo-bottom-text ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.seo-bottom-text li {
  margin: 0 0 8px;
}

.seo-bottom-text li strong,
.seo-bottom-text p strong {
  color: #2c2c2c;
  font-weight: 700;
}

.seo-bottom-text a {
  color: #03b7ed;
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 183, 237, .25);
  transition: border-color .15s ease, color .15s ease;
}

.seo-bottom-text a:hover {
  color: #0291bb;
  border-bottom-color: #0291bb;
}

.seo-bottom-text table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .06);
}

.seo-bottom-text table th,
.seo-bottom-text table td {
  padding: 11px 14px;
  border-bottom: 1px solid #ececec;
  text-align: left;
}

.seo-bottom-text table th {
  background: #03b7ed;
  color: #fff;
  font-weight: 700;
  border-bottom-color: #0291bb;
}

.seo-bottom-text table tr:last-child td {
  border-bottom: none;
}

.seo-bottom-text table tr:nth-child(even) td {
  background: #fafafa;
}

/* ---- 4) FAQ-Accordion ---------------------------------------------------- */
.seo-faq {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
  border-radius: 4px;
  padding: 28px 32px;
  margin: 20px 0;
}

.seo-faq > h2 {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 10px;
  color: #2c2c2c;
  font: 700 24px/1.3 "Open Sans", Helvetica, Arial, sans-serif;
  border-bottom: 1px solid #ececec;
}

.seo-faq > h2:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 3px;
  background: #03b7ed;
}

.seo-faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin: 0 0 8px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.seo-faq-item:last-child {
  margin-bottom: 0;
}

.seo-faq-item[open] {
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .08);
  border-color: #03b7ed;
}

.seo-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  font: 600 15px/1.45 "Open Sans", Helvetica, Arial, sans-serif;
  color: #2c2c2c;
  background: #fafafa;
  list-style: none;
  user-select: none;
  transition: background .15s ease;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::marker {
  display: none;
}

.seo-faq-item summary:hover {
  background: #f3f3f3;
}

.seo-faq-item summary:after {
  content: "+";
  font: 700 24px/1 "Open Sans", Helvetica, Arial, sans-serif;
  color: #03b7ed;
  margin-left: 12px;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 183, 237, .12);
  transition: all .2s ease;
}

.seo-faq-item[open] summary {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.seo-faq-item[open] summary:after {
  content: "−";
  background: #03b7ed;
  color: #fff;
}

.seo-faq-item > div {
  padding: 18px 20px 22px;
  color: #555;
  font: 400 14.5px/1.7 "Open Sans", Helvetica, Arial, sans-serif;
}

.seo-faq-item [itemprop="text"] {
  margin: 0;
}

/* ---- 4b) Quick-Filter Kacheln (Marken-Logos + Shortcuts) ----------------- */
.seo-quick-filters {
  margin: 0 0 20px;
}

.seo-quick-filters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.seo-qf-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 170px;
  padding: 22px 18px;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);
  border-radius: 4px;
  color: #2c2c2c;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.seo-qf-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px 0 rgba(0, 0, 0, .15);
  border-color: #03b7ed;
  text-decoration: none;
  color: #2c2c2c;
}

.seo-qf-tile.is-highlight {
  background: #03b7ed;
  color: #fff;
  box-shadow: 0 2px 6px 0 rgba(3, 183, 237, .3);
}

.seo-qf-tile.is-highlight:hover {
  background: #0291bb;
  color: #fff;
  border-color: transparent;
}

.seo-qf-tile__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
}

.seo-qf-tile__media img {
  max-width: 80%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.seo-qf-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font: 700 22px/1 "Open Sans", Helvetica, Arial, sans-serif;
  color: #03b7ed;
  background: rgba(3, 183, 237, .12);
  border-radius: 50%;
}

.seo-qf-tile.is-highlight .seo-qf-tile__icon {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.seo-qf-tile__label {
  display: block;
  font: 600 13px/1.35 "Open Sans", Helvetica, Arial, sans-serif;
  letter-spacing: 0.01em;
}

.seo-qf-tile--filter .seo-qf-tile__label {
  font-size: 14px;
}

/* Kategorie-Headline über dem Label (z.B. "Menge" über "2000er Kiste") */
.seo-qf-tile__category {
  display: block;
  font: 700 22px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
  color: #2c2c2c;
  margin: 0 0 -6px;
}

.seo-qf-tile.is-highlight .seo-qf-tile__category {
  color: #fff;
}

.seo-qf-tile.is-textonly .seo-qf-tile__category + .seo-qf-tile__label {
  font: 500 15px/1.35 "Open Sans", Helvetica, Arial, sans-serif;
  color: #555;
  letter-spacing: 0;
}

.seo-qf-tile.is-highlight.is-textonly .seo-qf-tile__category + .seo-qf-tile__label {
  color: rgba(255, 255, 255, .9);
}

/* Text-only Tile (Brand ohne Logo): Markenname groß und zentriert */
.seo-qf-tile.is-textonly .seo-qf-tile__label {
  font: 700 22px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
  color: #2c2c2c;
}

.seo-qf-tile.is-textonly:hover .seo-qf-tile__label {
  color: #03b7ed;
}

/* Responsive Grid */
@media (max-width: 1100px) {
  .seo-quick-filters__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .seo-quick-filters__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .seo-qf-tile {
    min-height: 140px;
    padding: 16px 12px;
  }

  .seo-qf-tile__media {
    height: 56px;
  }
}

/* ---- 5) Pagination ------------------------------------------------------- */
.pagination-seo {
  margin: 24px 0 0;
  text-align: center;
}

.pagination-seo .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-seo .pagination li {
  display: block;
}

.pagination-seo .pagination a,
.pagination-seo .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font: 600 14px/1 "Open Sans", Helvetica, Arial, sans-serif;
  color: #2c2c2c;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  text-decoration: none;
  transition: all .15s ease;
}

.pagination-seo .pagination a:hover {
  background: #e6f7fd;
  border-color: #03b7ed;
  color: #0291bb;
}

.pagination-seo .pagination li.active span {
  background: #03b7ed;
  border-color: #03b7ed;
  color: #fff;
  font-weight: 700;
}

.pagination-seo .pagination li.ellipsis span {
  border-color: transparent;
  background: transparent;
  color: #888;
}

.pagination-seo .pagination li.page-prev a,
.pagination-seo .pagination li.page-next a {
  font-weight: 700;
}

.pagination-info {
  margin: 12px 0 0;
  color: #888;
  font: 400 13px/1.4 "Open Sans", Helvetica, Arial, sans-serif;
}

/* ---- 6) Anchor-Offset für Sticky-Header (falls vorhanden) ---------------- */
.seo-bottom-text > h2[id] {
  scroll-margin-top: 80px;
}

/* ---- 7) Responsive ------------------------------------------------------- */
@media (max-width: 768px) {
  .seo-page-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
  }

  .seo-page-header__image {
    max-width: 100%;
  }

  .seo-page-header__h1 {
    font-size: 22px;
  }

  .seo-top-text,
  .seo-bottom-text,
  .seo-faq {
    padding: 20px;
  }

  .seo-bottom-text > h2 {
    font-size: 19px;
  }

  .seo-bottom-text {
    font-size: 14.5px;
  }

  .pagination-seo .pagination a,
  .pagination-seo .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
}
