/* ========================================
   BassImAuto / caraudiotest.de — Production Styles
   Design-Spec v1.0 — Dark-Theme Hub Page
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", "Arial", "Helvetica", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #E8EDF4;
  background-color: #0B0E12;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4F7CAC;
  text-decoration: none;
  transition: color 150ms ease-out;
}

a:hover {
  color: #C97832;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E8EDF4;
}

h1 { font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

.lead-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #B2BCC9;
}

.u-muted {
  color: #7E8896;
  font-size: 14px;
}

.u-mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.u-divider {
  border: none;
  height: 1px;
  background: #283241;
  margin: 24px 0;
}

/* --- Layout Container --- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.page__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px 0 64px;
}

/* --- Section Headers --- */
.section {
  margin-bottom: 24px;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #283241;
}

.section__link {
  font-size: 14px;
  font-weight: 500;
  color: #4F7CAC;
  transition: color 150ms ease-out;
}

.section__link:hover {
  color: #C97832;
}

/* ── Section Title (v2.10.0 rebuild) ── */
.section__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 650;
  color: #E8EDF4;
}

/* ── Section Header Link (v2.10.0 rebuild) ── */
.section__header-link {
  font-size: 14px;
  font-weight: 500;
  color: #4F7CAC;
  text-decoration: none;
  transition: color 150ms ease-out;
  white-space: nowrap;
}
.section__header-link:hover {
  color: #C97832;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 22, 29, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #283241;
  height: 64px;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.site-header__brand-mark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #E8EDF4;
  line-height: 1.2;
  text-decoration: none;
}

.site-header__brand-mark .accent {
  color: #C97832;
}

.site-header__brand-claim {
  font-size: 11px;
  color: #7E8896;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #B2BCC9;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 150ms ease-out, background 150ms ease-out;
  position: relative;
}

.site-header__nav-link:hover {
  color: #E8EDF4;
  background: rgba(255,255,255,0.04);
}

.site-header__nav-link[aria-current="page"] {
  color: #E8EDF4;
}

.site-header__nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #C97832;
  border-radius: 1px;
}

.site-header__utility {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header__search {
  display: none;
  align-items: center;
  gap: 6px;
  color: #7E8896;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}

.site-header__search:hover {
  border-color: #344152;
  color: #B2BCC9;
}

.site-header__search svg {
  flex-shrink: 0;
}

/* Mobile menu toggle */
.site-header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  color: #B2BCC9;
  cursor: pointer;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}

.site-header__menu-toggle:hover {
  border-color: #344152;
  color: #E8EDF4;
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid #4F7CAC;
  outline-offset: 2px;
}

/* Mobile navigation overlay */
.site-header__mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #11161D;
  border-top: 1px solid #283241;
  padding: 24px 16px;
  z-index: 99;
  overflow-y: auto;
}

.site-header__mobile-nav.is-open {
  display: block;
}

.site-header__mobile-nav .site-header__nav-link {
  display: block;
  font-size: 17px;
  padding: 16px 0;
  border-bottom: 1px solid #1F2836;
  border-radius: 0;
}

.site-header__mobile-nav .site-header__nav-link[aria-current="page"]::after {
  display: none;
}

.site-header__mobile-nav .site-header__search {
  display: flex;
  margin-top: 16px;
  width: 100%;
}

/* --- CTA Button in Header --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  height: 40px;
  transition: background 150ms ease, transform 150ms ease-out;
  text-decoration: none;
  white-space: nowrap;
}

.button:focus-visible {
  outline: 2px solid #4F7CAC;
  outline-offset: 2px;
}

.button--primary {
  background: #C97832;
  color: #11161D;
}

.button--primary:hover {
  background: #D98942;
  transform: translateY(-1px);
  color: #11161D;
}

.button--primary:active {
  background: #A35F25;
  transform: translateY(0);
}

.button--secondary {
  background: transparent;
  color: #B2BCC9;
  border: 1px solid #283241;
}

.button--secondary:hover {
  border-color: #344152;
  color: #E8EDF4;
  background: rgba(255,255,255,0.03);
}

.button--full {
  width: 100%;
}

/* Small button variant */
.button--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 40px 0 48px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #283241, transparent);
}

.hero__content {
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C97832;
  margin-bottom: 16px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #C97832;
}

.hero__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #E8EDF4;
  margin-bottom: 16px;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: #B2BCC9;
  max-width: 600px;
  margin-bottom: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.hero__stat-value {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 600;
  color: #E8EDF4;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__stat-label {
  font-size: 13px;
  color: #7E8896;
  font-weight: 400;
  margin-top: 4px;
}

/* ========================================
   REVIEW GRID (Hub Page)
   ======================================== */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

/* --- Review Card --- */
.review-card {
  background: #171D26;
  border: 1px solid #283241;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: #344152;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.review-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #11161D;
}

.review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E8EDF4;
  background: rgba(11, 14, 18, 0.8);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(40, 50, 65, 0.6);
  backdrop-filter: blur(4px);
}

.review-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-card__title {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #E8EDF4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__title a {
  color: inherit;
  text-decoration: none;
}

.review-card__title a:hover {
  color: #C97832;
}

.review-card__rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-card__excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #B2BCC9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

.review-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: #E8EDF4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 150ms ease-out;
  text-decoration: none;
  align-self: flex-start;
}

.review-card__cta:hover {
  color: #C97832;
}

.review-card__cta svg {
  transition: transform 150ms ease-out;
}

.review-card__cta:hover svg {
  transform: translateX(2px);
}

/* ========================================
   STAR RATING
   ======================================== */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #C97832;
}

.star-rating__icon {
  width: 16px;
  height: 16px;
}

.star-rating__icon--empty {
  color: #283241;
  opacity: 0.5;
}

.star-rating__value {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #B2BCC9;
}

/* ========================================
   PRODUCT SCORE
   ======================================== */
.product-score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.product-score__value {
  font-size: 22px;
  font-weight: 700;
  color: #E8EDF4;
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-score__label {
  font-size: 12px;
  color: #7E8896;
  font-weight: 500;
}

.product-score--lg .product-score__value {
  font-size: 48px;
}

.product-score--lg .product-score__label {
  font-size: 14px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-module {
  background: #11161D;
  border: 1px solid #283241;
  border-radius: 14px;
  padding: 20px;
}

.sidebar-module__title {
  font-size: 14px;
  font-weight: 600;
  color: #E8EDF4;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #283241;
}

/* Popular posts list */
.popular-list__item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(40, 50, 65, 0.4);
}

.popular-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-list__rank {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  color: #344152;
  line-height: 1.3;
  min-width: 24px;
  text-align: right;
}

.popular-list__content {
  flex: 1;
  min-width: 0;
}

.popular-list__title {
  font-size: 14px;
  font-weight: 500;
  color: #E8EDF4;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 150ms ease-out;
}

a.popular-list__title:hover {
  color: #C97832;
}

.popular-list__meta {
  font-size: 12px;
  color: #7E8896;
  margin-top: 4px;
}

/* Categories */
.category-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(40, 50, 65, 0.4);
}

.category-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-list__name {
  font-size: 14px;
  font-weight: 500;
  color: #B2BCC9;
  transition: color 150ms ease-out;
}

a.category-list__name:hover {
  color: #C97832;
}

.category-list__count {
  font-size: 12px;
  font-weight: 500;
  color: #7E8896;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
}

/* Disclosure */
.sidebar-module__disclosure {
  font-size: 12px;
  color: #7E8896;
  line-height: 1.5;
}

.sidebar-module__disclosure a {
  font-weight: 500;
}

/* ========================================
   CATEGORY FILTER BAR
   ======================================== */
.category-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.category-filter__item {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #B2BCC9;
  padding: 8px 16px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  transition: all 150ms ease-out;
  white-space: nowrap;
}

.category-filter__item:hover {
  border-color: #344152;
  color: #E8EDF4;
}

.category-filter__item[aria-selected="true"] {
  background: #C97832;
  color: #11161D;
  border-color: #C97832;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #11161D;
  border-top: 1px solid #283241;
  padding: 40px 0 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.site-footer__brand {
  margin-bottom: 8px;
}

.site-footer__brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #E8EDF4;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.site-footer__brand-name .accent {
  color: #C97832;
}

.site-footer__description {
  font-size: 14px;
  color: #9AA3B3;
  line-height: 1.5;
  max-width: 360px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-footer__link {
  font-size: 14px;
  color: #9AA3B3;
  font-weight: 500;
  padding: 4px 0;
  transition: color 150ms ease-out;
}

.site-footer__link:hover {
  color: #E8EDF4;
}

.site-footer__meta {
  font-size: 12px;
  color: #7E8896;
  line-height: 1.5;
  padding-top: 24px;
  border-top: 1px solid #1F2836;
  margin-top: 24px;
}

.site-footer__meta a {
  color: #9AA3B3;
}

.site-footer__meta a:hover {
  color: #C97832;
}

/* ========================================
   RESPONSIVE: Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .page__container {
    padding: 0 24px;
  }

  .site-header {
    height: 72px;
  }

  .site-header__inner {
    padding: 0 24px;
  }

  .site-header__brand-mark {
    font-size: 22px;
  }

  .site-header__brand-claim {
    font-size: 11px;
  }

  .site-header__nav {
    display: flex;
  }

  .site-header__menu-toggle {
    display: none;
  }

  .site-header__mobile-nav {
    display: none !important;
  }

  .hamburger-btn {
    display: none;
  }
  .mobile-overlay,
  .mobile-overlay.is-open {
    display: none !important;
  }

  .site-header__search {
    display: flex;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .lead-text {
    font-size: 18px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__stats {
    gap: 32px 56px;
  }

  .hero__stat-value {
    font-size: 32px;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .review-card__title {
    font-size: 20px;
  }

  .page__main {
    gap: 32px;
    padding: 48px 0 80px;
  }

  .page__sidebar {
    gap: 20px;
  }

  .product-score--lg .product-score__value {
    font-size: 40px;
  }

  .site-footer {
    padding: 56px 0 40px;
  }

  .site-footer__inner {
    padding: 0 24px;
  }
}

/* ========================================
   RESPONSIVE: Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .page__container {
    padding: 0 32px;
  }

  .site-header__inner {
    padding: 0 32px;
  }

  .hero__title {
    font-size: 42px;
  }

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page__main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .product-score--lg .product-score__value {
    font-size: 48px;
  }

  .site-footer__inner {
    padding: 0 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
  }
}

/* ========================================
   RESPONSIVE: Large Desktop (1280px+)
   ======================================== */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 46px;
  }

  .hero__stat-value {
    font-size: 36px;
  }

  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
}

/* ========================================
   KEYFRAMES (subtle entrance)
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card {
  animation: fadeInUp 400ms ease-out both;
}

.review-card:nth-child(1) { animation-delay: 50ms; }
.review-card:nth-child(2) { animation-delay: 100ms; }
.review-card:nth-child(3) { animation-delay: 150ms; }
.review-card:nth-child(4) { animation-delay: 200ms; }
.review-card:nth-child(5) { animation-delay: 250ms; }
.review-card:nth-child(6) { animation-delay: 300ms; }

/* ========================================
   DSGVO COOKIE BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #11161D;
  border-top: 1px solid #283241;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  padding: 20px 16px 24px;
  transform: translateY(0);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
  opacity: 1;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.cookie-banner__title {
  font-size: 16px;
  font-weight: 650;
  color: #E8EDF4;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.55;
  color: #B2BCC9;
  max-width: 720px;
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__hint {
  font-size: 13px;
  line-height: 1.5;
  color: #7E8896;
  margin-top: 8px;
  max-width: 720px;
}

.cookie-banner__hint a {
  color: #4F7CAC;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__hint a:hover {
  color: #C97832;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: none;
  border-radius: 10px;
  padding: 0 20px;
  height: 44px;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease-out;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid #4F7CAC;
  outline-offset: 2px;
}

.cookie-banner__btn--primary {
  background: #C97832;
  color: #11161D;
}

.cookie-banner__btn--primary:hover {
  background: #D98942;
  transform: translateY(-1px);
  color: #11161D;
}

.cookie-banner__btn--primary:active {
  background: #A35F25;
  transform: translateY(0);
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: #B2BCC9;
  border: 1px solid #283241;
}

.cookie-banner__btn--secondary:hover {
  border-color: #344152;
  color: #E8EDF4;
  background: rgba(255,255,255,0.03);
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: #7E8896;
  border: 1px solid transparent;
}

.cookie-banner__btn--ghost:hover {
  color: #B2BCC9;
  background: rgba(255,255,255,0.03);
}

/* Customize panel */
.cookie-banner__customize {
  max-width: 1280px;
  margin: 12px auto 0;
  animation: slideDown 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-banner__customize-inner {
  background: #171D26;
  border: 1px solid #283241;
  border-radius: 14px;
  padding: 20px;
}

.cookie-banner__customize-title {
  font-size: 15px;
  font-weight: 650;
  color: #E8EDF4;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #283241;
}

.cookie-banner__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(40, 50, 65, 0.4);
}

.cookie-banner__option:last-of-type {
  border-bottom: none;
}

.cookie-banner__option-info {
  flex: 1;
  min-width: 0;
}

.cookie-banner__option-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #E8EDF4;
  margin-bottom: 2px;
}

.cookie-banner__option-desc {
  display: block;
  font-size: 12px;
  color: #7E8896;
  line-height: 1.45;
}

.cookie-banner__option-state {
  font-size: 12px;
  font-weight: 600;
  color: #5E9D63;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle switch */
.cookie-banner__toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-banner__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-banner__toggle-slider {
  position: absolute;
  inset: 0;
  background: #283241;
  border-radius: 12px;
  transition: background 200ms ease;
}

.cookie-banner__toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #7E8896;
  border-radius: 50%;
  transition: transform 200ms ease, background 200ms ease;
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-slider {
  background: rgba(201, 120, 50, 0.3);
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-slider::before {
  transform: translateX(16px);
  background: #C97832;
}

.cookie-banner__toggle input:focus-visible + .cookie-banner__toggle-slider {
  outline: 2px solid #4F7CAC;
  outline-offset: 2px;
}

.cookie-banner__customize-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #283241;
}

/* Slide-in animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: tablet+ */
@media (min-width: 768px) {
  .cookie-banner {
    padding: 24px 24px 28px;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .cookie-banner__content {
    flex: 1;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
  }

  .cookie-banner__customize-inner {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .cookie-banner {
    padding: 24px 32px 28px;
  }
}

/* ========================================
   SEARCH PAGE
   ======================================== */
.search-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.search-page__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #E8EDF4;
  margin-bottom: 8px;
}

.search-page__lead {
  font-size: 16px;
  color: #7E8896;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* --- Search Form --- */
.search-form {
  margin-bottom: 32px;
}

.search-form__input-group {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.search-form__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7E8896;
  pointer-events: none;
  flex-shrink: 0;
}

.search-form__input {
  flex: 1;
  height: 52px;
  padding: 0 16px 0 48px;
  background: #11161D;
  border: 1px solid #283241;
  border-radius: 12px;
  font-family: "Inter", "Arial", "Helvetica", sans-serif;
  font-size: 16px;
  color: #E8EDF4;
  outline: none;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.search-form__input::placeholder {
  color: #7E8896;
}

.search-form__input:focus {
  border-color: #C97832;
  box-shadow: 0 0 0 3px rgba(201, 120, 50, 0.15);
}

.search-form__filters {
  margin-top: 12px;
}

.search-form__select {
  height: 40px;
  padding: 0 36px 0 14px;
  background: #11161D;
  border: 1px solid #283241;
  border-radius: 10px;
  font-family: "Inter", "Arial", "Helvetica", sans-serif;
  font-size: 14px;
  color: #B2BCC9;
  outline: none;
  cursor: pointer;
  transition: border-color 150ms ease-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237E8896' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 180px;
}

.search-form__select:focus {
  border-color: #C97832;
}

.search-form__select:hover {
  border-color: #344152;
}

/* --- Result count --- */
.search-page__count {
  font-size: 15px;
  font-weight: 500;
  color: #B2BCC9;
  margin-bottom: 20px;
  display: none;
}

/* --- Empty / initial / error states --- */
.search-page__empty {
  text-align: center;
  padding: 64px 16px;
  color: #7E8896;
  font-size: 16px;
  line-height: 1.5;
}

/* --- Loading skeleton --- */
.search-page__loading {
  display: block;
}

.search-page__skeleton {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 12px;
  background: #171D26;
  border: 1px solid #283241;
  border-radius: 14px;
  animation: skeletonPulse 1.5s ease-in-out infinite;
}

.search-page__skeleton-thumb {
  width: 80px;
  height: 50px;
  border-radius: 8px;
  background: #283241;
  flex-shrink: 0;
}

.search-page__skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-page__skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: #283241;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* --- Search results --- */
.search-results {
  display: none;
}

.search-result {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 12px;
  background: #171D26;
  border: 1px solid #283241;
  border-radius: 14px;
  transition: border-color 180ms ease-out, transform 180ms ease-out;
}

.search-result:hover {
  border-color: #344152;
  transform: translateY(-1px);
}

.search-result__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #11161D;
}

.search-result__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result__body {
  flex: 1;
  min-width: 0;
}

.search-result__category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4F7CAC;
  margin-bottom: 4px;
  display: block;
}

.search-result__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #E8EDF4;
  margin-bottom: 6px;
}

.search-result__title a {
  color: inherit;
  text-decoration: none;
}

.search-result__title a:hover {
  color: #C97832;
}

.search-result__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.search-result__rating .star-rating {
  font-size: 13px;
}

.search-result__rating .product-score__value {
  font-size: 18px;
  font-weight: 700;
  color: #C97832;
}

.search-result__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: #B2BCC9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Search result stars --- */
.search-result .star-rating__icon {
  width: 14px;
  height: 14px;
}

.search-result .star-rating__icon--empty {
  color: #344152;
  opacity: 0.5;
}

.search-result .star-rating__value {
  font-size: 12px;
  color: #7E8896;
  margin-left: 4px;
}

/* --- Search page responsive --- */
@media (min-width: 768px) {
  .search-page {
    padding: 48px 0 80px;
  }

  .search-page__title {
    font-size: 32px;
  }

  .search-form__input {
    height: 56px;
    font-size: 17px;
  }
}

@media (min-width: 1024px) {
  .search-page__title {
    font-size: 36px;
  }
}

/* ========================================
   HALF STAR (for search results)
   ======================================== */
.star-rating__icon--half {
  color: #C97832;
}


/* H5: Kategorie-Counts ausblenden (0-Werte sind irreführend) */
.category-filter__count {
    display: none;
}

/* ========================================
   HEADER SEARCH WRAPPER (Inline Suche)
   ======================================== */

/* Wrapper — contains toggle, field, and dropdown */
.site-header__search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Toggle button (visible on mobile, hidden on desktop) */
.site-header__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  color: #7E8896;
  cursor: pointer;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}

.site-header__search-toggle:hover {
  border-color: #344152;
  color: #B2BCC9;
}

/* Search field container (hidden on mobile by default, always visible on desktop) */
.site-header__search-field {
  display: none;
  align-items: center;
  position: relative;
  width: 220px;
}

.site-header__search-wrapper.is-open .site-header__search-field {
  display: flex;
}

.site-header__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #7E8896;
  pointer-events: none;
  flex-shrink: 0;
}

/* The actual input */
.site-header__search-input {
  width: 100%;
  padding: 8px 32px 8px 36px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #11161D;
  color: #E8EDF4;
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  outline: none;
  transition: border-color 150ms ease-out;
}

.site-header__search-input::placeholder {
  color: #7E8896;
  font-size: 14px;
}

.site-header__search-input:focus {
  border-color: #C97832;
}

/* Close button (mobile) */
.site-header__search-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #7E8896;
  cursor: pointer;
  flex-shrink: 0;
}

.site-header__search-close:hover {
  color: #E8EDF4;
}

/* --- Dropdown results --- */
.site-header__search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #171D26;
  border: 1px solid #283241;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 9999;
  min-width: 320px;
  max-height: 420px;
  overflow-y: auto;
}

.site-header__search-results-inner {
  padding: 4px 0;
}

/* Single result item */
.hdr__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 100ms ease-out;
  border-bottom: 1px solid #1F2836;
}

.hdr__result:last-child {
  border-bottom: none;
}

.hdr__result:hover {
  background: #1F2836;
}

.hdr__result-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hdr__result-category {
  font-size: 11px;
  color: #4F7CAC;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hdr__result-title {
  font-size: 14px;
  color: #E8EDF4;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr__result-excerpt {
  font-size: 12px;
  color: #7E8896;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr__result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 12px;
}

.hdr__score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 650;
  color: #C97832;
}

.hdr__stars {
  display: flex;
  gap: 1px;
}

.hdr__star {
  display: block;
}

/* Footer link "Alle Ergebnisse" */
.site-header__search-footer {
  border-top: 1px solid #283241;
  padding: 8px 14px;
  text-align: center;
}

.site-header__search-all {
  font-size: 13px;
  color: #4F7CAC;
  text-decoration: none;
  font-weight: 500;
}

.site-header__search-all:hover {
  color: #C97832;
}


/* ───────────────────────────────────
   Mobile Hamburger Button (v3.1 class names)
   ─────────────────────────────────── */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  color: #B2BCC9;
  cursor: pointer;
  padding: 0;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}
.hamburger-btn:hover {
  border-color: #344152;
  color: #E8EDF4;
}
.hamburger-btn:focus-visible {
  outline: 2px solid #4F7CAC;
  outline-offset: 2px;
}
.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ───────────────────────────────────
   Mobile Navigation Overlay (v3.1 class names)
   ─────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #11161D;
  border-top: 1px solid #283241;
  padding: 24px 16px;
  z-index: 99;
  overflow-y: auto;
}
.mobile-overlay.is-open {
  display: block;
}

.mobile-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: transparent;
  color: #B2BCC9;
  cursor: pointer;
  transition: border-color 150ms ease-out, color 150ms ease-out;
}
.mobile-overlay__close:hover {
  border-color: #344152;
  color: #E8EDF4;
}

.mobile-overlay__nav {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.mobile-overlay__link {
  display: block;
  font-size: 17px;
  padding: 16px 0;
  border-bottom: 1px solid #1F2836;
  color: #B2BCC9;
  text-decoration: none;
  transition: color 150ms ease-out;
}
.mobile-overlay__link:hover {
  color: #E8EDF4;
}
.mobile-overlay__link[aria-current="page"] {
  color: #C97832;
}

/* ── Header Logo ── */
.site-header__logo {
  height: 32px;
  width: auto;
  display: block;
}

/* --- Mobile full-width --- */
@media (max-width: 767px) {
  .site-header__search-wrapper.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }

  .site-header__search-wrapper.is-open .site-header__search-field {
    display: flex;
    width: 100%;
  }

  .site-header__search-wrapper.is-open .site-header__search-toggle {
    display: none;
  }

  .site-header__search-wrapper.is-open .site-header__search-close {
    display: flex;
  }

  .site-header__search-results {
    position: fixed;
    top: 60px;
    left: 8px;
    right: 8px;
    min-width: auto;
    max-height: 60vh;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  }

  .site-header__search-input {
    height: 36px;
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* --- Desktop: always visible --- */
@media (min-width: 768px) {
  .site-header__search-toggle {
    display: none;
  }

  .site-header__search-field {
    display: flex;
  }

  .site-header__search-close {
    display: none !important;
  }

  .site-header__search-wrapper.is-open .site-header__search-field {
    display: flex;
  }
}

/* --- Mobile nav search --- */
.site-header__mobile-nav .site-header__search-wrapper {
  margin-top: 16px;
  width: 100%;
}

.site-header__mobile-nav .site-header__search-field {
  width: 100%;
}

.site-header__mobile-nav .site-header__search-toggle {
  display: flex !important;
}

.site-header__mobile-nav .site-header__search-input {
  font-size: 16px;
  height: 44px;
  padding: 8px 16px 8px 38px;
}

.site-header__mobile-nav .site-header__search-results {
  position: static;
  box-shadow: none;
  border: none;
  border-top: 1px solid #283241;
  border-radius: 0;
  min-width: auto;
  max-height: none;
}

.site-header__mobile-nav .site-header__search-results-inner {
  padding: 0;
}
