/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-blue:    #a17c00;   /* goldgelb – warm & sanft */
  --brand-blue-d:  #7a5c00;   /* dunkler für hover */
  --brand-blue-m:  #c49a00;   /* heller für Akzente */
  --brand-orange:  #e85d04;
  --brand-orange-d:#c44d03;
  --color-green:   #16a34a;
  --color-yellow:  #f59e0b;
  --color-yellow-d:#d97706;
  --color-yellow-bg:#fffbeb;
  --color-bg:      #f5f7fa;
  --color-surface: #ffffff;
  --color-border:  #e2e8f0;
  --color-text:    #1a1f2e;
  --color-muted:   #64748b;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.11);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --transition: 200ms ease;
  --max-width:  1300px;
}

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

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--brand-orange); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: .5rem; }
.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;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin-inline: auto; padding-inline: 1.25rem; }

/* ===== LOGO BANNER STRIP ===== */
.logo-banner-strip {
  display: block;
  width: 100%;
  background: #fff;
  border-bottom: 3px solid var(--brand-orange);
  line-height: 0;
}
.logo-banner-strip a {
  display: block;
  width: 100%;
}
.logo-banner-strip-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;        /* kein Zuschneiden */
  max-width: 100%;
  object-fit: unset;       /* keine automatische Beschneidung */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: opacity .2s;
}
.logo-banner-strip-img:hover { opacity: .95; }

/* ===== ANFRAGE STRIP (direkt unter Auktionen) ===== */
.anfrage-strip {
  background: linear-gradient(90deg, #3a2800 0%, #5a4000 50%, #3a2800 100%);
  border-bottom: 3px solid var(--brand-orange);
  padding: .9rem 0;
}
.anfrage-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.anfrage-strip-text {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.anfrage-strip-icon { font-size: 1.4rem; flex-shrink: 0; }
.anfrage-strip-text strong {
  display: block;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.anfrage-strip-text p {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  margin: 0;
}
.anfrage-strip-btns {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.btn-anfrage-call,
.btn-anfrage-form,
.btn-anfrage-ebay {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-anfrage-call {
  background: var(--brand-orange);
  color: #fff;
}
.btn-anfrage-call:hover { background: var(--brand-orange-d); transform: translateY(-1px); }
.btn-anfrage-form {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-anfrage-form:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-anfrage-ebay {
  background: #fff;
  color: #1a1f2e;
  border: 1.5px solid rgba(255,255,255,.4);
  gap: .5rem;
}
.btn-anfrage-ebay:hover { box-shadow: 0 2px 8px rgba(0,0,0,.3); transform: translateY(-1px); }
@media (max-width: 640px) {
  .anfrage-strip-inner { flex-direction: column; align-items: flex-start; }
  .anfrage-strip-btns { width: 100%; }
  .btn-anfrage-call, .btn-anfrage-form, .btn-anfrage-ebay { flex: 1; justify-content: center; }
}

/* ===== TOPBAR ===== */
.topbar {
  background: #5a4000;
  color: #fde68a;
  font-size: .78rem;
  padding: .4rem 0;
}
.topbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-item { display: flex; align-items: center; gap: .35rem; }
.topbar-item a { color: #fde68a; text-decoration: none; transition: color var(--transition); }
.topbar-item a:hover { color: #fff; }
.available-pill {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1);
  color: #86efac;
  font-weight: 600; font-size: .72rem;
  padding: .15rem .6rem; border-radius: 99px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.topbar-sep { color: rgba(255,255,255,.2); }
.topbar-link { color: #fde68a; text-decoration: none; transition: color var(--transition); }
.topbar-link:hover { color: #fff; }
.lang-select {
  display: flex; align-items: center; gap: .3rem;
}
.lang-select select {
  background: transparent; border: none;
  color: #a5b4fc; font-size: .78rem; cursor: pointer;
}
.lang-select select:focus { outline: 1px solid var(--brand-orange); border-radius: 2px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand-blue);
  box-shadow: 0 2px 16px rgba(26,0,128,.4);
}
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: .85rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-industry {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; color: #c4b5fd;
  text-transform: uppercase;
}
.logo-synapse {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--brand-orange);
  letter-spacing: .02em;
}

/* Real Logo Banner Image */
.logo-real {
  display: block;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: opacity var(--transition), box-shadow var(--transition);
}
.logo-real:hover { opacity: .9; box-shadow: 0 0 0 2px var(--brand-orange); }
.logo-real:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }
.logo-banner-img {
  display: block;
  height: 55px;             /* natürliche Höhe – kein crop */
  width: auto;              /* Breite aus Seitenverhältnis: ~272px bei 55px Höhe */
  max-width: 320px;         /* begrenzen damit es nicht zu breit wird */
  object-fit: contain;      /* vollständiges Bild, scharf */
  border-radius: var(--radius-sm);
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 640px) {
  .logo-banner-img { height: 44px; max-width: 240px; }
}

/* Search */
.header-search {
  flex: 1; display: flex; max-width: 520px;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--brand-orange); }
.header-search input {
  flex: 1; background: rgba(255,255,255,.08); border: none;
  color: #fff; padding: .55rem .9rem; font-size: .875rem;
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus { outline: none; background: rgba(255,255,255,.12); }
.header-search button {
  background: var(--brand-orange); border: none;
  color: #fff; padding: 0 1rem; cursor: pointer;
  display: flex; align-items: center;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--brand-orange-d); }
.header-search button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.btn-icon-hdr {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); color: rgba(255,255,255,.8);
  cursor: pointer; transition: all var(--transition);
}
.btn-icon-hdr:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-icon-hdr:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.btn-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--brand-orange); color: #fff;
  font-size: .65rem; font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--brand-blue);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 640px) { .hamburger { display: flex; } }

/* ===== MAIN NAV ===== */
.main-nav {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-list {
  display: flex; list-style: none; gap: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .65rem 1rem;
  color: rgba(255,255,255,.85);
  text-decoration: none; font-size: .875rem; font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: -2px; }
.nav-highlight .nav-link { color: var(--brand-orange); font-weight: 600; }
.nav-highlight .nav-link:hover { background: rgba(232,93,4,.15); }

/* Mega Menu */
.mega-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--color-surface);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--brand-orange);
  z-index: 200; min-width: 560px;
}
.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding: 1.5rem; }
.mega-col { display: flex; flex-direction: column; gap: .4rem; padding: 0 1rem; }
.mega-col + .mega-col { border-left: 1px solid var(--color-border); }
.mega-col strong { font-size: .8rem; font-weight: 700; color: var(--brand-blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.mega-col a { font-size: .85rem; color: var(--color-muted); text-decoration: none; padding: .2rem 0; transition: color var(--transition); }
.mega-col a:hover { color: var(--brand-orange); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all var(--transition); line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }
.btn-primary { background: var(--brand-orange); color: #fff; }
.btn-primary:hover { background: var(--brand-orange-d); box-shadow: 0 4px 12px rgba(232,93,4,.4); }
.btn-hero-primary {
  background: var(--brand-orange); color: #fff;
  padding: .8rem 1.8rem; font-size: .95rem;
  box-shadow: 0 4px 20px rgba(232,93,4,.4);
}
.btn-hero-primary:hover { background: var(--brand-orange-d); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,93,4,.5); }
.btn-hero-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: .78rem 1.8rem; font-size: .95rem;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-cat {
  background: transparent; color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  font-size: .82rem; padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}
.btn-cat:hover { background: var(--brand-blue); color: #fff; }
.btn-cat-green { color: var(--color-green); border-color: var(--color-green); }
.btn-cat-green:hover { background: var(--color-green); color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 500px; display: flex; align-items: center;
  background: #7a5c00;
}
.hero-bg {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.hero-panel { overflow: hidden; }
.hero-panel-1 { background: linear-gradient(135deg, #5a4000 0%, #7a5c00 100%); }
.hero-panel-2 { background: #8a6800; display: flex; align-items: center; justify-content: center; }
.hero-panel-3 { background: linear-gradient(135deg, #7a5c00 0%, #5a4000 100%); }

/* CNC art */
.hero-machine-art {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 2rem; opacity: .25;
}
.machine-body {
  width: 120px; height: 160px;
  background: rgba(255,255,255,.15);
  border-radius: 8px 8px 0 0;
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-60px);
  border: 1px solid rgba(255,255,255,.2);
}
.machine-arm {
  width: 60px; height: 8px;
  background: rgba(232,93,4,.6);
  position: absolute; bottom: 140px; left: 50%;
  transform-origin: left;
  border-radius: 4px;
}
.machine-screen {
  width: 80px; height: 50px;
  background: rgba(45,0,212,.5);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  position: absolute; bottom: 100px; left: 50%; transform: translateX(-40px);
}
.machine-light {
  width: 12px; height: 12px; border-radius: 50%;
  background: #4ade80;
  position: absolute; bottom: 90px; right: calc(50% - 70px);
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Hero center logo */
.hero-logo-center {
  display: flex; flex-direction: column; align-items: center; gap: .75rem; opacity: .35;
}
.hero-logo-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: .08em;
}
.hero-logo-label span { color: var(--brand-orange); }

/* CNC art panel 3 */
.hero-cnc-art { position: relative; width: 100%; height: 100%; opacity: .2; }
.cnc-unit {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
}
.cnc-1 { width: 70px; height: 90px; bottom: 60px; left: 30%; }
.cnc-2 { width: 50px; height: 70px; bottom: 80px; left: 55%; }
.cnc-3 { width: 40px; height: 50px; bottom: 100px; left: 75%; }

/* Hero overlay & content */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,0,128,.95) 0%, rgba(26,0,128,.7) 40%, rgba(26,0,128,.4) 100%);
}
.hero-content {
  position: relative; z-index: 10;
  padding-block: 4rem;
  max-width: 600px;
}
.hero-eyebrow {
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--brand-orange);
  margin-bottom: .75rem;
}
.hero-headline {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin-bottom: 1rem;
}
.hero-accent { color: var(--brand-orange); }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.75);
  max-width: 480px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; font-weight: 700; color: #fff; font-family: 'Rajdhani', sans-serif; }
.hero-stats span { font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: .65rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; gap: .3rem; font-size: .8rem; color: var(--color-muted); }
.breadcrumb li + li::before { content: '/'; margin-right: .3rem; color: var(--color-border); }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* ===== USP BAR ===== */
.usp-bar {
  background: var(--brand-blue);
  border-bottom: 3px solid var(--brand-orange);
}
.usp-bar-inner {
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: .5rem; padding-block: .9rem;
}
.usp-bar-item {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85); font-size: .85rem;
  padding: .3rem .75rem;
}
.usp-bar-item svg { color: var(--brand-orange); flex-shrink: 0; }
.usp-bar-item strong { color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section-dark { background: #0d005c; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-title {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--color-text);
  margin-bottom: .5rem;
}
.section-title-light { color: #fff; }
.section-sub { color: var(--color-muted); font-size: .95rem; }
.section-sub-light { color: rgba(255,255,255,.65); }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ===== CATEGORY GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.cat-card-large { grid-row: span 2; }
@media (max-width: 900px)  { .cat-grid { grid-template-columns: repeat(2,1fr); } .cat-card-large { grid-row: span 1; } }
@media (max-width: 560px)  { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative; overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-card:focus-within { outline: 2px solid var(--brand-orange); outline-offset: 2px; }

/* card bg illustration */
.cat-card-bg {
  height: 140px; position: relative; overflow: hidden;
  flex-shrink: 0;
}
.cat-card-large .cat-card-bg { height: 200px; }

.cat-bg-industrial { background: linear-gradient(135deg, #1a0080 0%, #2d00d4 100%); }
.cat-bg-siemens    { background: linear-gradient(135deg, #009999 0%, #00666e 100%); }
.cat-bg-lenze      { background: linear-gradient(135deg, #e85d04 0%, #c44d03 100%); }
.cat-bg-abb        { background: linear-gradient(135deg, #cc0000 0%, #990000 100%); }
.cat-bg-green      { background: linear-gradient(135deg, #14532d 0%, #166534 100%); }
.cat-bg-maritime   { background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%); }
.cat-bg-facility   { background: linear-gradient(135deg, #44403c 0%, #292524 100%); }

/* Brand art labels */
.brand-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-art span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: rgba(255,255,255,.2);
  letter-spacing: .1em;
}

/* CNC art */
.art-cnc { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; }
.art-cnc-body { width: 80px; height: 100px; background: rgba(255,255,255,.12); border-radius: 6px; border: 1px solid rgba(255,255,255,.2); }
.art-cnc-panel { width: 55px; height: 35px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; margin-left: .5rem; align-self: center; }
.art-cnc-arm { width: 40px; height: 6px; background: var(--brand-orange); border-radius: 3px; position: absolute; top: 40px; left: 90px; opacity: .7; }

/* Solar art */
.art-solar {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 6px; padding: 1.5rem; opacity: .5;
}
.solar-panel-row { display: flex; gap: 5px; }
.solar-cell { width: 28px; height: 20px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); border-radius: 2px; }
.solar-sun {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,220,0,.4); border: 2px solid rgba(255,220,0,.6);
}

/* Wave / maritime art */
.art-maritime { position: absolute; inset: 0; overflow: hidden; }
.wave {
  position: absolute; width: 200%; height: 60px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  bottom: 0;
}
.wave-1 { left: -50%; animation: wavemove 5s linear infinite; }
.wave-2 { left: -60%; animation: wavemove 7s linear infinite reverse; opacity: .5; }
@keyframes wavemove { from{transform:translateX(0)} to{transform:translateX(25%)} }
.ship-hull {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 20px;
  background: rgba(255,255,255,.2); border-radius: 0 0 30px 30px;
}

/* Building art */
.art-building { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0; }
.building-body {
  width: 70px; height: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2); border-bottom: none;
  border-radius: 4px 4px 0 0;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 8px; padding: 10px;
}
.building-window { background: rgba(255,255,255,.25); border-radius: 2px; }

/* Card body */
.cat-card-body {
  padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1;
}
.cat-icon {
  width: 44px; height: 44px;
  background: var(--brand-blue); color: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-icon-green { background: var(--color-green); }
.cat-title { font-size: 1.05rem; font-weight: 700; color: var(--color-text); }
.cat-count { font-size: .78rem; color: var(--color-muted); font-weight: 500; }
.cat-sub-list {
  list-style: none; display: flex; flex-direction: column; gap: .25rem;
  flex: 1;
}
.cat-sub-list a {
  font-size: .82rem; color: var(--color-muted); text-decoration: none;
  display: flex; align-items: center; gap: .3rem;
  transition: color var(--transition);
}
.cat-sub-list a::before { content: '›'; color: var(--brand-orange); font-weight: 700; }
.cat-sub-list a:hover { color: var(--brand-blue); }
.cat-sub-list a:focus-visible { outline: 2px solid var(--brand-orange); border-radius: 2px; }
.cat-link { margin-top: auto; }

/* ===== FEATURED PRODUCTS ===== */
.featured-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.3); transform: translateY(-2px); }
.feat-img {
  height: 130px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.feat-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.feat-body { padding: 1rem; }
.feat-sku { font-family: monospace; font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: .3rem; }
.feat-name { font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: .5rem; line-height: 1.3; }
.feat-name a { color: inherit; text-decoration: none; }
.feat-name a:hover { color: var(--brand-orange); }
.feat-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.1);
}
.feat-price { font-size: 1rem; font-weight: 700; color: var(--brand-orange); }
.feat-price small { font-size: .7rem; font-weight: 400; color: rgba(255,255,255,.4); display: block; }
.feat-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--brand-orange); border: none; color: #fff; cursor: pointer;
  transition: background var(--transition);
}
.feat-btn:hover { background: var(--brand-orange-d); }
.feat-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.feat-badge {
  display: inline-block; font-size: .68rem; font-weight: 600;
  padding: .15rem .5rem; border-radius: 99px; margin-bottom: .4rem;
}
.feat-badge.in-stock  { background: rgba(74,222,128,.15); color: #4ade80; }
.feat-badge.on-request { background: rgba(251,191,36,.15); color: #fbbf24; }

/* ===== BRAND LOGOS ===== */
.brand-logos {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
}
.brand-chip {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .55rem 1.25rem;
  font-size: .875rem; font-weight: 600;
  color: var(--color-muted);
  transition: all var(--transition);
  cursor: default;
}
.brand-chip-logo {
  padding: 0;
  min-width: 130px;
  display: flex; align-items: center; justify-content: center;
  height: 56px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.brand-chip-logo img {
  width: 130px;
  height: 56px;
  object-fit: cover;
  object-position: center;
  opacity: .85;
  transition: opacity var(--transition), transform var(--transition);
  display: block;
}
.brand-chip-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.brand-chip-logo:hover img { opacity: 1; }
.brand-chip-logo:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.brand-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-d) 100%);
  padding: 3rem 0;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: .35rem;
}
.cta-text p { color: rgba(255,255,255,.85); font-size: .95rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-banner .btn-hero-primary { background: #fff; color: var(--brand-orange); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.cta-banner .btn-hero-primary:hover { background: #f5f5f5; }
.cta-banner .btn-hero-outline { border-color: rgba(255,255,255,.6); }

/* ===== EBAY SECTION ===== */
.ebay-section {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}
.ebay-banner-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.ebay-banner-logo {
  font-size: 2rem; font-weight: 900; letter-spacing: -.04em; flex-shrink: 0;
  line-height: 1;
}
.eb-e { color: #e53238; }
.eb-b { color: #0064d2; }
.eb-a { color: #f5af02; }
.eb-y { color: #86b817; }
.ebay-banner-text { flex: 1; }
.ebay-banner-text strong { display: block; font-size: .95rem; font-weight: 700; color: var(--color-text); }
.ebay-banner-text p { font-size: .82rem; color: var(--color-muted); margin-top: .2rem; }
.btn-ebay {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #0064d2; color: #fff;
  padding: .65rem 1.4rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; text-decoration: none;
  transition: background var(--transition); white-space: nowrap;
}
.btn-ebay:hover { background: #0053b3; }

/* ===== PAYMENT SECTION ===== */
.payment-section {
  background: var(--color-bg);
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.payment-title {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--color-text); text-align: center;
  margin-bottom: 1.25rem;
}
.payment-methods {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.pay-method {
  display: flex; align-items: center; gap: .75rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .85rem 1.25rem;
  min-width: 180px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pay-method:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.pay-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pay-paypal   { background: #e8f0fe; color: #1a56db; }
.pay-bank     { background: #f0fdf4; color: #16a34a; }
.pay-ebay-pay { background: #fff7ed; color: #e85d04; }
.pay-klarna   { background: #fdf4ff; color: #7c3aed; }
.pay-method strong { display: block; font-size: .875rem; font-weight: 700; color: var(--color-text); }
.pay-method span   { font-size: .75rem; color: var(--color-muted); }

/* ===== RTL SUPPORT ===== */
[dir="rtl"] body { font-family: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif; }
[dir="rtl"] .hero-content { direction: rtl; text-align: right; }
[dir="rtl"] .logo-text-wrap { align-items: flex-end; }
[dir="rtl"] .usp-bar-item { flex-direction: row-reverse; }
[dir="rtl"] .cat-sub-list a::before { transform: scaleX(-1); }
[dir="rtl"] .hero-stats { direction: rtl; }
[dir="rtl"] .cta-banner-inner { direction: rtl; text-align: right; }

/* ===== FOOTER ===== */
.site-footer { background: #3a2800; color: #fde68a; padding-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2rem; padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--brand-orange); margin: .5rem 0 .75rem;
  letter-spacing: .06em;
}
.footer-address { font-style: normal; font-size: .875rem; line-height: 1.7; margin: .6rem 0 .4rem; color: #64748b; }
.footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin-bottom: .75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-link { color: #64748b; text-decoration: none; font-size: .875rem; transition: color var(--transition); display: inline-block; }
.footer-link:hover { color: #fff; }
.footer-newsletter-text { font-size: .85rem; margin-bottom: .75rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-form input {
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1);
  color: #fff; border-radius: var(--radius-sm); padding: .55rem .75rem; font-size: .875rem;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: #475569; }
.newsletter-form input:focus { border-color: var(--brand-orange); outline: none; }
.form-hint { font-size: .72rem; color: #475569; line-height: 1.5; }
.form-hint a { color: #64748b; }
.form-hint a:hover { color: #fff; }
#nl-msg { font-size: .8rem; padding: .5rem .75rem; border-radius: var(--radius-sm); margin-top: .25rem; }
#nl-msg.success { background: #14532d; color: #86efac; }
#nl-msg.error   { background: #7f1d1d; color: #fca5a5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 1.1rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem; font-size: .8rem; color: #475569;
}
.legal-links { display: flex; list-style: none; gap: 1.25rem; }
.legal-links a { color: #475569; text-decoration: none; transition: color var(--transition); }
.legal-links a:hover { color: #fff; }

/* ===== BRAND LOGO IN CARD ===== */
.brand-logo-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(255,255,255,.12);
}
.brand-logo-img {
  width: 160px; height: 70px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  opacity: .9;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.cat-card:hover .brand-logo-img { opacity: 1; transform: scale(1.04); }

/* ===== DYNAMIC PRODUCTS (from admin) ===== */
.admin-products-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-search { max-width: 300px; }
}
@media (max-width: 640px) {
  .header-search { display: none; }
  .hero-content { padding-block: 3rem; }
  .hero-stats { gap: 1.25rem; }
  .usp-bar-inner { justify-content: flex-start; gap: .75rem; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
