/* ============================================================
   GSE MARKT — public site design system
   Editorial Elegance: ivory / ink navy / brass
   Fonts: Fraunces (display) · Instrument Sans (body) · Spline Sans Mono (data)
   ============================================================ */

:root {
  --ivory: #F4F7FB;
  --ivory-2: #E9EEF5;
  --paper: #FBFCFE;
  --ink: #0E1E3A;
  --ink-soft: #263B5E;
  --muted: #55657A;
  --faint: #8593A69e;
  --brass: #00308F;      /* aerospace blue (legacy var name) */
  --brass-deep: #00246B;
  --brass-soft: #7E9EDC;
  --hairline: #D8E0EA;
  --hairline-2: #E4EAF2;
  --ok: #3E7A54;
  --warn: #B0622D;
  --danger: #A43B3B;

  --font-display: "Roboto", -apple-system, sans-serif;
  --font-body: "Roboto", -apple-system, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --w: min(1240px, calc(100vw - 48px));
  --r-sm: 4px;
  --r-md: 8px;
  --ease: cubic-bezier(.22, .61, .21, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--brass); color: var(--ivory); }

.wrap { width: var(--w); margin-inline: auto; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; stroke-width: 1.4; }

/* faint blueprint grid used behind heros / figures */
.blueprint {
  background-image:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.display-xl { font-size: clamp(44px, 6.4vw, 84px); }
.display-lg { font-size: clamp(34px, 4.4vw, 58px); }
.display-md { font-size: clamp(26px, 3vw, 40px); }
.display-sm { font-size: clamp(21px, 2.2vw, 28px); }
em.acc { font-style: normal; color: var(--brass); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--brass); }
.lede { font-size: 18px; color: var(--muted); max-width: 56ch; }
.mono { font-family: var(--font-mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-deep); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--line { padding: 6px 2px; border-bottom: 1px solid var(--brass); border-radius: 0; color: var(--ink); font-weight: 600; }
.btn--line:hover { color: var(--brass); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--muted);
  background: var(--paper);
}
.badge--brass { border-color: var(--brass-soft); color: var(--brass-deep); background: #00308F14; }
.badge--verified { border-color: #3E7A5440; color: var(--ok); background: #3E7A540F; }
.flag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 2px;
}

/* ---------- topbar + header ---------- */
.topbar {
  background: var(--ink);
  color: #C8CCD4;
  font-size: 12.5px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__note { display: flex; align-items: center; gap: 8px; letter-spacing: 0.04em; }
.topbar__note .icon { width: 14px; height: 14px; color: var(--brass-soft); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 13px; height: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 76px; }

.brand { display: flex; align-items: baseline; gap: 2px; flex: none; }
.brand__gse {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--brass);
}
.brand__markt {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-left: 7px;
}

.nav { display: flex; gap: 34px; margin-inline: auto; }
.nav > a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-actions .link-quiet { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.header-actions .link-quiet:hover { color: var(--ink); }

.nav-toggle { display: none; padding: 8px; }

/* mobile nav */
@media (max-width: 960px) {
  .nav, .header-actions .link-quiet, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .site-header .wrap { height: 64px; }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    padding: 18px 24px 26px;
  }
  .site-header.nav-open .nav > a { font-size: 18px; padding: 10px 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 84px; }
.hero__watermark {
  position: absolute;
  right: -3vw;
  top: 8px;
  font-family: var(--font-display);
  font-size: clamp(160px, 26vw, 340px);
  font-weight: 600;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline);
  pointer-events: none;
  user-select: none;
}
.hero .wrap { position: relative; }
.hero__title { max-width: 15ch; margin: 22px 0 26px; }
.hero__search {
  margin-top: 38px;
  max-width: 640px;
  display: flex;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  box-shadow: 0 18px 40px -28px #0E1E3A40;
  transition: border-color .25s, box-shadow .25s;
}
.hero__search:focus-within { border-color: var(--brass); box-shadow: 0 18px 40px -22px #00308F55; }
.hero__search .icon { margin: auto 0 auto 18px; color: var(--muted); }
.hero__search input { flex: 1; border: 0; background: none; padding: 18px 16px; font-size: 16px; outline: none; }
.hero__search input::placeholder { color: var(--faint); }
.hero__search button { border-radius: 0 2px 2px 0; }
.hero__hints { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero__hints span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.hero__hints a {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  color: var(--muted);
  background: var(--paper);
  transition: all .2s;
}
.hero__hints a:hover { border-color: var(--brass); color: var(--brass-deep); }

.hero__stats {
  margin-top: 64px;
  display: flex;
  border-top: 1px solid var(--hairline);
}
.hero__stats > div { padding: 22px 44px 0 0; margin-right: 44px; border-right: 1px solid var(--hairline); }
.hero__stats > div:last-child { border-right: 0; }
.hero__stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 500; display: block; }
.hero__stats strong sup { font-size: 18px; color: var(--brass); }
.hero__stats span { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

@media (max-width: 720px) {
  .hero { padding: 56px 0; }
  .hero__stats { flex-wrap: wrap; gap: 18px 0; }
  .hero__stats > div { padding-right: 22px; margin-right: 22px; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--ivory-2); border-block: 1px solid var(--hairline-2); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 46px; }
.section-head h2 { margin-top: 16px; }
.section-head .btn--line { flex: none; margin-bottom: 6px; }
@media (max-width: 720px) { .section { padding: 60px 0; } .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------- category cards (numbered editorial) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.cat-card {
  position: relative;
  padding: 30px 26px 26px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  transition: background .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 210px;
}
.cat-card:hover { background: var(--paper); }
.cat-card__no { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--faint); }
.cat-card__icon { color: var(--brass); }
.cat-card h3 { font-size: 19px; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; margin-top: auto; }
.cat-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cat-card__arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--hairline);
  transition: all .3s var(--ease);
}
.cat-card:hover .cat-card__arrow { color: var(--brass); transform: translate(3px, -3px); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px #0E1E3A55; border-color: var(--brass-soft); }
.prod-card__media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 110% at 15% 0%, #ffffff 0%, transparent 55%),
    linear-gradient(160deg, var(--ivory-2), #D7E2EF);
  position: relative;
  color: var(--ink-soft);
}
.prod-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(#0E1E3A08 1px, transparent 1px),
    linear-gradient(90deg, #0E1E3A08 1px, transparent 1px);
  background-size: 28px 28px;
}
.prod-card__media .icon { width: 72px; height: 72px; stroke-width: 0.9; opacity: .8; z-index: 1; }
.prod-card__media .flag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.prod-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card__cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); }
.prod-card__body h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.35; }
.prod-card__body h3 a:hover { color: var(--brass-deep); }
.prod-card__supplier { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.prod-card__supplier .icon { width: 13px; height: 13px; color: var(--brass); }
.prod-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline-2); }
.prod-card__foot .mono { font-size: 11.5px; color: var(--faint); letter-spacing: 0.08em; }
.prod-card__foot a { font-size: 13.5px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.prod-card__foot a:hover { color: var(--brass-deep); }
.prod-card__foot a .icon { width: 14px; height: 14px; }
@media (max-width: 1000px) { .prod-grid, .prod-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid, .prod-grid--4 { grid-template-columns: 1fr; } }

/* ---------- supplier cards ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sup-card {
  display: flex;
  gap: 22px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  transition: all .3s var(--ease);
}
.sup-card:hover { border-color: var(--brass-soft); box-shadow: 0 20px 40px -32px #0E1E3A55; }
.sup-card__mark {
  width: 68px; height: 68px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  border-radius: 3px;
}
.sup-card__body { flex: 1; min-width: 0; }
.sup-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sup-card__top h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; }
.sup-card__body p { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 52ch; }
.sup-card__meta { display: flex; gap: 18px; margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.sup-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.sup-card__meta .icon { width: 13px; height: 13px; }
.sup-card__actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; flex: none; }
@media (max-width: 900px) { .sup-grid { grid-template-columns: 1fr; } .sup-card { flex-wrap: wrap; } }

/* A–Z index bar */
.az-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 40px; }
.az-bar a {
  min-width: 36px; height: 36px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--muted);
  background: var(--paper);
  transition: all .2s;
}
.az-bar a:hover, .az-bar a.is-active { background: var(--ink); color: var(--brass-soft); border-color: var(--ink) }
.az-letter { font-family: var(--font-display); font-size: 40px; color: var(--brass); border-bottom: 1px solid var(--hairline); padding-bottom: 8px; margin: 44px 0 22px; }
.az-letter:first-of-type { margin-top: 0; }

/* ---------- event rows ---------- */
.event-list { border-top: 1px solid var(--hairline); }
.event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--hairline);
  transition: background .25s;
}
.event-row:hover { background: var(--paper); }
.event-row__date { text-align: center; border-right: 1px solid var(--hairline); padding-right: 30px; }
.event-row__date strong { font-family: var(--font-display); font-size: 34px; font-weight: 500; display: block; line-height: 1; }
.event-row__date span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.event-row h3 { font-family: var(--font-body); font-size: 19px; font-weight: 600; }
.event-row__meta { display: flex; gap: 20px; margin-top: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.event-row__meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-row__meta .icon { width: 14px; height: 14px; color: var(--brass); }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 84px 1fr; }
  .event-row__date { padding-right: 16px; }
  .event-row__actions { grid-column: 2; }
}

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid var(--hairline); }
.news-card { padding: 28px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 12px; transition: background .25s; }
.news-card:hover { background: var(--paper); }
.news-card time { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }
.news-card h3 { font-size: 18px; line-height: 1.4; font-weight: 500; }
.news-card h3 a:hover { color: var(--brass-deep); }
.news-card p { font-size: 14px; color: var(--muted); }
.news-card .news-card__src { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--brass-deep); font-weight: 600; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; border-top: 1px solid var(--hairline); } .news-card { border-bottom: 1px solid var(--hairline); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; padding: 84px 0; position: relative; }
.cta-band__title { color: var(--ivory); }
.cta-band p { color: #A9AFBB; margin-top: 18px; max-width: 46ch; }
.cta-band__list { margin-top: 26px; display: grid; gap: 12px; }
.cta-band__list li { display: flex; gap: 12px; align-items: flex-start; color: #C8CCD4; font-size: 15px; }
.cta-band__list .icon { color: var(--brass-soft); margin-top: 3px; width: 17px; height: 17px; }
.cta-band__panel {
  background: #FCFAF50D;
  border: 1px solid #FCFAF522;
  border-radius: 4px;
  padding: 34px;
  backdrop-filter: blur(4px);
}
.cta-band__panel .mono { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-soft); }
.cta-band__panel h3 { color: var(--ivory); font-size: 26px; margin: 10px 0 18px; }
.cta-band__panel p { font-size: 14px; margin: 0 0 24px; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; padding: 60px 0; } }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 22px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brass-deep); }
.crumbs .icon { width: 12px; height: 12px; color: var(--faint); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- page hero (interior) ---------- */
.page-head { padding: 30px 0 48px; }
.page-head h1 { margin-top: 14px; }
.page-head .lede { margin-top: 16px; }

/* ---------- filter toolbar ---------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-block: 1px solid var(--hairline);
  margin-bottom: 40px;
}
.toolbar__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin-right: auto; }
.toolbar__count strong { color: var(--brass-deep); }
.select {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 2px;
}
.select select { appearance: none; border: 0; background: none; padding: 10px 38px 10px 14px; font-size: 13.5px; outline: none; cursor: pointer; }
.select .icon { position: absolute; right: 12px; width: 14px; height: 14px; pointer-events: none; color: var(--muted); }
.search-inline { display: inline-flex; align-items: center; border: 1px solid var(--hairline); background: var(--paper); border-radius: 2px; }
.search-inline .icon { width: 15px; height: 15px; margin-left: 12px; color: var(--muted); }
.search-inline input { border: 0; background: none; outline: none; padding: 10px 14px 10px 10px; font-size: 13.5px; width: 200px; }

/* ---------- pagination ---------- */
.paging { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.paging a, .paging span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--muted);
  background: var(--paper);
  transition: all .2s;
  padding: 0 8px;
}
.paging a:hover { border-color: var(--brass); color: var(--brass-deep); }
.paging .is-current { background: var(--ink); color: var(--brass-soft); border-color: var(--ink); }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 40px 0 80px; }
.pd__gallery { position: sticky; top: 110px; align-self: start; }
.pd__main-img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 110% at 15% 0%, #ffffff 0%, transparent 55%),
    linear-gradient(160deg, var(--ivory-2), #D7E2EF);
  position: relative;
  overflow: hidden;
}
.pd__main-img::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(#0E1E3A08 1px, transparent 1px),
    linear-gradient(90deg, #0E1E3A08 1px, transparent 1px);
  background-size: 32px 32px;
}
.pd__main-img .icon { width: 160px; height: 160px; stroke-width: 0.6; color: var(--ink-soft); z-index: 1; }
.pd__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd__thumbs button {
  aspect-ratio: 1;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--muted);
  transition: all .2s;
}
.pd__thumbs button:hover, .pd__thumbs button.is-active { border-color: var(--brass); color: var(--brass-deep); }
.pd__thumbs .icon { width: 30px; height: 30px; stroke-width: 1.1; }

.pd__info .badge { margin-right: 6px; }
.pd__info h1 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 10px; }
.pd__supplier { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.pd__supplier a { color: var(--brass-deep); font-weight: 600; }
.pd__supplier a:hover { text-decoration: underline; }
.pd__desc { margin: 24px 0 30px; color: var(--ink-soft); }
.pd__desc p + p { margin-top: 12px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline-2); }
.spec-table th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; width: 42%; }
.spec-table tr:nth-child(odd) td, .spec-table tr:nth-child(odd) th { background: var(--paper); }

.pd__cta {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--paper);
}
.pd__cta h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pd__cta p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.pd__cta .btn { margin-right: 10px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 40px; } .pd__gallery { position: static; } }

/* ---------- tabs ---------- */
.tabs { border-bottom: 1px solid var(--hairline); display: flex; gap: 34px; margin: 20px 0 30px; }
.tabs button {
  padding: 14px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { color: var(--ink); border-color: var(--brass); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s var(--ease); }

/* ---------- supplier profile ---------- */
.sp-head { display: flex; gap: 30px; align-items: flex-start; padding: 40px 0 44px; flex-wrap: wrap; }
.sp-head__mark {
  width: 110px; height: 110px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--brass-soft);
  font-family: var(--font-display);
  font-size: 44px;
  border-radius: 4px;
  flex: none;
}
.sp-head__body { flex: 1; min-width: 280px; }
.sp-head__body h1 { font-size: clamp(30px, 3.4vw, 46px); }
.sp-head__tags { display: flex; gap: 8px; margin: 14px 0 12px; flex-wrap: wrap; }
.sp-head__body .lede { font-size: 16px; }
.sp-head__aside { display: flex; flex-direction: column; gap: 10px; flex: none; min-width: 220px; }

.sp-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; padding-bottom: 80px; }
.sp-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.info-card { border: 1px solid var(--hairline); border-radius: 3px; background: var(--paper); padding: 24px; }
.info-card h3 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 16px; }
.info-card ul { display: grid; gap: 12px; }
.info-card li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-soft); align-items: flex-start; }
.info-card li .icon { width: 16px; height: 16px; color: var(--brass); margin-top: 2px; }
.info-card li a:hover { color: var(--brass-deep); }
@media (max-width: 960px) { .sp-grid { grid-template-columns: 1fr; } .sp-aside { position: static; } }

/* ---------- forms ---------- */
.form-shell { max-width: 760px; margin-inline: auto; padding: 40px 0 90px; }
.form-card { background: var(--paper); border: 1px solid var(--hairline); border-radius: 4px; padding: 44px; }
.form-card--narrow { max-width: 440px; margin-inline: auto; }
fieldset { border: 0; margin-bottom: 34px; }
.fieldset-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.fieldset-head .fieldset-no {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass-deep);
  flex: none;
}
.fieldset-head legend, .fieldset-head h2 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.fieldset-head p { font-size: 13px; color: var(--muted); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.frow--1 { grid-template-columns: 1fr; }
.frow--3 { grid-template-columns: 1fr 1fr 1fr; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 7px; }
.field label small { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px #00308F1e; }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 8px 0; }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brass); }
.form-foot { border-top: 1px solid var(--hairline); padding-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot p { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .frow, .frow--3 { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }

/* auth pages */
.auth-wrap { min-height: calc(100vh - 320px); display: grid; place-items: center; padding: 70px 0; }
.auth-card { width: min(430px, 100%); background: var(--paper); border: 1px solid var(--hairline); border-radius: 4px; padding: 42px; }
.auth-card h1 { font-size: 30px; margin: 8px 0 6px; }
.auth-card > p { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 22px; }
.auth-alt a { color: var(--brass-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brass); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 64ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #A9AFBB; margin-top: 0; }
.site-footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding: 72px 0 56px; }
.site-footer .brand__markt { color: var(--ivory); }
.site-footer__tag { margin-top: 18px; font-size: 14px; max-width: 34ch; line-height: 1.7; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 12px; font-size: 14px; }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.newsletter { display: flex; border: 1px solid #FCFAF52b; border-radius: 2px; overflow: hidden; margin-top: 4px; }
.newsletter input { flex: 1; background: none; border: 0; outline: none; padding: 12px 14px; color: var(--ivory); font-size: 14px; }
.newsletter input::placeholder { color: #7A8090; }
.newsletter button { background: var(--brass); color: #fff; padding: 0 18px; transition: background .2s; }
.newsletter button:hover { background: var(--brass-deep); }
.site-footer__note { font-size: 12.5px; margin-top: 14px; color: #7A8090; }
.site-footer__bottom { border-top: 1px solid #FCFAF518; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12.5px; color: #7A8090; flex-wrap: wrap; }
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 960px) { .site-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .site-footer__main { grid-template-columns: 1fr; } }

/* ---------- reveal animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- dynamic additions (PHP app) ---------- */
.flash {
  width: var(--w);
  margin: 18px auto 0;
  padding: 14px 20px;
  background: #3E7A5412;
  border: 1px solid #3E7A5440;
  border-left: 3px solid var(--ok);
  border-radius: 3px;
  color: var(--ok);
  font-size: 14.5px;
  font-weight: 500;
}
.flash--err { background: #A43B3B10; border-color: #A43B3B40; border-left-color: var(--danger); color: var(--danger); }
.panel .flash { width: auto; margin: 0; }

.prod-card__media { position: relative; overflow: hidden; }
.prod-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .5s var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.04); }
.pd__main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pd__thumbs button { overflow: hidden; padding: 0; position: relative; }
.pd__thumbs button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- event covers ---------- */
.event-row--media { grid-template-columns: 180px 104px 1fr auto; }
.event-row__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--ivory-2);
}
.event-row__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event-row:hover .event-row__cover img { transform: scale(1.05); }
@media (max-width: 700px) {
  .event-row--media { grid-template-columns: 84px 1fr; }
  .event-row__cover { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}
.event-hero {
  margin-top: 26px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 21 / 8;
  background: var(--ivory-2);
}
.event-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .event-hero { aspect-ratio: 16 / 9; } }

/* ---------- native select styling (cross-browser) ---------- */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
  padding-right: 38px;
  cursor: pointer;
}
.field select:hover { border-color: var(--brass-soft); }
.select { transition: border-color .2s, box-shadow .2s; }
.select:hover { border-color: var(--brass-soft); }
.select:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px #00308F1e; }
.select select { cursor: pointer; }
select option { background: #fff; color: var(--ink); }
select option:checked { background: #00308F14; }
select:focus-visible { outline: none; }

/* ---------- mobile fixes ---------- */
@media (max-width: 720px) {
  .topbar .wrap { height: auto; min-height: 34px; padding: 6px 0; gap: 10px; }
  .topbar__note { display: none; }
  .topbar__links { margin-left: auto; gap: 16px; }
  .hero__watermark { display: none; }
  .display-xl { font-size: clamp(36px, 10.5vw, 52px); }
  .display-lg { font-size: clamp(28px, 8vw, 40px); }
  .hero__search { flex-wrap: wrap; }
  .hero__search input { min-width: 0; }
  .hero__search .btn { width: 100%; border-radius: 0 0 2px 2px; }
  .section-head .btn--line { margin-bottom: 0; }
  .sp-head__aside { width: 100%; }
  .pd { padding: 24px 0 60px; }
}
