/* UTR GmbH – static site. Brand: blue #2a3e92, navy #0f1664, yellow #fff100 */
:root {
  --blue: #2a3e92; --navy: #0f1664; --yellow: #fff100; --yellow-soft: #fffbcc;
  --ink: #1d2230; --muted: #5b6275; --line: #dfe3ec; --bg: #f5f6f9; --white: #fff;
  --radius: 6px; --wrap: 1180px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.2; margin: .4em 0 .6em; color: var(--navy); }
h2 { font-size: 1.25rem; color: var(--navy); margin: 0 0 .7em; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { background: var(--white); border-bottom: 4px solid var(--yellow); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { display: block; width: 230px; height: auto; }
.tools { display: flex; align-items: center; gap: 18px; }
.lang { font-size: .9rem; color: var(--muted); text-decoration: none; }
.lang:hover { text-decoration: underline; }
.inq-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--white); text-decoration: none;
  padding: 9px 16px; border-radius: var(--radius); font-weight: 600; }
.inq-btn:hover { background: var(--navy); color: var(--white); }
.inq-count { background: var(--yellow); color: var(--navy); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid;
  place-items: center; font-size: .8rem; padding: 0 6px; }

.main-nav { background: var(--blue); }
.main-nav .wrap { position: relative; }
.nav-toggle { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 13px 16px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu > li > a:hover, .menu > li:focus-within > a { background: var(--navy); }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: var(--yellow); transform: translateY(3px); }
.sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--white);
  border-top: 3px solid var(--yellow); box-shadow: 0 10px 24px rgba(15,22,100,.18); display: none; z-index: 20; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: 8px 16px; text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--yellow-soft); color: var(--navy); }

/* main */
main { padding-top: 10px; padding-bottom: 50px; min-height: 55vh; }
.crumbs ol { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 900px; }
.prose img { display: block; margin: 8px 0; }
.prose h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; color: var(--navy); }
.btn { display: inline-block; border: 2px solid var(--blue); background: var(--white); color: var(--blue); padding: 10px 18px;
  border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--yellow-soft); }
.btn.primary { background: var(--blue); color: var(--white); }
.btn.primary:hover { background: var(--navy); border-color: var(--navy); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* home */
.hero { text-align: center; padding: 26px 0 10px; }
.hero-logo { width: min(520px, 90%); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: 0 8px 22px rgba(15,22,100,.13); transform: translateY(-2px); color: var(--ink); }
.tile .ph { aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #eef1f7); padding: 10px; }
.tile .ph img { max-height: 100%; object-fit: contain; }
.tile .tx { padding: 14px 16px 16px; border-top: 3px solid var(--yellow); }
.tile strong { color: var(--navy); font-size: 1.1rem; }
.tile ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; color: var(--muted); }
.cta { text-align: center; margin: 34px 0; }
.quotes h2 { text-align: center; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
blockquote { margin: 0; background: var(--white); border-left: 4px solid var(--yellow); padding: 14px 16px; font-style: italic; color: var(--muted); }

/* category */
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--blue); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.chips a:hover { background: var(--blue); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s; }
.card:hover { box-shadow: 0 8px 22px rgba(15,22,100,.13); }
.card .ph { aspect-ratio: 1; display: grid; place-items: center; padding: 12px; }
.card .ph img { max-height: 100%; object-fit: contain; }
.card .nm { padding: 10px 14px 14px; font-weight: 600; color: var(--navy); border-top: 3px solid var(--yellow); }

/* product */
.p-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 20px; }
.gallery { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.main-img { display: block; margin: 0 auto; max-height: 460px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; padding: 4px; border: 2px solid var(--line); background: var(--white); border-radius: 4px; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--blue); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.buy { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.buy h1 { margin-top: 0; }
.sku { color: var(--muted); margin: 0; font-size: .9rem; }
.price { font-weight: 700; color: var(--navy); background: var(--yellow-soft); display: inline-block; padding: 4px 10px; border-radius: 4px; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid #b9c0d0; border-radius: 4px; background: var(--white); color: var(--ink); }
.field.qty input { width: 110px; }
.na { color: #a1260d; font-weight: 600; }
.hint { min-height: 1.4em; margin: 8px 0 0; font-size: .9rem; color: var(--blue); }
.hint a { font-weight: 600; }
.p-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; }
.specs { border-collapse: collapse; min-width: min(480px, 100%); }
.specs th, .specs td { text-align: left; padding: 7px 14px 7px 0; border-bottom: 1px solid var(--line); }
.specs th { font-weight: 600; color: var(--muted); }
.drawings img { max-width: min(825px, 100%); }
.v3d iframe { width: 100%; max-width: 640px; height: 520px; border: 0; }
.note { font-size: .85rem; color: var(--muted); }

/* inquiry + forms */
.inq-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); margin-bottom: 26px; }
.inq-table th, .inq-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inq-table thead th { background: var(--blue); color: var(--white); font-size: .9rem; }
.inq-table input { width: 80px; font: inherit; padding: 6px 8px; border: 1px solid #b9c0d0; border-radius: 4px; }
.inq-table .opts { color: var(--muted); font-size: .9rem; }
.linkbtn { background: none; border: 0; color: #a1260d; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.send-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; max-width: 760px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .85rem; color: var(--muted); }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1c6b2c; }
.form-status.err { color: #a1260d; }
.empty { background: var(--white); border: 1px dashed var(--line); padding: 18px; }

/* footer */
.site-footer { background: var(--navy); color: #d9ddf0; padding: 28px 0 14px; font-size: .92rem; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.site-footer .links { list-style: none; padding: 0; margin: 0; }
.site-footer .copy { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; font-size: .8rem; color: #aab1d6; }

@media (max-width: 820px) {
  .p-top { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .logo img { width: 170px; }
  .nav-toggle { display: block; background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; padding: 12px 0; cursor: pointer; }
  .nav-toggle::before { content: "☰ "; }
  #menu { display: none; }
  #menu.open { display: block; }
  .menu { flex-direction: column; padding-bottom: 10px; }
  .menu > li > a { padding: 10px 0; }
  .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { color: #dfe4ff; padding: 5px 0; }
  .sub a:hover { background: transparent; color: var(--yellow); }
  .inq-table thead { display: none; }
  .inq-table tr { display: block; border-bottom: 1px solid var(--line); }
  .inq-table td { display: block; border: 0; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
