/*
 * CT24Theme – custom.css
 * Modernes Design für campingteile24.de
 * Wird nach ct24.css geladen (kein SCSS-Compile nötig)
 * =============================================
 */

/* ─── Open Sans Variable Font (lokal, kein CDN) ─────────────── */
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-normal.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  --ct24-primary:          #5f7a2a;
  --ct24-primary-dark:     #4a5f20;
  --ct24-primary-light:    #7a9936;
  --ct24-secondary:        #b6cb58;
  --ct24-secondary-dark:   #9ab040;
  --ct24-accent:           #F4982C;
  --ct24-white:            #ffffff;
  --ct24-bg:               #f5f7fa;
  --ct24-bg-dark:          #2a2a2a;
  --ct24-text:             #333333;
  --ct24-text-muted:       #6c757d;
  --ct24-border:           #e0e6d0;
  --ct24-shadow-sm:        0 2px 8px rgba(0,0,0,.08);
  --ct24-shadow-md:        0 4px 20px rgba(0,0,0,.12);
  --ct24-shadow-lg:        0 8px 40px rgba(0,0,0,.16);
  --ct24-radius:           8px;
  --ct24-radius-lg:        16px;
  --ct24-transition:       0.22s ease;
  --ct24-gradient:         linear-gradient(135deg, #5f7a2a 0%, #7a9936 60%, #b6cb58 100%);
  --ct24-gradient-dark:    linear-gradient(135deg, #3d5018 0%, #5f7a2a 100%);
}

/* ─── Global Typography ─────────────────────────────────────── */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--ct24-text);
  background-color: var(--ct24-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.2;
}

a {
  color: var(--ct24-primary);
  transition: color var(--ct24-transition);
}
a:hover { color: var(--ct24-primary-dark); text-decoration: none; }

/* ─── Sticky Header ─────────────────────────────────────────── */
header#header,
header.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow var(--ct24-transition), background var(--ct24-transition);
}
header#header.scrolled,
header.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
}

/* Logo sizing */
#logo .navbar-brand img,
#shop-logo {
  max-height: 52px;
  width: auto;
  transition: opacity var(--ct24-transition);
}
#logo .navbar-brand:hover img { opacity: 0.85; }

/* ─── Top Bar (Vertrauensstreifen oben) ─────────────────────── */
.topbar-wrapper,
#topbar {
  background: var(--ct24-gradient);
  color: var(--ct24-white) !important;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 6px 0;
}
.topbar-wrapper a,
#topbar a,
.topbar-main .nav-link {
  color: var(--ct24-white) !important;
  opacity: .9;
}
.topbar-wrapper a:hover,
#topbar a:hover { opacity: 1; }

/* Topbar-Notiz (Lieferversprechen) */
#topbarNote {
  font-weight: 600;
  letter-spacing: .03em;
}

/* ─── Navigation ────────────────────────────────────────────── */
nav.navbar {
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  color: #2a2a2a !important;
  padding: .5rem .9rem !important;
  border-radius: 6px;
  transition: background var(--ct24-transition), color var(--ct24-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active > .nav-link {
  color: var(--ct24-primary) !important;
  background: rgba(95,122,42,.08);
}
.dropdown-menu {
  border: 1px solid var(--ct24-border);
  border-radius: var(--ct24-radius);
  box-shadow: var(--ct24-shadow-md);
  padding: .5rem;
}
.dropdown-item {
  border-radius: 6px;
  padding: .45rem .8rem;
  font-size: .875rem;
  transition: background var(--ct24-transition), color var(--ct24-transition);
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(95,122,42,.1);
  color: var(--ct24-primary);
}

/* Search bar */
.main-search-wrapper .form-control,
#searchBox {
  border-radius: 50px 0 0 50px !important;
  border: 2px solid var(--ct24-border);
  font-size: .9rem;
  padding: .5rem 1.2rem;
  transition: border-color var(--ct24-transition), box-shadow var(--ct24-transition);
}
.main-search-wrapper .form-control:focus,
#searchBox:focus {
  border-color: var(--ct24-primary);
  box-shadow: 0 0 0 3px rgba(95,122,42,.15);
  outline: none;
}
.main-search-wrapper .btn-search,
button[type="submit"].btn-search {
  border-radius: 0 50px 50px 0 !important;
  background: var(--ct24-gradient);
  border: none;
  color: var(--ct24-white);
  padding: .5rem 1.2rem;
  font-weight: 700;
  transition: filter var(--ct24-transition), transform var(--ct24-transition);
}
.main-search-wrapper .btn-search:hover { filter: brightness(1.1); }

/* ─── Hero Section (Startseite) ─────────────────────────────── */
.ct24-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ct24-gradient-dark);
}
.ct24-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30,50,10,.96) 0%, rgba(47,70,15,.92) 38%, rgba(60,85,20,.65) 62%, rgba(60,85,20,.15) 100%);
  z-index: 1;
}
.ct24-hero__content {
  position: relative;
  z-index: 2;
  color: var(--ct24-white);
  padding: 3rem 0;
}
.ct24-hero__eyebrow {
  display: inline-block;
  background: rgba(244,152,44,.25);
  border: 1px solid rgba(244,152,44,.5);
  color: #ffc67a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.ct24-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ct24-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ct24-hero__title span {
  color: var(--ct24-accent);
}
.ct24-hero__subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 400;
}
.ct24-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.ct24-hero__badge {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--ct24-white);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ct24-shadow-lg);
  text-align: center;
  padding: 1rem;
}
.ct24-hero__badge-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ct24-text-muted);
}
.ct24-hero__badge-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ct24-primary);
  line-height: 1;
}
.ct24-hero__badge-sub {
  font-size: .7rem;
  font-weight: 600;
  color: var(--ct24-primary);
}
@media (max-width: 767px) {
  .ct24-hero { min-height: 380px; }
  .ct24-hero__badge { display: none; }
}

/* Portrait-Deko-Bild (rechts im Hero, nur Desktop) */
.ct24-hero__deco {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-width: 42%;
  width: auto;
  object-fit: cover;
  object-position: top center;
  opacity: .72;
  /* kein luminosity mehr – Foto zeigt natürliche Farben */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%);
  mask-image:         linear-gradient(to right, transparent 0%, black 22%);
  z-index: 1;
  pointer-events: none;
}
/* Orange Akzent-Linie am unteren Hero-Rand */
.ct24-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ct24-accent) 0%, var(--ct24-secondary) 100%);
  z-index: 3;
}
@media (max-width: 991px) { .ct24-hero__deco { display: none; } }

/* ─── Buttons ────────────────────────────────────────────────── */
.ct24-btn-orange {
  background: linear-gradient(135deg, #F4982C 0%, #d67e20 100%);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: filter var(--ct24-transition), transform var(--ct24-transition);
}
.ct24-btn-orange:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.ct24-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.9) !important;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background var(--ct24-transition), color var(--ct24-transition);
}
.ct24-btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.8);
}

/* ─── Badges ──────────────────────────────────────────────────── */
.ct24-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.ct24-badge--orange {
  background: rgba(244,152,44,.15);
  border: 1px solid rgba(244,152,44,.4);
  color: #c67000;
}
/* Badge auf dunklem Hero-Hintergrund – helle Lesbarkeit */
.ct24-hero .ct24-badge--orange {
  background: rgba(244,152,44,.22);
  border-color: rgba(244,152,44,.65);
  color: #ffd080;
}
.ct24-badge--green {
  background: rgba(95,122,42,.1);
  border: 1px solid rgba(95,122,42,.3);
  color: var(--ct24-primary);
}

/* ─── Trust Bar ─────────────────────────────────────────────── */
.ct24-trust-bar {
  background: var(--ct24-white);
  border-bottom: 1px solid var(--ct24-border);
  padding: 1rem 0;
}
.ct24-trust-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .75rem;
}
.ct24-trust-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(95,122,42,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ct24-primary);
  font-size: 1.1rem;
}
.ct24-trust-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.2;
}
.ct24-trust-text small {
  font-size: .75rem;
  color: var(--ct24-text-muted);
}
@media (max-width: 767px) {
  .ct24-trust-item { padding: .3rem .5rem; }
  .ct24-trust-text strong { font-size: .78rem; }
}

/* ─── Motivating Section Headline ───────────────────────────── */
.ct24-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ct24-section-header__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ct24-primary);
  margin-bottom: .5rem;
}
.ct24-section-header__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.ct24-section-header__sub {
  color: var(--ct24-text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Product Slider & Product Cards ────────────────────────── */
.product-slider-wrapper {
  padding: 2.5rem 0;
}
.product-slider-wrapper:nth-child(odd) {
  background: var(--ct24-white);
}

.slick-type-product .product-wrapper,
.product-wrapper {
  border-radius: var(--ct24-radius-lg);
  overflow: hidden;
  box-shadow: var(--ct24-shadow-sm);
  background: var(--ct24-white);
  transition: transform var(--ct24-transition), box-shadow var(--ct24-transition);
  border: 1px solid transparent;
}
.slick-type-product .product-wrapper:hover,
.product-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--ct24-shadow-md);
  border-color: var(--ct24-border);
}

/* Product image */
.product-wrapper .product-image-wrapper,
.product-wrapper .product-image {
  background: #f8f9fa;
  overflow: hidden;
}
.product-wrapper .product-image-wrapper img,
.product-wrapper .product-image img {
  transition: transform 0.4s ease;
}
.product-wrapper:hover .product-image-wrapper img,
.product-wrapper:hover .product-image img {
  transform: scale(1.04);
}

/* Product info */
.product-wrapper .product-title,
.product-wrapper .article-name {
  font-size: .9rem;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.35;
  margin-bottom: .4rem;
}
.product-wrapper .price-wrapper .price,
.product-wrapper .product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ct24-primary);
}
.product-wrapper .price-wrapper .price-old,
.product-wrapper .price-old {
  color: var(--ct24-text-muted);
  text-decoration: line-through;
  font-size: .85rem;
  font-weight: 400;
}

/* Ribbon / Badge */
.ribbon-wrapper .ribbon,
.ribbon {
  background: var(--ct24-accent) !important;
  color: var(--ct24-white) !important;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .04em;
  border-radius: 4px;
}
.ribbon.ribbon-danger { background: #b90000 !important; }
.ribbon.ribbon-success { background: var(--ct24-primary) !important; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  background: var(--ct24-gradient);
  border: none;
  color: var(--ct24-white);
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 50px;
  padding: .55rem 1.6rem;
  transition: filter var(--ct24-transition), transform var(--ct24-transition), box-shadow var(--ct24-transition);
  box-shadow: 0 4px 14px rgba(95,122,42,.35);
}
.btn-primary:hover,
button.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(95,122,42,.45);
  color: var(--ct24-white);
}
.btn-primary:active {
  transform: translateY(0);
  filter: brightness(.96);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--ct24-primary);
  color: var(--ct24-primary);
  font-weight: 700;
  border-radius: 50px;
  padding: .5rem 1.5rem;
  transition: background var(--ct24-transition), color var(--ct24-transition);
}
.btn-secondary:hover {
  background: var(--ct24-primary);
  color: var(--ct24-white);
}

.btn-outline-primary {
  border-color: var(--ct24-primary);
  color: var(--ct24-primary);
  border-radius: 50px;
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--ct24-primary);
  border-color: var(--ct24-primary);
}

/* Add-to-cart button */
.btn-basket,
.btn[name="in_den_warenkorb"],
.product-footer .btn {
  background: var(--ct24-gradient);
  border: none;
  color: var(--ct24-white) !important;
  font-weight: 700;
  border-radius: 8px;
  transition: filter var(--ct24-transition), transform var(--ct24-transition);
  box-shadow: 0 3px 10px rgba(95,122,42,.3);
}
.btn-basket:hover,
.btn[name="in_den_warenkorb"]:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: var(--ct24-white) !important;
}

/* ─── Category Grid / Product List ─────────────────────────── */
.product-list-wrapper .product-cell,
.list-wrapper .product-cell {
  margin-bottom: 1.5rem;
}

/* Product list in grid – article card */
.product-list-item .product-image-wrapper {
  border-radius: var(--ct24-radius) var(--ct24-radius) 0 0;
  overflow: hidden;
}
.product-list-item {
  border-radius: var(--ct24-radius-lg);
  box-shadow: var(--ct24-shadow-sm);
  overflow: hidden;
  background: var(--ct24-white);
  transition: transform var(--ct24-transition), box-shadow var(--ct24-transition);
  height: 100%;
}
.product-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--ct24-shadow-md);
}

/* ─── Category Cards ─────────────────────────────────────────── */
.ct24-category-section {
  padding: 3rem 0;
  background: var(--ct24-bg);
}
.ct24-cat-card {
  position: relative;
  border-radius: var(--ct24-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  background: var(--ct24-primary);
  box-shadow: var(--ct24-shadow-sm);
  transition: transform var(--ct24-transition), box-shadow var(--ct24-transition);
}
.ct24-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ct24-shadow-md);
}
.ct24-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ct24-cat-card:hover .ct24-cat-card__img { transform: scale(1.05); }
.ct24-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
  transition: background 0.3s ease;
}
.ct24-cat-card:hover .ct24-cat-card__overlay {
  background: linear-gradient(to top, rgba(244,152,44,.8) 0%, rgba(0,0,0,.08) 60%, transparent 100%);
}
.ct24-cat-card__label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: var(--ct24-white);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.ct24-cat-card__label small {
  display: block;
  font-weight: 400;
  font-size: .78rem;
  opacity: .85;
  margin-top: .2rem;
}

/* ─── USP / Feature Strip ───────────────────────────────────── */
.ct24-usp-strip {
  background: var(--ct24-primary);
  color: var(--ct24-white);
  padding: 2rem 0;
}
.ct24-usp-item {
  text-align: center;
  padding: .5rem 1rem;
}
.ct24-usp-item__icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  display: block;
}
.ct24-usp-item__title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .2rem;
}
.ct24-usp-item__sub {
  font-size: .8rem;
  opacity: .85;
}

/* ─── Motivating Text Block ─────────────────────────────────── */
.ct24-inspire-block {
  background: var(--ct24-white);
  padding: 3rem 0;
}
.ct24-inspire-block__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.ct24-inspire-block__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
  color: #2a2a2a;
  margin-bottom: 1rem;
  position: relative;
}
.ct24-inspire-block__quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--ct24-border);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.ct24-inspire-block__text {
  color: var(--ct24-text-muted);
  line-height: 1.7;
  font-size: .95rem;
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-wrapper {
  background: transparent;
  padding: .6rem 0;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  font-size: .82rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--ct24-text-muted);
}
.breadcrumb-item a { color: var(--ct24-primary); }
.breadcrumb-item.active { color: var(--ct24-text-muted); }

/* ─── Product Detail Page ───────────────────────────────────── */
.buy-box {
  background: var(--ct24-white);
  border-radius: var(--ct24-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ct24-shadow-sm);
  border: 1px solid var(--ct24-border);
}
.product-prices .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ct24-primary);
}
.product-prices .price-old {
  font-size: 1.1rem;
  color: var(--ct24-text-muted);
  text-decoration: line-through;
}
.availability-wrapper .availability {
  font-weight: 600;
  font-size: .9rem;
}
.availability-wrapper .in-stock { color: var(--ct24-primary); }
.availability-wrapper .out-of-stock { color: #b90000; }

/* Tabs (Produktbeschreibung) */
.nav-tabs {
  border-bottom: 2px solid var(--ct24-border);
}
.nav-tabs .nav-link {
  color: var(--ct24-text-muted);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: .6rem 1rem;
  transition: color var(--ct24-transition), border-color var(--ct24-transition);
}
.nav-tabs .nav-link:hover { color: var(--ct24-primary); }
.nav-tabs .nav-link.active {
  color: var(--ct24-primary);
  border-bottom-color: var(--ct24-primary);
  background: transparent;
  font-weight: 700;
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer#footer,
footer.footer-wrapper {
  background: var(--ct24-primary);
  color: rgba(255,255,255,.85);
  padding-top: 3rem;
}
footer h4,
footer .footer-heading,
footer .widget-heading {
  color: var(--ct24-white) !important;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
footer a {
  color: rgba(255,255,255,.8) !important;
  font-size: .875rem;
  transition: color var(--ct24-transition), padding-left var(--ct24-transition);
}
footer a:hover {
  color: var(--ct24-white) !important;
  padding-left: 4px;
}
footer .footer-list li {
  margin-bottom: .35rem;
  list-style: none;
}
footer .footer-list { padding-left: 0; }
.copyright-wrapper,
footer .copyright {
  background: rgba(0,0,0,.2);
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  padding: 1rem 0;
  margin-top: 2rem;
}
.copyright-wrapper a { color: rgba(255,255,255,.75) !important; font-size: .8rem; }

/* Payment icons in footer */
.footer-payment-icons img {
  height: 28px;
  width: auto;
  margin: 3px 4px;
  filter: brightness(0) invert(1);
  opacity: .8;
  transition: opacity var(--ct24-transition);
}
.footer-payment-icons img:hover { opacity: 1; }

/* ─── Forms & Inputs ─────────────────────────────────────────── */
.form-control {
  border-radius: var(--ct24-radius);
  border: 1px solid var(--ct24-border);
  font-size: .9rem;
  transition: border-color var(--ct24-transition), box-shadow var(--ct24-transition);
}
.form-control:focus {
  border-color: var(--ct24-primary);
  box-shadow: 0 0 0 3px rgba(95,122,42,.15);
}

/* ─── Alerts ────────────────────────────────────────────────── */
.alert-success {
  background: rgba(95,122,42,.1);
  border-color: rgba(95,122,42,.3);
  color: var(--ct24-primary-dark);
}
.alert-danger { background: rgba(185,0,0,.08); border-color: rgba(185,0,0,.3); }

/* ─── Page Header / Kategorie-Banner ───────────────────────── */
.category-image-header {
  position: relative;
  border-radius: var(--ct24-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.category-image-header img {
  border-radius: var(--ct24-radius-lg);
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

/* ─── Scroll-to-top Button ──────────────────────────────────── */
#scroll-to-top,
.scroll-to-top {
  background: var(--ct24-gradient);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: var(--ct24-shadow-md);
  color: var(--ct24-white);
  transition: transform var(--ct24-transition), box-shadow var(--ct24-transition);
}
#scroll-to-top:hover { transform: translateY(-3px); box-shadow: var(--ct24-shadow-lg); }

/* ─── Sticky Add-to-Cart (Mobile) ───────────────────────────── */
@media (max-width: 767px) {
  .sticky-buy-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ct24-white);
    padding: .75rem 1rem;
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
    z-index: 1000;
    border-top: 2px solid var(--ct24-primary);
  }
}

/* ─── Loading / Placeholder States ──────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: ct24-skeleton 1.4s ease infinite;
  border-radius: var(--ct24-radius);
}
@keyframes ct24-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes ct24-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ct24-animate-up {
  animation: ct24-fadeUp .5s ease forwards;
}

/* ─── Utility ───────────────────────────────────────────────── */
.text-primary { color: var(--ct24-primary) !important; }
.bg-primary    { background: var(--ct24-primary) !important; }
.bg-ct24       { background: var(--ct24-bg) !important; }
.shadow-ct24   { box-shadow: var(--ct24-shadow-md) !important; }
.rounded-ct24  { border-radius: var(--ct24-radius-lg) !important; }

/* ─── Startseite: OPC-Container per JS neu positioniert ──────
 *
 * JS (ct24-homepage.js) verschiebt .opc-Container und .ct24-trust-bar
 * von #main-wrapper in #content-wrapper an die korrekte Position.
 * CSS versteckt sie vorab; nach dem Verschieben greifen die
 * Selektoren nicht mehr → auto-sichtbar ohne FOUC.
 */
#main-wrapper:has(.ct24-hero) > .opc-Container,
#main-wrapper:has(.ct24-hero) > .ct24-trust-bar {
  display: none;
}

/* Volle Breite wenn JS sie in content-wrapper verschoben hat */
#content-wrapper > .opc-Container {
  width: 100%;
  max-width: 100%;
}

/* ─── Leere / nicht-initialisierte Slick-Slider verbergen ────
 *
 * "Neu im Sortiment" mit < 2 Produkten initialisiert Slick nicht →
 * 400–500 px Loch. Diese Regel versteckt solche Abschnitte komplett.
 */
.product-slider-wrapper:not(:has(.slick-initialized)) {
  display: none !important;
}

/* ─── OPC-Slider Überschrift ────────────────────────────── */
.opc-Container h1.hr-sect,
.opc-Container h2.hr-sect,
.opc-Container .hr-sect {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
  position: relative;
}
.opc-Container .hr-sect::before,
.opc-Container .hr-sect::after {
  background-color: var(--ct24-border);
}

/* ─── Search Bar: korrekte Selektoren für NOVA-Markup ────── */
.main-search-wrapper input[type="search"],
.main-search-wrapper input[type="text"],
#searchform input {
  border: 2px solid var(--ct24-border) !important;
  border-right: none !important;
  border-radius: 50px 0 0 50px !important;
  box-shadow: none !important;
  outline: none !important;
}
.main-search-wrapper input[type="search"]:focus,
.main-search-wrapper input[type="text"]:focus {
  border-color: var(--ct24-primary) !important;
  box-shadow: 0 0 0 3px rgba(95,122,42,.15) !important;
}
.main-search-wrapper button[type="submit"],
.main-search-wrapper .btn-search {
  border-radius: 0 50px 50px 0 !important;
  background: var(--ct24-gradient) !important;
  border: none !important;
  color: #fff !important;
}

/* ─── SEO Intro ──────────────────────────────────────────────── */
.ct24-seo-intro {
  padding: 4rem 0;
  background: linear-gradient(160deg, #f3f8ec 0%, #ffffff 60%);
  border-top: 1px solid var(--ct24-border);
  border-bottom: 1px solid var(--ct24-border);
  position: relative;
  overflow: hidden;
}
/* Dezente Deko-Kreise im Hintergrund */
.ct24-seo-intro::before,
.ct24-seo-intro::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ct24-seo-intro::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(95,122,42,.07) 0%, transparent 70%);
  top: -80px; right: -60px;
}
.ct24-seo-intro::after {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244,152,44,.06) 0%, transparent 70%);
  bottom: -60px; left: -40px;
}
.ct24-seo-intro__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #2a2a2a;
  margin-bottom: 1rem;
}
.ct24-seo-intro__text {
  color: var(--ct24-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
}

/* ─── Story Section (Bild + Text) ───────────────────────────── */
.ct24-story {
  padding: 5rem 0;
  background: var(--ct24-bg);
}
.ct24-story__img-wrap {
  position: relative;
  border-radius: var(--ct24-radius-lg);
  overflow: hidden;
  box-shadow: var(--ct24-shadow-lg);
}
.ct24-story__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.ct24-story__img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ct24-accent);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  line-height: 1.1;
  min-width: 80px;
}
.ct24-story__img-badge strong {
  display: block;
  font-size: 1.8rem;
}
.ct24-story__img-badge span {
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ct24-story__headline {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: #2a2a2a;
  margin-bottom: 1.25rem;
}
.ct24-story__text {
  color: var(--ct24-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
@media (max-width: 767px) {
  .ct24-story { padding: 3rem 0; }
  .ct24-story__img { height: 260px; }
}

/* ─── SEO Footer ─────────────────────────────────────────────── */
.ct24-seo-footer {
  background: var(--ct24-white);
  padding: 3rem 0;
  border-top: 1px solid var(--ct24-border);
}
.ct24-seo-footer__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2a2a2a;
}
.ct24-seo-footer p {
  color: var(--ct24-text-muted);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: .75rem;
}
.ct24-seo-footer a {
  color: var(--ct24-primary);
}
.ct24-seo-footer a:hover {
  color: var(--ct24-primary-dark);
}

/* ─── OPC-Container Abstände im content-wrapper ─────────────── */
#content-wrapper > .opc-Container > div {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

