/* Local styles for the shop SEO advice links. */
a.nerz-seo-cta {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #3c3c3c;
  border-radius: 0;
  background: #3c3c3c;
  color: #fff;
  line-height: 1.4;
  white-space: normal;
  text-decoration: none;
}
a.nerz-seo-cta:hover {
  background: #feed00;
  color: #3c3c3c;
  text-decoration: none;
}
a.nerz-seo-phone {
  text-decoration: underline;
}
#site #content a.nerz-seo-cta:focus-visible,
#site #content a.nerz-seo-phone:focus-visible {
  outline: 3px solid #3c3c3c !important;
  outline-offset: 3px !important;
}

/* Nerz CI: generous copy column and dark advice panel with yellow actions. */
#content .nerz-category-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 36px;
  margin: 40px 0;
  padding: 28px 0 0;
  border-top: 4px solid #feed00;
}
#content .nerz-seo-eyebrow {
  margin: 0 0 14px;
  color: #3c3c3c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#content .nerz-category-intro__copy h2 {
  margin: 0 0 20px;
  color: #3c3c3c;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
}
#content .nerz-seo-lead {
  max-width: 65ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}
#content .nerz-category-intro__advice {
  min-width: 0;
  padding: 26px;
  background: #3c3c3c;
  color: #fff;
}
#content .nerz-category-intro__advice h3 {
  margin: 0 0 16px;
  color: #feed00;
  font-size: 26px;
  line-height: 1.2;
}
#content .nerz-category-intro__advice p {
  margin: 0 0 20px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
#content .nerz-seo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 10px;
}
#content .nerz-seo-actions > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: 10px 8px;
  text-align: center;
  box-sizing: border-box;
}
#content a.nerz-seo-cta--yellow {
  background: #feed00;
  color: #3c3c3c;
  border-color: #feed00;
  font-weight: 700;
}
#content a.nerz-seo-cta--yellow:hover {
  background: #fff;
  border-color: #fff;
}
#content a.nerz-seo-cta--outline {
  color: #fff;
  border-color: #fff;
}
#content a.nerz-seo-cta--outline:hover {
  color: #3c3c3c;
  background: #feed00;
}
#content .nerz-category-intro__advice .nerz-seo-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
#content .nerz-category-intro__advice .nerz-seo-phone::before {
  content: "Direkt bei Zweiradcenter Nerz anrufen";
  color: #feed00;
  font-size: 14px;
}
#content .nerz-category-intro__advice .nerz-seo-phone:hover {
  border-color: #feed00;
  background: #feed00;
  color: #3c3c3c;
}
#content .nerz-category-intro__advice .nerz-seo-phone:hover::before {
  color: #3c3c3c;
}
#site #content .nerz-category-intro__advice a:focus-visible {
  outline-color: #feed00 !important;
}
#content .nerz-home-intro {
  border-top: 4px solid #feed00;
  padding-top: 22px;
}
#content .nerz-home-intro h1 {
  margin-top: 0;
  line-height: 1.15;
}
#content .nerz-home-intro p {
  line-height: 1.6;
}
@media (max-width: 767px) {
  #content .nerz-category-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 28px 0;
    padding-top: 22px;
  }
  #content .nerz-seo-lead {
    font-size: 17px;
  }
  #content .nerz-category-intro__advice {
    padding: 22px;
  }
  #content .nerz-seo-actions a {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  #content .nerz-seo-cta {
    transition: none;
  }
}

/* Startseite: Beratung und Telefon, Fußnote unter beiden Spalten. */
#startpage-content .nerz-home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
}
#startpage-content .nerz-home-actions a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid #3c3c3c;
  border-radius: 4px;
  color: #3c3c3c;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}
#startpage-content .nerz-home-actions .nerz-seo-cta {
  background: #feed00;
}
#startpage-content .nerz-home-actions .nerz-seo-cta:hover {
  background: #f1e100;
}
#startpage-content .nerz-home-actions .nerz-seo-phone {
  background: #fff;
}
#startpage-content .nerz-home-actions .nerz-seo-phone:hover {
  background: #f5f5f5;
}
#startpage-content .nerz-home-actions__label {
  font-size: 14px;
}
#startpage-content .nerz-home-actions__title {
  font-size: 19px;
  font-weight: 700;
}
#startpage-content .nerz-home-note-row {
  margin-top: 40px;
}
#startpage-content .nerz-home-note {
  padding: 24px 0 0;
  border-top: 1px solid #d6d6d6;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
#startpage-content #nerz-reservierung-hinweis {
  margin: 0;
  scroll-margin-top: 150px;
}
#startpage-content .nerz-home-note small {
  font-size: inherit;
}
#startpage-content .nerz-home-note a {
  color: #3c3c3c;
  text-decoration: underline;
}
#startpage-content .nerz-home-note a:focus-visible {
  outline: 3px solid #3c3c3c !important;
  outline-offset: 3px;
}
@media (max-width: 574px) {
  #startpage-content .nerz-home-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  #startpage-content .nerz-home-actions a {
    min-height: 80px;
  }
  #startpage-content .nerz-home-row > .col + .col {
    margin-top: 32px;
  }
  #startpage-content .nerz-home-note-row {
    margin-top: 32px;
  }
  #startpage-content .nerz-home-note {
    padding-top: 20px;
  }
}

@media (min-width: 575px) and (max-width: 991px) {
  #startpage-content .nerz-home-row > .col + .col {
    margin-top: 32px;
  }
}

/* Home: headings belong to their respective sliders. */
#startpage-content #hersteller.nerz-home-brands {
  margin: 48px 0 0;
}
.nerz-home-slider-title {
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.2;
}
.nerz-home-products {
  padding: 48px 0 0;
}
.nerz-home-products .startArtikel {
  margin: 0;
  padding-top: 0;
}
.nerz-home-products > .startArtikel + .startArtikel {
  margin-top: 32px;
}
@media (max-width: 767px) {
  #startpage-content #hersteller.nerz-home-brands {
    margin-top: 32px;
  }
  .nerz-home-slider-title {
    margin-bottom: 20px;
    font-size: 30px;
  }
  .nerz-home-products {
    padding-top: 32px;
  }
}

#startpage-content #hersteller.nerz-home-brands .picture-slider {
  margin-bottom: 0;
}
/* Home sliders: same arrow size and horizontal alignment. */
#hersteller.nerz-home-brands .owl-buttons > div,
.nerz-home-products #sliderStart .owl-buttons > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #3c3c3c !important;
  opacity: 1;
  font-size: 40px;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}
#hersteller.nerz-home-brands .owl-buttons > div::before,
.nerz-home-products #sliderStart .owl-buttons > div::before {
  display: block;
  font-size: inherit;
  line-height: 1;
}
#hersteller.nerz-home-brands .owl-prev,
.nerz-home-products #sliderStart .owl-prev {
  left: -64px;
  right: auto;
}
#hersteller.nerz-home-brands .owl-next,
.nerz-home-products #sliderStart .owl-next {
  right: -64px;
  left: auto;
}
#hersteller.nerz-home-brands .owl-buttons > div:focus-visible,
.nerz-home-products #sliderStart .owl-buttons > div:focus-visible {
  outline: 3px solid #3c3c3c !important;
  outline-offset: 2px;
}
@media (max-width: 1399px) {
  #hersteller.nerz-home-brands .owl-prev,
  .nerz-home-products #sliderStart .owl-prev {
    left: -8px;
  }
  #hersteller.nerz-home-brands .owl-next,
  .nerz-home-products #sliderStart .owl-next {
    right: -8px;
  }
}
@media (max-width: 767px) {
  #hersteller.nerz-home-brands .owl-buttons > div,
  .nerz-home-products #sliderStart .owl-buttons > div {
    font-size: 32px;
  }
  #hersteller.nerz-home-brands .owl-prev,
  .nerz-home-products #sliderStart .owl-prev {
    left: 0;
  }
  #hersteller.nerz-home-brands .owl-next,
  .nerz-home-products #sliderStart .owl-next {
    right: 0;
  }
}
/* Brand tiles use the same 10px inset / 20px gap as product cards. */
#hersteller.nerz-home-brands .owl-item > .image {
  padding: 0 10px;
}
#hersteller.nerz-home-brands .owl-item > .image > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}
