:root {
  --navy: #10243e;
  --navy-2: #193b61;
  --ink: #142033;
  --muted: #657287;
  --line: #dde3ea;
  --surface: #ffffff;
  --surface-soft: #f5f7f9;
  --warm: #fff6e8;
  --accent: #f6a81c;
  --accent-dark: #d98300;
  --green: #0d7a62;
  --shadow-sm: 0 4px 16px rgba(16, 36, 62, 0.07);
  --shadow-md: 0 14px 38px rgba(16, 36, 62, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7f8fa;
  font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

.shell {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: #fff;
  background: rgba(16, 36, 62, 0.98);
  box-shadow: 0 4px 22px rgba(9, 25, 45, 0.2);
  backdrop-filter: blur(16px);
}

.header-main {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(260px, 620px) auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: var(--accent);
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(246, 168, 28, 0.25);
}

.brand-copy {
  display: grid;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 5px;
  color: #b7c5d8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.search-box { position: relative; }

.search-box input {
  width: 100%;
  height: 45px;
  padding: 0 48px 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(16, 36, 62, 0.04);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 168, 28, 0.2);
}

.search-box svg {
  position: absolute;
  right: 16px;
  top: 13px;
  width: 20px;
  height: 20px;
  color: #738096;
  pointer-events: none;
}

.market-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.market-switch a {
  min-width: 42px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #d6e0ed;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.market-switch a:hover,
.market-switch a.active {
  border-color: #fff;
  color: var(--navy);
  background: #fff;
}

.category-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1d33;
}

.quick-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

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

.quick-link {
  flex: none;
  padding: 7px 11px;
  border-radius: 8px;
  color: #c9d6e6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.quick-link:hover,
.quick-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero { padding: 34px 0 24px; }

.hero-panel {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #eadfcf;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(246, 168, 28, 0.22), transparent 26%),
    linear-gradient(120deg, #fff 0%, #fffdf8 62%, #fff6e7 100%);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 670px;
  margin: 20px 0 0;
  color: #536176;
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
}

.button-primary {
  color: #201500;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(246, 168, 28, 0.22);
}

.button-primary:hover { background: #ffb638; }

.button-secondary {
  border-color: #cfd7e1;
  color: var(--navy);
  background: #fff;
}

.button-secondary:hover { border-color: var(--navy); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  color: #5f6d81;
  font-size: 12px;
  font-weight: 700;
}

.hero-trust span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green);
  font-weight: 950;
}

.hero-showcase {
  position: relative;
  min-height: 300px;
}

.showcase-card {
  position: absolute;
  width: 48%;
  aspect-ratio: 0.92;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.showcase-card:nth-child(1) { left: 0; top: 34px; transform: rotate(-5deg); }
.showcase-card:nth-child(2) { right: 2px; top: 0; transform: rotate(4deg); }
.showcase-card:nth-child(3) { right: 18%; bottom: -18px; width: 42%; transform: rotate(-1deg); }

.showcase-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 36, 62, 0.9);
  font-size: 10px;
  font-weight: 850;
}

.section { padding: 32px 0; }

#categories,
#angebote { scroll-margin-top: 128px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-head h2,
.catalog-title {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p,
.catalog-lead {
  margin: 6px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  position: relative;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 13px rgba(16, 36, 62, 0.05);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-3px);
  border-color: #9fb0c5;
  box-shadow: var(--shadow-md);
}

.category-card.active { outline: 3px solid rgba(246, 168, 28, 0.35); }

.category-image {
  height: 140px;
  display: grid;
  place-items: center;
  padding: 13px;
  background: linear-gradient(145deg, #fff, #f2f5f8);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.category-card:hover .category-image img { transform: scale(1.055); }

.category-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 14px;
}

.category-copy strong {
  display: block;
  line-height: 1.2;
}

.category-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.category-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--warm);
  font-size: 17px;
  font-weight: 900;
}

.catalog-section { padding: 42px 0 58px; }

.catalog-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 14px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.sort-select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid #cbd4df;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.sort-select:focus { border-color: var(--navy); }

.active-filter {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 20px;
  padding: 9px 12px 9px 15px;
  border: 1px solid #e2d7c5;
  border-radius: 11px;
  background: var(--warm);
  color: #5f4a26;
  font-size: 13px;
}

.active-filter[hidden] { display: none; }

.clear-filter {
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(16, 36, 62, 0.055);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #b8c4d2;
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  aspect-ratio: 1.12;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background: #fff;
  text-decoration: none;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 20%;
  border-radius: 50%;
  background: rgba(16, 36, 62, 0.06);
  filter: blur(12px);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.product-card:hover .product-media img { transform: scale(1.045); }

.card-badge {
  position: absolute;
  z-index: 3;
  top: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-ad { left: 11px; color: #5b6472; background: rgba(247, 248, 250, 0.94); }
.badge-new { right: 11px; color: #fff; background: var(--green); }

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-top: 1px solid #edf0f4;
}

.product-kicker {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.product-title {
  margin: 7px 0 7px;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.product-title a { text-decoration: none; }
.product-title a:hover { text-decoration: underline 2px var(--accent); text-underline-offset: 3px; }

.product-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: #5e6b7d;
  font-size: 12.5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.merchant-line {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
  color: #7a8799;
  font-size: 10.5px;
}

.merchant-line strong { color: #40516a; }

.offer-button {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #211600;
  background: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.offer-button:hover { color: #fff; background: var(--accent-dark); }

.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 32px;
  border: 1px dashed #aeb8c5;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.empty-state[hidden] { display: none; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.load-more-wrap[hidden] { display: none; }
.load-more { min-width: 210px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 58px;
}

.trust-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.trust-item strong { display: block; margin-bottom: 4px; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: 12px; }

.site-footer {
  padding: 42px 0 28px;
  color: #c8d4e3;
  background: #0c1d33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
}

.site-footer h2,
.site-footer h3 { margin: 0 0 9px; color: #fff; }
.site-footer h2 { font-size: 21px; }
.site-footer h3 { font-size: 14px; }
.site-footer p { margin: 6px 0; color: #aebcd0; font-size: 12px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 15px;
}

.footer-links a { color: #fff; text-decoration: none; font-weight: 750; }
.footer-links a:hover { text-decoration: underline; }

.footer-fine {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #263a55;
  color: #8ea0b7 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(246, 168, 28, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .hero-panel { grid-template-columns: 1fr 0.74fr; gap: 22px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 24px, 1240px); }
  .site-header { position: relative; }
  .header-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 0;
  }
  .search-box { grid-column: 1 / -1; grid-row: 2; }
  .brand-copy small { display: none; }
  .hero { padding-top: 18px; }
  .hero-panel { grid-template-columns: 1fr; min-height: auto; padding: 28px; }
  .hero-showcase { min-height: 265px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-header { grid-template-columns: 1fr; align-items: start; }
  .catalog-controls { justify-content: space-between; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 18px, 1240px); }
  .brand-mark { width: 37px; height: 37px; border-radius: 11px; }
  .brand-copy { font-size: 18px; }
  .market-switch a { min-width: 39px; padding-inline: 7px; }
  .hero-panel { padding: 24px 20px 27px; border-radius: 20px; }
  .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero-showcase { min-height: 230px; }
  .showcase-card { border-radius: 17px; padding: 11px; }
  .category-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: -9px;
    padding: 3px 9px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 72%; min-height: 208px; scroll-snap-align: start; }
  .section { padding: 24px 0; }
  .catalog-section { padding-top: 30px; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .sort-select { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.35; padding: 20px; }
  .product-title { font-size: 18px; }
  .product-description { font-size: 13px; -webkit-line-clamp: 4; }
  .active-filter { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.image-unavailable{display:flex;align-items:center;justify-content:center;min-height:100px;padding:20px;color:#526075;font-size:13px;text-align:center;background:#f5f7fa;width:100%;height:100%;}
