/* ============================================================
   NIEDERHOF – custom.css
   Alle Design-Anpassungen zentral hier verwalten.
   Panel → Benutzerdefiniertes CSS nur für flüchtige Tweaks.
   ============================================================ */


/* ============================================================
   1. BADGE
   ============================================================ */

.uk-navbar-item a.uk-position-relative .uk-badge {
  left: -4px;
}


/* ============================================================
   2. NAVBAR – Heritage: Tiefenverlauf + Carbon + Stripe + gelbe Unterkante
   ============================================================ */

.uk-navbar-container,
.uk-navbar-container.uk-navbar-transparent,
.uk-sticky .uk-navbar-container {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.06), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 6px, rgba(0,0,0,0) 6px 12px),
    linear-gradient(to bottom, #134A37 0%, #0F3A2B 60%, #0B2E22 100%);
  color: #fff;
  position: relative;
  z-index: 1000;
  border-bottom: 2px solid #FFD200;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Linke Heritage-Schräge */
.uk-navbar-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 82px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.06), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 6px, rgba(0,0,0,0) 6px 12px),
    linear-gradient(135deg, #2FA14A 0%, #1E7F39 100%);
  transform: skewX(-12deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.08);
  pointer-events: none;
}

/* Mobile: Stripe ausblenden */
@media (max-width: 959px) {
  .uk-navbar-container::before { display: none; }
}

/* Nav-Links */
.uk-navbar-nav > li > a {
  color: #fff !important;
  padding: .55rem .85rem;
  border-radius: 0;
  background: transparent !important;
  text-shadow: none;
}
.uk-navbar-nav > li > a:hover {
  background: #1E7F39 !important;
  color: #fff !important;
}
.uk-navbar-nav > li.uk-active > a {
  background: transparent !important;
  color: #fff !important;
}


/* ============================================================
   3. NAVBAR – Layout-Anpassungen (Logo, Suche, Tasche)
   ============================================================ */

.nh-logo {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-left: 0 !important;
}

/* Desktop: Logo leicht nach links (Ausrichtung zu START) */
@media (min-width: 960px) {
  #navbar .nh-logo {
    margin-left: -12px;
  }
}

.nh-search {
  display: flex;
}

.nh-search-input {
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 4px 0 0 4px;
}

.nh-search-button {
  border-radius: 0 4px 4px 0 !important;
  background: #029846;
  color: #fff;
  border: none;
}

.nh-bag-item {
  margin-left: 15px;
}

.nh-bag-link [uk-icon] {
  font-size: 20px;
}

.nh-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Suchfeld Placeholder + Input (Desktop) */
.nh-search .nh-search-input {
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 4px 0 0 4px;
}

.nh-search .nh-search-input::placeholder {
  color: #666666 !important;
  opacity: 1;
}

/* Suchfeld Placeholder + Input (Mobile) */
.nh-search-bar-mobile .nh-search-input {
  flex: 1;
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 4px 0 0 4px;
}

.nh-search-bar-mobile .nh-search-input::placeholder {
  color: #666666 !important;
  opacity: 1;
}


/* ============================================================
   4. MOBILE (max 959px)
   ============================================================ */

@media (max-width: 959px) {

  #navbar .uk-navbar-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nh-nav-row { display: none; }
  .nh-search  { display: none; }

  /* Logo auf Mobile */
  .nh-logo-img {
    height: 80px !important;
    width: auto !important;
  }

  /* Tasche etwas größer */
  .nh-bag-link [uk-icon] svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Mobile Suchfeld unter Header */
  .nh-search-bar-mobile {
    display: block;
    padding: 10px 15px;
    background: #0B2E22;
  }

  .nh-search-bar-mobile form { display: flex; }

  .nh-search-bar-mobile .nh-search-input {
    flex: 1;
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 4px 0 0 4px;
  }

  .nh-search-bar-mobile .nh-search-button {
    border-radius: 0 4px 4px 0 !important;
    background: #029846;
    color: #fff;
    border: none;
  }

  /* Logo auf Mobile nicht verschieben */
  .nh-logo {
    margin-left: 0 !important;
  }
}


/* ============================================================
   5. SCROLL-SHRINK NAVBAR (Desktop only, ab 960px)
   ============================================================ */

/* Desktop-Hamburger: standardmäßig hidden (mobile-first) */
.nh-desktop-toggle {
  display: none !important;
}

@media (min-width: 960px) {

  /* Desktop-Hamburger: mit max-width einblenden */
  .nh-desktop-toggle {
    display: flex !important;
    align-items: center;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-width 0.35s ease, opacity 0.3s ease;
  }

  #navbar.nh-scrolled .nh-desktop-toggle {
    max-width: 40px;
    opacity: 1;
    pointer-events: auto;
  }

  /* Nav-Zeile smooth ausblenden */
  #navbar .nh-nav-row {
    overflow: hidden;
    max-height: 80px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  }

  #navbar.nh-scrolled .nh-nav-row {
    max-height: 0 !important;
    opacity: 0;
    pointer-events: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Logo sanft verkleinern */
  .nh-logo-img {
    transition: height 0.35s ease;
  }
}

/* Desktop: wenn Hamburger-Kreis sichtbar, Logo rechts neben Kreis */
@media (min-width: 960px) {
  #navbar.nh-scrolled .nh-logo {
    margin-left: 56px; /* 48px Kreis + ca. 8px Abstand */
  }
}


/* ============================================================
   6. DROPDOWNS
   ============================================================ */

.uk-navbar-dropdown {
  background-color: #0F3A2B !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.uk-navbar-dropdown::before {
  background-color: #0F3A2B !important;
}
.uk-navbar-dropdown .uk-nav > li > a {
  color: #ffffff !important;
  padding: .5rem .85rem;
}
.uk-navbar-dropdown .uk-nav > li > a:hover,
.uk-navbar-dropdown .uk-nav > li > a:focus,
.uk-navbar-dropdown .uk-nav > li.uk-active > a {
  background-color: #2FA14A !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 8px;
}
.uk-navbar-dropdown .uk-nav .uk-nav-divider {
  border-top-color: rgba(255,255,255,.12) !important;
}


/* ============================================================
   7. SUCHE (UIkit)
   ============================================================ */

.uk-search-input {
  max-width: 320px;
  background: #fff;
  border: 1.5px solid #2FA14A;
  border-radius: 6px;
  box-shadow: none;
}


/* ============================================================
   8. KARTEN (UIkit)
   ============================================================ */

.uk-card,
.uk-card-default {
  background: #fff;
  border: 1px solid rgba(15,58,43,.15);
  border-radius: 8px;
}


/* ============================================================
   9. OFFCANVAS – Heritage, lesbar + markant
   ============================================================ */

#offcanvas .uk-offcanvas-bar,
.uk-offcanvas .uk-offcanvas-bar {
  color: #fff !important;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.06), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 6px, rgba(0,0,0,0) 6px 12px),
    #1F2427 !important;
  border-left: 3px solid #FFD200;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  padding: 24px 26px;
}

/* Checkered-Micro-Stripe oben */
#offcanvas .uk-offcanvas-bar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 8px, #000 8px 16px);
  opacity: .5;
  pointer-events: none;
}

.uk-offcanvas-close {
  color: #fff !important;
  opacity: .9;
  top: 12px;
  right: 12px;
}
.uk-offcanvas-close:hover { opacity: 1; }

#offcanvas .uk-offcanvas-bar h3,
#offcanvas .uk-offcanvas-bar .uk-logo,
#offcanvas .uk-offcanvas-bar .site-title {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 10px;
}

/* Primäre Nav-Links */
#offcanvas .uk-nav-primary > li > a {
  color: #fff !important;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  padding: 10px 18px 10px 26px;
}

#offcanvas .uk-nav-primary > li > a:hover {
  color: #fff !important;
  background: #1E7F39;
  border-radius: 8px;
}

#offcanvas .uk-nav-primary > li.uk-active > a {
  color: #fff !important;
  background: rgba(47,161,74,.18);
}

/* Unterpunkte */
#offcanvas .uk-nav-sub > li > a {
  color: rgba(255,255,255,.86) !important;
  font-size: 1rem;
  padding: 6px 0 6px 14px;
}
#offcanvas .uk-nav-sub > li > a:hover {
  color: #2FA14A !important;
}

#offcanvas .uk-nav-divider {
  border-top-color: rgba(255,255,255,.12) !important;
}

#offcanvas .uk-text-meta,
#offcanvas .uk-text-small {
  color: rgba(255,255,255,.75) !important;
}

.uk-offcanvas-overlay .uk-offcanvas-page {
  filter: blur(2px);
}
.uk-offcanvas .uk-offcanvas-bar {
  backdrop-filter: none;
}


/* ============================================================
   10. BUTTONS
   ============================================================ */

.uk-button-primary:not(.uk-button-small) {
  position: relative;
  overflow: hidden;
  border: 1px solid #0F3A2B;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 0 rgba(0,0,0,.10);
}

.uk-button-primary:not(.uk-button-small)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(45deg,  rgba(255,255,255,.025) 15%, rgba(255,255,255,0) 15%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(255,255,255,.025) 15%, rgba(255,255,255,0) 15%) 0 0/6px 6px,
    linear-gradient(45deg,  rgba(0,0,0,.04)        55%, rgba(0,0,0,0)        55%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(0,0,0,.04)        55%, rgba(0,0,0,0)        55%) 0 0/6px 6px;
}

.uk-button-primary:not(.uk-button-small)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,.08), rgba(255,255,255,0) 48%);
}

.uk-button-primary:hover::before,
.uk-button-primary:focus::before {
  background:
    linear-gradient(45deg,  rgba(255,255,255,.05)  15%, rgba(255,255,255,0) 15%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(255,255,255,.05)  15%, rgba(255,255,255,0) 15%) 0 0/6px 6px,
    linear-gradient(45deg,  rgba(0,0,0,.055)       55%, rgba(0,0,0,0)       55%) 0 0/6px 6px,
    linear-gradient(-45deg, rgba(0,0,0,.055)       55%, rgba(0,0,0,0)       55%) 0 0/6px 6px;
}

.uk-button-primary:active::after {
  background: linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,0) 48%);
}

.uk-button-primary:focus-visible {
  outline: 2px solid #FFD200;
  outline-offset: 2px;
}

.uk-button-secondary { box-shadow: none; }

.nh-mission footer {
  background-color: rgba(0, 0, 0, 0);
  color: rgba(15,58,43);
}


/* ============================================================
   11. HERO-SECTION (Optik)
   ============================================================ */

.nh-hero { position: relative; overflow: hidden; }
.nh-hero > .uk-container { position: relative; z-index: 2; }

.nh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,18,17,.58) 0%, rgba(0,18,17,.40) 35%, rgba(0,18,17,.10) 60%, rgba(0,18,17,0) 75%),
    repeating-linear-gradient(45deg,  rgba(255,255,255,.012) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.02)        0 10px, transparent 10px 20px);
}

.nh-hero h1,
.nh-hero .uk-heading-hero {
  max-width: 18ch;
  line-height: 1.06;
  letter-spacing: .2px;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}

.nh-hero p { text-shadow: 0 1px 0 rgba(0,0,0,.2); }

@media (max-width: 959px) {
  .nh-hero::before {
    background:
      linear-gradient(180deg, rgba(0,18,17,.62) 0%, rgba(0,18,17,.42) 40%, rgba(0,18,17,0) 80%),
      repeating-linear-gradient(45deg,  rgba(255,255,255,.01) 0 12px, transparent 12px 24px),
      repeating-linear-gradient(-45deg, rgba(0,0,0,.02)       0 12px, transparent 12px 24px);
  }
}

.nh-hero .uk-button-primary {
  box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.18);
}

/* Produkt-Slider Mobile - kosmetische Anpassung */
.home-products-slider .uk-slider-items > * {
  box-sizing: border-box;
}

/* ============================================================
   POLYCARBONAT / KUNSTSTOFFSCHEIBEN-HINTERGRUND
   (Carbon-Feeling, leicht aufgehellt)
   ============================================================ */

.nh-poly-bg {
  position: relative;
  overflow: hidden;
}

.nh-poly-bg .uk-container {
  position: relative;
  z-index: 2;
}

/* Desktop */
.nh-poly-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    /* leicht schräge „Glare“-Bänder wie Licht auf Scheibe */
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(255, 255, 255, 0.0) 22%,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(255, 255, 255, 0.0) 60%,
      rgba(255, 255, 255, 0.08) 78%,
      rgba(255, 255, 255, 0.0) 100%
    ),

    /* feine horizontale Hairlines – leichte Oberflächenstruktur */
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 9px
    ),

    /* Grundtönung: transparentes, dunkles Grün mit deiner Farbe */
    radial-gradient(
      circle at 15% 0%,
      rgba(47, 161, 74, 0.40) 0%,
      rgba(0, 40, 32, 0.85) 45%,
      rgba(0, 32, 26, 0.95) 100%
    );
}

/* Mobile – Licht eher von oben, etwas stärkerer Verlauf */
@media (max-width: 959px) {
  .nh-poly-bg::before {
    background:
      linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0.0) 30%,
        rgba(255, 255, 255, 0.05) 55%,
        rgba(255, 255, 255, 0.0) 90%
      ),
      repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 10px
      ),
      radial-gradient(
        circle at 50% 0%,
        rgba(47, 161, 74, 0.45) 0%,
        rgba(0, 40, 32, 0.92) 40%,
        rgba(0, 32, 26, 0.98) 100%
      );
  }
}

/* Lesbarkeit */
.nh-poly-bg h1,
.nh-poly-bg .uk-heading-hero,
.nh-poly-bg h2,
.nh-poly-bg h3 {
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.nh-poly-bg p {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* ============================================================
   12. FOOTER
   ============================================================ */

footer {
  color: #fff;
  background:
    linear-gradient(45deg,  rgba(255,255,255,.03) 25%, transparent 25%) 0 0/12px 12px,
    linear-gradient(-45deg, rgba(255,255,255,.03) 25%, transparent 25%) 0 0/12px 12px,
    linear-gradient(45deg,  transparent 75%, rgba(255,255,255,.03) 75%) 0 0/12px 12px,
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.03) 75%) 0 0/12px 12px,
    #1F2427;
}

footer .uk-section,
footer .uk-section-primary,
footer .uk-section-default,
footer .uk-section-muted {
  background: transparent !important;
  color: #fff !important;
}

footer a,
footer .uk-link,
footer .uk-link-text,
footer .uk-link-muted,
footer .uk-link-toggle {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}

footer a:hover,
footer a:focus,
footer .uk-link:hover,
footer .uk-link-text:hover,
footer .uk-link-toggle:hover {
  color: #2FA14A !important;
  text-decoration-color: #2FA14A;
}

footer a:focus-visible {
  outline: 2px solid #FFD200;
  outline-offset: 2px;
  border-radius: 2px;
}

footer hr,
footer .uk-divider-icon,
footer .uk-divider-small {
  border-color: rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.15) !important;
}

footer .uk-icon,
footer .uk-icon-link {
  color: #FFFFFF !important;
}

footer .uk-icon-link:hover {
  color: #2FA14A !important;
}


/* ============================================================
   13. PRODUCT TAGS
   ============================================================ */

.nh-product-tags {
  margin-top: 4px;
}

.nh-product-tag {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 3px;
  padding: 2px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f2f2f2;
  color: #333;
  border-radius: 999px;
}


/* ============================================================
   14. HAMBURGER – Finale Version
   ============================================================ */

#navbar .nh-desktop-toggle {
  display: none !important;
}

/* ── Mobile Hamburger (unter 960px) ── */
@media (max-width: 959px) {

  #navbar .uk-navbar-toggle.tm-menu-animate {
    display: inline-flex !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    background: #0B2E22 !important;
    border-radius: 50% !important;
    border: 2px solid #FFD200 !important;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease !important;
  }

  #navbar .uk-navbar-toggle.tm-menu-animate:hover {
    background: #1E7F39 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 0 6px rgba(255,210,0,.28) !important;
  }

  #navbar .uk-navbar-toggle.tm-menu-animate:active {
    transform: scale(0.92) !important;
    box-shadow: 0 0 0 3px rgba(255,210,0,.45) !important;
  }

  #navbar .uk-navbar-toggle.tm-menu-animate svg {
    width: 24px !important;
    height: 24px !important;
    color: #FFD200 !important;
    stroke: #FFD200 !important;
    stroke-width: 2.5px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
}

/* ── Desktop Hamburger (ab 960px) ── */
@media (min-width: 960px) {

  #navbar .nh-desktop-toggle {
    display: inline-flex !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    background: #0B2E22 !important;
    border-radius: 50% !important;
    border: 2px solid #FFD200 !important;
    opacity: 0 !important;
    transform: scale(0.3) !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease,
                background 0.2s ease;
  }

  #navbar.nh-scrolled .nh-desktop-toggle {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
  }

  #navbar.nh-scrolled .nh-desktop-toggle:hover {
    background: #1E7F39 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 0 6px rgba(255,210,0,.28) !important;
  }

  #navbar.nh-scrolled .nh-desktop-toggle:active {
    transform: scale(0.92) !important;
    box-shadow: 0 0 0 3px rgba(255,210,0,.45) !important;
  }

  #navbar .nh-desktop-toggle svg {
    width: 24px !important;
    height: 24px !important;
    color: #FFD200 !important;
    stroke: #FFD200 !important;
    stroke-width: 2.5px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
}


/* ============================================================
   15. BADGE – Gelber Kreis, nur bei > 0 sichtbar (via PHP)
   ============================================================ */

.uk-badge {
  background: #FFD200 !important;
  color: #0B2E22 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #0B2E22 !important;
  padding: 0 !important;
}


/* ============================================================
   16. PRODUKTANFRAGE-BANNER (Produktseite)
   ============================================================ */

.nh-request-banner-flat6 {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateY(-140%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.nh-request-banner-flat6.is-visible {
  transform: translateY(0);
}

.nh-request-banner-flat6-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.nh-request-banner-flat6-section-right {
  border-left: 1px solid rgba(0,0,0,0.06);
}

.nh-request-banner-flat6-close {
  position: absolute;
  left: 18px;
  top: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}

.nh-request-banner-flat6-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ecc71;
}

.nh-request-banner-flat6-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  color: #999;
  margin-bottom: 4px;
}

.nh-request-banner-flat6-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

.nh-request-banner-flat6-variation {
  font-weight: 400;
  color: #666;
}

.nh-request-banner-flat6-meta {
  display: flex;
  align-items: center;
  margin-top: 6px;
  gap: 12px;
}

.nh-request-banner-flat6-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.nh-request-banner-flat6-price {
  font-size: 0.9rem;
  color: #555;
}

.nh-request-banner-flat6-summary-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #999;
  margin-bottom: 6px;
}

.nh-request-banner-flat6-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
}

.nh-request-banner-flat6-summary-total {
  font-weight: 600;
  margin-top: 4px;
}

.nh-request-banner-flat6-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nh-request-banner-flat6-btn {
  border-radius: 4px;
  font-size: 0.9rem;
  padding: 6px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.nh-request-banner-flat6-btn-primary {
  background: #0f7b3b;
  color: #fff;
  border-color: #0f7b3b;
}

.nh-request-banner-flat6-btn-primary:hover {
  background: #0c5c2c;
  border-color: #0c5c2c;
}

.nh-request-banner-flat6-btn-secondary {
  background: #f5f5f5;
  color: #444;
  border-color: #ddd;
}

.nh-request-banner-flat6-btn-secondary:hover {
  background: #e9e9e9;
}

/* Mobile Anpassungen Banner */
@media (max-width: 960px) {
  .nh-request-banner-flat6-section-right {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .nh-request-banner-flat6-close {
    top: 8px;
  }
}

/* Badge-Pulse für Warenkorb */
@keyframes nh-cart-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.nh-cart-pulse {
  animation: nh-cart-pulse 0.35s ease-out;
}


/* ============================================================
   17. HERO-SECTION – Abstände / Heading-Position
   ============================================================ */

/* Desktop: Text etwas höher, mehr Luft nach unten */
.nh-hero.uk-section {
  padding-top: 100px;
  padding-bottom: 300px;
}

/* Mobile: Heading klar nach oben ausrichten */
@media (max-width: 959px) {

  .nh-hero.uk-section {
    padding-top: 24px;
    padding-bottom: 140px;
  }

  /* Falls der Inhalt im Grid sitzt: Spalte oben ausrichten */
  .nh-hero .uk-grid {
    align-items: flex-start;
  }
}

/* ============================================================
   18. Automatische Silbentrennung im Fließtext
   ============================================================ */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main p,
main li,
main blockquote,
main figcaption,
main .text,
main .txt,
main .content {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ============================================================
   19. Shop-Ansicht (Flat6-Stil mit Niederhof-Branding)
   ============================================================ */

/* --- Layout --- */
.shop-layout {
  align-items: flex-start;
  padding-top: 1.5rem;
}

/* --- Sidebar --- */
.shop-sidebar-inner {
  position: sticky;
  top: 2rem;
}

.shop-filter-heading {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-filter-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-filter-list li {
  margin-bottom: .45rem;
}

.shop-filter-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #333;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.3;
  transition: color .15s ease;
}

.shop-filter-link:hover {
  color: #189459;
  text-decoration: none;
}

.shop-filter-link.is-active {
  color: #189459;
  font-weight: 600;
}

.shop-filter-box {
  width: 18px;
  height: 18px;
  border: 1px solid #cfcfcf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  transition: all .15s ease;
  border-radius: 2px;
}

.shop-filter-link:hover .shop-filter-box {
  border-color: #189459;
}

.shop-filter-link.is-active .shop-filter-box {
  background: #189459;
  border-color: #189459;
  color: #fff;
}

/* --- Breadcrumb --- */
.shop-breadcrumb {
  font-size: 0.85rem;
  color: #888;
}

.shop-breadcrumb a {
  color: #888;
  text-decoration: none;
}

.shop-breadcrumb a:hover {
  color: #189459;
}

.shop-breadcrumb-sep {
  margin: 0 .4rem;
  color: #bbb;
}

/* --- Aktive Filter / Pills --- */
.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .85rem;
  background: #189459;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 3px;
  transition: background .15s ease;
}

.shop-pill:hover {
  color: #fff;
  text-decoration: none;
  background: #146f44;
}

.shop-pill-close {
  font-size: 1.15rem;
  line-height: 1;
}

/* --- Toolbar --- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.25rem;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
}

.shop-toolbar-left,
.shop-toolbar-right,
.shop-toolbar-count,
.shop-toolbar-view {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.shop-toolbar-label {
  font-weight: 600;
  color: #444;
  font-size: 0.9rem;
}

.shop-toolbar-select {
  min-width: 140px;
  max-width: 160px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 0.88rem;
  padding: .3rem .6rem;
  cursor: pointer;
}

.shop-toolbar-count-link {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  padding: .2rem .35rem;
  transition: color .15s ease;
}

.shop-toolbar-count-link:hover {
  color: #333;
  text-decoration: none;
}

.shop-toolbar-count-link.is-active {
  color: #111;
  font-weight: 700;
}

.shop-view-toggle {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  color: #888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  padding: 0;
}

.shop-view-toggle:hover {
  border-color: #999;
  color: #333;
}

.shop-view-toggle.is-active {
  border-color: #189459;
  color: #189459;
}

/* --- Produkt-Karten --- */
.shop-product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  transition: box-shadow .2s ease, border-color .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shop-product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0;
}

.shop-product-image {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.shop-product-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease;
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.03);
}

.shop-product-image-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.shop-product-placeholder-icon {
  color: #ccc;
}

.shop-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: .25rem .55rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 2px;
}

.shop-product-badge-featured {
  background: #1e87f0;
}

.shop-product-badge-new {
  background: #32d296;
  top: 8px;
}

.shop-product-badge-sold {
  background: #faa05a;
}

.shop-product-badge-featured + .shop-product-badge-new,
.shop-product-badge-featured + .shop-product-badge-sold {
  top: 34px;
}

.shop-product-body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-product-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .35rem;
  color: #222;
}

.shop-product-short {
  font-size: 0.82rem;
  color: #777;
  margin: 0 0 .35rem;
  line-height: 1.35;
}

.shop-product-meta {
  font-size: 0.78rem;
  color: #999;
  margin: 0 0 .5rem;
}

.shop-product-price {
  margin-top: auto;
  padding-top: .5rem;
}

.shop-product-price-current {
  font-weight: 700;
  color: #189459;
  font-size: 0.95rem;
}

.shop-product-price-old {
  color: #aaa;
  font-size: 0.82rem;
  margin-left: .35rem;
}

/* --- List View --- */
.shop-results.is-list .shop-products-grid {
  display: block !important;
}

.shop-results.is-list .shop-product-item {
  margin-bottom: .75rem;
}

.shop-results.is-list .shop-product-card {
  flex-direction: row;
}

.shop-results.is-list .shop-product-image {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
}

.shop-results.is-list .shop-product-image img {
  height: 100%;
  object-fit: cover;
}

.shop-results.is-list .shop-product-body {
  justify-content: center;
}

/* --- Pagination --- */
.shop-pagination .uk-pagination > li > a {
  color: #666;
  font-size: 0.9rem;
  padding: .4rem .7rem;
}

.shop-pagination .uk-pagination > li.uk-active > a {
  color: #189459;
  font-weight: 700;
}

/* --- Loading State --- */
#shop-app.is-loading {
  opacity: .6;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* --- Mobile Filter --- */
.shop-filter-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .7rem 1rem;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 1rem;
}

.shop-filter-badge {
  background: #189459;
  color: #fff;
  font-size: 0.72rem;
  padding: .15rem .45rem;
  border-radius: 10px;
  margin-left: auto;
}

/* --- Abstand unten (auch ohne Pagination) --- */
.shop-results-spaced {
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

/* --- Responsive --- */
@media (max-width: 959px) {
  .shop-filter-panel {
    display: none;
  }

  .shop-filter-panel.is-open {
    display: block;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }

  .shop-toolbar-right {
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
  }

  .shop-results.is-list .shop-product-image {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
  }
}

@media (min-width: 960px) {
  .shop-filter-toggle {
    display: none;
  }

  .shop-filter-panel {
    display: block !important;
  }
}


/* ============================================================
   20. Produktsuche – Suchfeld (breit, prominent)
   ============================================================ */

.nh-search-form {
  max-width: 720px;
}

.nh-search-bar {
  display: flex;
  border: 2px solid #189459;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nh-search-bar:focus-within {
  border-color: #146f44;
  box-shadow: 0 0 0 3px rgba(24, 148, 89, 0.15);
}

.nh-search-bar-input {
  flex: 1;
  border: none;
  padding: .85rem 1.15rem;
  font-size: 1.05rem;
  color: #222;
  background: transparent;
  outline: none;
  min-width: 0;
}

.nh-search-bar-input::placeholder {
  color: #999;
}

.nh-search-bar-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  background: #189459;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background .15s ease;
}

.nh-search-bar-btn:hover {
  background: #146f44;
}

@media (max-width: 639px) {
  .nh-search-bar-input {
    padding: .7rem .9rem;
    font-size: 0.95rem;
  }

  .nh-search-bar-btn {
    padding: .7rem 1rem;
  }
}

