/* AfgBikes — Fiido-inspired clean design */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;
  --bg-card: #FFFFFF;
  --fg: #111111;
  --fg-muted: #6B7280;
  --accent: #1A1A1A;
  --accent-action: #2563EB;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --radius: 12px;
  --max-w: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--fg); }

.nav-links .nav-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links .nav-cart svg { width: 20px; height: 20px; }

.btn-nav-cta {
  background: var(--fg) !important;
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem !important;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-nav-cta:hover { background: #333 !important; }

/* ── Hero ── */
.hero {
  padding: 80px 5% 60px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-action);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero-headline span { color: var(--accent-action); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fg);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-primary:hover { background: #333; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--fg);
  padding: 0.875rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover { border-color: #999; background: var(--bg-alt); }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bike-illustration {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.12));
}

/* ── Trust badges ── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 1.25rem 5%;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.trust-item svg { width: 18px; height: 18px; color: var(--accent-action); flex-shrink: 0; }

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ── Assortiment / Product grid ── */
.assortiment {
  padding: 80px 5%;
  background: var(--bg);
}

.assortiment-inner { max-width: var(--max-w); margin: 0 auto; }

.assortiment-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-action);
  margin-bottom: 0.5rem;
}

.section-headline {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
}

.section-headline em {
  font-style: normal;
  color: var(--fg-muted);
  font-weight: 400;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-action);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.section-link:hover { text-decoration: underline; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.product-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #fafafa 100%);
  opacity: 0.5;
}

.product-card-image svg { width: 100%; max-width: 240px; position: relative; z-index: 1; }

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.product-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-action);
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.product-tag {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.product-specs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.spec-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--fg);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.btn-add-cart {
  background: var(--fg);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-add-cart:hover { background: #333; }

/* ── Philosophy ── */
.philosophy {
  background: var(--fg);
  padding: 80px 5%;
}

.philosophy-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-headline {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.philosophy-headline em { font-style: italic; color: rgba(255,255,255,0.55); }

.philosophy-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 1rem;
}

/* ── Closing CTA ── */
.closing {
  padding: 90px 5%;
  background: var(--bg-alt);
  text-align: center;
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.closing-email {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--fg);
  color: rgba(255,255,255,0.65);
}

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 5% 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-brand .footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 5%;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { gap: 2.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .bike-illustration { max-width: 340px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .assortiment-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 50px 5% 40px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-inner { gap: 1.25rem; }
  .trust-dot { display: none; }
  .philosophy, .assortiment, .closing { padding: 50px 5%; }
}