body#cms .page-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

body#cms .page-header h1 {
  margin: 0;
  color: #173f35;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
}

body#cms #content.page-content {
  position: relative;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid #dfeae5;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(242, 106, 33, 0.12), transparent 18rem),
    linear-gradient(145deg, #f3f8f6 0%, #ffffff 56%);
  box-shadow: 0 1rem 2.5rem rgba(20, 92, 74, 0.09);
}

body#cms #content.page-content::before {
  display: block;
  margin: 0 auto 0.75rem;
  content: "\1F331";
  font-size: 2.75rem;
  line-height: 1;
  text-align: center;
}

body#cms #content.page-content > p:first-of-type {
  max-width: 44rem;
  margin: 0 auto 1.75rem;
  color: #52655d;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.65;
  text-align: center;
}

body#cms #content.page-content > p:first-of-type::before {
  display: block;
  margin-bottom: 0.35rem;
  color: #173f35;
  content: "Pflanzenwissen & praktische Rechner";
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
}

body#cms #content.page-content > p:first-of-type {
  font-size: 0;
}

body#cms #content.page-content > p:first-of-type::after {
  content: "Praxisnahe Ratgeber und kostenlose Tools zu Samenkeimung, Anzucht, Pflanzenlicht und kontrollierter Pflanzenzucht – verständlich und direkt nutzbar.";
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

body#cms #content.page-content > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 22rem));
  gap: 1rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

body#cms #content.page-content > ul > li {
  display: flex;
  min-width: 0;
}

body#cms #content.page-content > ul > li > a {
  position: relative;
  display: block;
  width: 100%;
  min-height: 9.25rem;
  padding: 1.35rem 3.5rem 1.5rem 1.35rem;
  overflow-wrap: anywhere;
  border: 1px solid #dce8e2;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(20, 92, 74, 0.08);
  color: #173f35;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body#cms #content.page-content > ul > li > a::before {
  position: static;
  display: block;
  margin-bottom: 1rem;
  color: #f26a21;
  content: "RATGEBER";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body#cms #content.page-content > ul > li > a::after {
  position: absolute;
  right: 1.35rem;
  bottom: 1.25rem;
  color: #f26a21;
  content: "\2192";
  font-size: 1.6rem;
  line-height: 1;
}

body#cms #content.page-content > ul > li > a:hover,
body#cms #content.page-content > ul > li > a:focus-visible {
  border-color: #8eb9aa;
  box-shadow: 0 0.9rem 2rem rgba(20, 92, 74, 0.14);
  color: #145c4a;
  outline: none;
  transform: translateY(-3px);
}

body#cms .sb-guide-hub .sb-tool-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin: 1rem 0 2.75rem;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(201, 242, 106, 0.2), transparent 15rem),
    linear-gradient(135deg, #143625 0%, #225c3e 100%);
  box-shadow: 0 1.25rem 2.75rem rgba(20, 61, 43, 0.2);
  color: #fff;
}

body#cms .sb-guide-hub .sb-tool-feature::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, 0.025), 0 0 0 7rem rgba(255, 255, 255, 0.018);
  content: "";
}

body#cms .sb-guide-hub .sb-tool-feature-copy,
body#cms .sb-guide-hub .sb-tool-preview {
  position: relative;
  z-index: 1;
}

body#cms .sb-guide-hub .sb-tool-kicker {
  margin: 0 0 0.75rem;
  color: #c9f26a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body#cms .sb-guide-hub .sb-tool-feature h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

body#cms .sb-guide-hub .sb-tool-description {
  max-width: 40rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  line-height: 1.65;
}

body#cms .sb-guide-hub .sb-tool-units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0;
}

body#cms .sb-guide-hub .sb-tool-units span {
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

body#cms .sb-guide-hub .sb-tool-action {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 0.6rem;
  background: #f26a21;
  box-shadow: 0 0.65rem 1.5rem rgba(242, 106, 33, 0.28);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body#cms .sb-guide-hub .sb-tool-action:hover,
body#cms .sb-guide-hub .sb-tool-action:focus-visible {
  background: #dc5915;
  box-shadow: 0 0.9rem 1.8rem rgba(242, 106, 33, 0.36);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

body#cms .sb-guide-hub .sb-tool-preview {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(8, 35, 21, 0.35);
  box-shadow: 0 1rem 2rem rgba(6, 28, 16, 0.18);
}

body#cms .sb-guide-hub .sb-tool-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body#cms .sb-guide-hub .sb-tool-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #e8ffd0;
  letter-spacing: 0;
}

body#cms .sb-guide-hub .sb-tool-status::before {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #c9f26a;
  content: "";
}

body#cms .sb-guide-hub .sb-tool-preview-values {
  display: grid;
  margin: 2.25rem 0 1.5rem;
  text-align: center;
}

body#cms .sb-guide-hub .sb-tool-preview-values > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

body#cms .sb-guide-hub .sb-tool-preview-values strong {
  color: #fff;
  font-size: clamp(3.25rem, 7vw, 4.75rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

body#cms .sb-guide-hub .sb-tool-preview-values small {
  color: #c9f26a;
  font-weight: 700;
}

body#cms .sb-guide-hub .sb-tool-meter {
  height: 0.4rem;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.13);
}

body#cms .sb-guide-hub .sb-tool-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9f26a, #f6d56c, #f26a21);
}

body#cms .sb-guide-hub .sb-tool-preview code {
  display: block;
  margin-top: 0.8rem;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  text-align: center;
}

body#cms .sb-guide-hub .sb-guide-list-heading {
  margin: 0 0 1.25rem;
  text-align: left;
}

body#cms .sb-guide-hub .sb-guide-list-heading p {
  margin: 0 0 0.25rem;
  color: #f26a21;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body#cms .sb-guide-hub .sb-guide-list-heading h2 {
  margin: 0;
  color: #173f35;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

@media (max-width: 575.98px) {
  body#cms #content.page-content {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  body#cms #content.page-content > ul > li > a {
    min-height: 0;
    padding: 1.25rem 3rem 1.35rem 1.15rem;
  }

  body#cms #content.page-content > ul > li > a::before {
    margin-bottom: 0.85rem;
  }

  body#cms .sb-guide-hub .sb-tool-feature {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    border-radius: 0.9rem;
  }

  body#cms .sb-guide-hub .sb-tool-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#cms #content.page-content > ul > li > a,
  body#cms .sb-guide-hub .sb-tool-action {
    transition: none;
  }
}

/* Stable product cards for the feminized-seeds guide. TinyMCE may remove
   layout-related inline styles, so the presentation lives in this stylesheet. */
body#cms .sb-guide-hero {
  margin: 1.5rem 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #173d2b 0%, #2f7650 100%) !important;
  color: #fff !important;
}

body#cms .sb-guide-hero h2 {
  margin: 0 0 1rem;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

body#cms .sb-guide-hero p {
  color: #fff !important;
}

body#cms .sb-guide-hero p:first-child {
  color: #ccebd9 !important;
}

body#cms .sb-guide-toc {
  margin: 1.75rem 0;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid #d9e8df;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #f6faf8, #fff);
  box-shadow: 0 0.45rem 1.4rem rgba(23, 61, 43, 0.07);
}

body#cms .sb-guide-toc-title {
  display: block;
  margin-bottom: 1rem;
  color: #173d2b;
  font-size: 1.12rem;
  font-weight: 800;
}

body#cms .sb-guide-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body#cms .sb-guide-toc-grid > a {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid #dbe8e1;
  border-radius: 0.8rem;
  background: #fff;
  color: #17664f;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body#cms .sb-guide-toc-grid > a:hover,
body#cms .sb-guide-toc-grid > a:focus-visible {
  border-color: #76aa96;
  box-shadow: 0 0.4rem 1rem rgba(23, 61, 43, 0.1);
  color: #104c3b;
  outline: none;
  transform: translateY(-2px);
}

body#cms .sb-anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: 7rem;
  visibility: hidden;
}

body#cms .sb-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.4rem 0 1.5rem;
}

body#cms .sb-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce7e0;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(23, 61, 43, 0.08);
}

body#cms .sb-product-card-featured {
  border-color: #bcd9c8;
  background: #f4faf6;
}

body#cms .sb-product-media {
  display: flex;
  height: 15rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background: #fff;
}

body#cms .sb-product-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain;
}

body#cms .sb-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

body#cms .sb-product-body h3 {
  margin: 0 0 0.55rem;
  color: #173d2b;
  font-size: 1.2rem;
}

body#cms .sb-product-body p {
  line-height: 1.6;
}

body#cms .sb-product-badge {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #2f7650;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body#cms .sb-product-action {
  margin: auto 0 0;
  padding-top: 0.65rem;
}

@media (max-width: 767.98px) {
  body#cms .sb-guide-toc-grid {
    grid-template-columns: 1fr;
  }

  body#cms .sb-guide-toc-grid > a {
    min-height: 3rem;
  }

  body#cms .sb-product-grid {
    grid-template-columns: 1fr;
  }

  body#cms .sb-product-media {
    height: 13rem;
  }
}
