/* ============================================================
   OUTDOORKOMPASS — Professional Design System
   ============================================================ */

:root {
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --surface:     #f1f5f1;
  --border:      #e2e8e2;
  --text:        #111827;
  --muted:       #6b7280;
  --subtle:      #9ca3a0;
  --green-900:   #14532d;
  --green-700:   #15803d;
  --green-600:   #16a34a;
  --green-100:   #dcfce7;
  --amber-600:   #d97706;
  --amber-100:   #fef3c7;
  --red-600:     #dc2626;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 28px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);
  --radius:      8px;
  --radius-lg:   12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}

/* ── LAYOUT ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--green-900); color: var(--white); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green-900);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--green-900);
  letter-spacing: -0.3px;
}

.logo-name span { color: var(--amber-600); }

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.header-search input:focus {
  border-color: var(--green-600);
  background: var(--white);
}

.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.header-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-trust svg { color: var(--green-600); }

/* ── MAIN NAV ── */
.site-nav {
  border-top: 1px solid var(--border);
  background: var(--off-white);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-list a {
  display: block;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--green-900);
  border-bottom-color: var(--green-700);
}

/* ── HERO ── */
.hero {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5' d='M0,250 Q62,200 125,250 Q187,300 250,250 Q312,200 375,250 Q437,300 500,250'/%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5' d='M0,220 Q62,170 125,220 Q187,270 250,220 Q312,170 375,220 Q437,270 500,220'/%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5' d='M0,280 Q62,230 125,280 Q187,330 250,280 Q312,230 375,280 Q437,330 500,280'/%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1.5' d='M0,180 Q75,110 150,180 Q225,250 300,180 Q375,110 500,170'/%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1.5' d='M0,320 Q75,390 150,320 Q225,250 300,320 Q375,390 500,330'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  max-width: 760px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--amber-600);
  background: rgba(217,119,6,0.15);
  border: 1px solid rgba(217,119,6,0.3);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--amber-600);
  color: var(--white);
}

.btn--primary:hover {
  background: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,119,6,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn--green {
  background: var(--green-700);
  color: var(--white);
}

.btn--green:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  letter-spacing: -0.3px;
}

.section-header p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 1rem;
  max-width: 560px;
}

.section-header--flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── KATEGORIE GRID ── */
.kat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.kat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px 18px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  display: block;
}

.kat-card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kat-card:hover .kat-name { color: var(--green-700); }

.kat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: background 0.2s;
}

.kat-card:hover .kat-icon-wrap { background: var(--green-100); }

.kat-icon-wrap svg { color: var(--green-700); }

.kat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  transition: color 0.2s;
}

.kat-sub {
  font-size: 0.75rem;
  color: var(--subtle);
  line-height: 1.4;
}

/* ── PRODUKT CARDS ── */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.produkt-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.produkt-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-3px);
}

.produkt-img-wrap {
  height: 190px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.produkt-img-placeholder {
  font-size: 4.5rem;
  opacity: 0.75;
}

.produkt-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge--winner { background: var(--green-900); color: white; }
.badge--bestseller { background: var(--amber-600); color: white; }
.badge--new { background: #2563eb; color: white; }
.badge--sale { background: var(--red-600); color: white; }

.expert-score {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.expert-score-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  line-height: 1;
  color: var(--green-700);
  font-weight: 700;
}

.expert-score-max {
  font-size: 0.55rem;
  color: var(--subtle);
  line-height: 1;
}

.produkt-body {
  padding: 18px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.produkt-merchant {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.produkt-body h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--muted);
}

.produkt-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.produkt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.produkt-preis {
  display: flex;
  flex-direction: column;
}

.preis-ab {
  font-size: 0.7rem;
  color: var(--subtle);
}

.preis-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--green-900);
  line-height: 1;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-900);
  color: var(--white);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.18s;
}

.btn-buy:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

/* ── AFFILIATE HINWEIS ── */
.affiliate-notice {
  margin-top: 32px;
  padding: 14px 18px;
  background: var(--amber-100);
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  font-size: 0.83rem;
  color: #78350f;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

/* ── BLOG / RATGEBER CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.blog-img {
  height: 170px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--muted);
}

.blog-img--green-dark { background: linear-gradient(135deg, #052e16, #14532d); }
.blog-img--amber      { background: linear-gradient(135deg, #431407, #9a3412); }
.blog-img--blue       { background: linear-gradient(135deg, #0c1a56, #1e3a8a); }
.blog-img--teal       { background: linear-gradient(135deg, #042f2e, #134e4a); }

.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.blog-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
}

.blog-body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--subtle);
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-meta-dot { color: var(--border); }

/* ── METHODIK / TRUST ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  padding: 28px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--green-700);
}

.trust-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.trust-item p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── FOOTER ── */
.site-footer {
  background: #0d1f0d;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-name { color: white; font-size: 1.2rem; }
.footer-brand .logo-name span { color: var(--amber-600); }
.footer-brand p { font-size: 0.85rem; margin-top: 12px; line-height: 1.7; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .kat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .produkt-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .kat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .header-search { display: none; }
  .header-trust { display: none; }
  .kat-grid { grid-template-columns: repeat(2, 1fr); }
  .produkt-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
}
