:root {
  --red: #ee171c;
  --red-dark: #c90f14;
  --black: #080808;
  --charcoal: #111111;
  --paper: #f3f0e9;
  --white: #ffffff;
  --muted: #66615c;
  --line: rgba(10, 10, 10, 0.18);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: Arial, Helvetica, sans-serif;
  --page: 1440px;
  --gutter: clamp(24px, 4.2vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

body, a, button, summary { -webkit-font-smoothing: antialiased; }

.vm-page { background: var(--black); min-height: 100vh; width: 100%; }
.vm-page .capacity-image img,
.vm-page .product-card > img,
.vm-page .process-image img,
.vm-page .verification-image img {
  height: 100%;
  width: 100%;
}
.vm-page .product-card > img,
.vm-page .process-image img,
.vm-page .verification-image img {
  inset: 0;
  position: absolute;
}
.vm-page .capability-list article > b {
  color: white;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

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

img { display: block; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #5ac8ff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: white;
  color: black;
  padding: 12px 16px;
  font-weight: 800;
}

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

.site-header {
  align-items: center;
  background: #090909;
  color: white;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  min-height: 62px;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 20;
}

.brand-link { display: inline-flex; justify-self: start; }

.brand-word {
  color: white;
  font-family: var(--display);
  font-size: clamp(25px, 2vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-word span { color: var(--red); }

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.5vw, 42px);
  justify-content: center;
}

.desktop-nav a,
.site-footer nav a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav a { color: #dedede; padding: 23px 0 20px; position: relative; }
.desktop-nav a.is-active::after {
  background: var(--red);
  bottom: 13px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 24px;
}
.desktop-nav a:hover { color: white; }
.desktop-nav a.is-active { color: white; }

.header-actions {
  align-items: stretch;
  align-self: stretch;
  display: flex;
}

.language-menu {
  align-items: center;
  display: flex;
  position: relative;
}

.language-menu summary {
  align-items: center;
  color: #dedede;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: 100%;
  list-style: none;
  min-width: 64px;
  padding: 0 14px;
}

.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary,
.language-menu summary:hover { color: white; }

.language-menu-list {
  background: #0d0d0d;
  border-top: 2px solid var(--red);
  display: grid;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 62px;
  z-index: 50;
}

.language-menu-list a {
  color: #dedede;
  font-size: 12px;
  font-weight: 800;
  padding: 11px 12px;
  white-space: nowrap;
}

.language-menu-list a:hover,
.language-menu-list a[aria-current="page"] { background: #1b1b1b; color: white; }

.header-cta {
  align-items: center;
  align-self: stretch;
  background: var(--red);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  padding: 0 26px;
}

.header-cta:hover,
.button-red:hover,
.product-link-red:hover { background: var(--red-dark); }

.mobile-menu { display: none; }

main, .site-footer { margin: 0 auto; max-width: var(--page); }

.hero-section {
  color: white;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.hero-photo,
.hero-shade {
  inset: 0 220px 0 0;
  position: absolute;
}

.hero-photo {
  background: url("images/hero-factory.webp") center 46% / cover no-repeat;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.18) 66%, rgba(0, 0, 0, 0.04) 100%);
}

.hero-copy {
  left: var(--gutter);
  max-width: 720px;
  position: absolute;
  top: 53%;
  transform: translateY(-50%);
  z-index: 2;
}

.section-kicker {
  align-items: center;
  color: #282828;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.section-kicker::before {
  background: var(--red);
  content: "";
  height: 3px;
  width: 22px;
}

.section-kicker.light { color: #e6e6e6; }

.hero-copy .section-kicker::before { display: none; }

h1, h2, h3, p { margin-top: 0; }

h1,
.capacity-copy h2,
.products-heading h2,
.process-intro h2,
.verification-copy h2,
.buyer-title-block h2,
.cta-copy h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: 0.85;
  margin: 0 0 22px;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 span,
.capacity-copy h2 span,
.products-heading h2 span,
.process-intro h2 span,
.verification-copy h2 span,
.buyer-title-block h2 span,
.cta-copy h2 span { color: var(--red); }

.hero-subcopy {
  border-top: 2px solid var(--red);
  color: #f4f4f4;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.35;
  margin: 0;
  max-width: 330px;
  padding-top: 12px;
  text-transform: uppercase;
}

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  transition: background 160ms ease, color 160ms ease, border 160ms ease;
}

.button-red { background: var(--red); color: white; }
.button-ghost { border-color: rgba(255,255,255,0.55); color: white; }
.button-ghost:hover { background: white; color: black; }

.metrics-rail {
  background: #070707;
  bottom: 0;
  display: grid;
  padding: 10px 34px;
  position: absolute;
  right: 0;
  top: 0;
  width: 220px;
  z-index: 3;
}

.metric {
  align-content: center;
  border-bottom: 2px solid var(--red);
  display: grid;
  min-height: 0;
  padding: 10px 0;
}

.metric:last-child { border-bottom: 0; }
.metric strong { font-family: var(--display); font-size: 40px; line-height: 0.95; }
.metric strong small { font-family: var(--sans); font-size: 16px; margin-left: 5px; }
.metric span { color: #f0f0f0; font-size: 12px; font-weight: 800; margin-top: 7px; }

.capacity-section {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(315px, 0.95fr) minmax(0, 1.16fr) 220px;
  min-height: 340px;
}

.capacity-copy {
  align-self: center;
  padding: 44px 28px 42px var(--gutter);
}

.capacity-copy h2,
.products-heading h2,
.process-intro h2,
.verification-copy h2,
.buyer-title-block h2 {
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.86;
  margin: 0 0 20px;
}

/* Keep the template's heading contrast stable against theme heading colors. */
.vm-page .capacity-copy h2,
.vm-page .process-intro h2,
.vm-page .process-grid h3,
.vm-page .buyer-title-block h2 {
  color: var(--black);
}

.vm-page .products-heading h2,
.vm-page .product-content h3,
.vm-page .verification-copy h2,
.vm-page .cta-copy h2 {
  color: var(--white);
}

.capacity-copy > p:last-child {
  color: #292929;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  max-width: 390px;
}

.capacity-image { min-height: 340px; overflow: hidden; position: relative; }
.capacity-image img { object-fit: cover; object-position: center; }

.capability-list {
  background: #101010;
  color: white;
  display: grid;
  padding: 28px 24px;
}

.capability-list article {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 38px 1fr;
}

.capability-list svg {
  fill: none;
  height: 32px;
  stroke: white;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.6;
  width: 32px;
}

.capability-list h3 { font-size: 14px; margin: 0 0 5px; }
.capability-list p { color: #cfcfcf; font-size: 11px; line-height: 1.35; margin: 0; }

.products-section { background: #0d0d0d; color: white; }

.products-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 36px var(--gutter) 30px;
}

.products-heading h2 { font-size: clamp(42px, 4.3vw, 64px); margin-bottom: 0; }
.products-heading p:last-child { color: #d0d0d0; font-size: 14px; line-height: 1.55; margin: 0 0 4px; }

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

.product-card {
  border-right: 1px solid rgba(255,255,255,0.32);
  min-height: 350px;
  overflow: hidden;
  position: relative;
}

.product-card:last-child { border-right: 0; }
.product-card img { object-fit: cover; transition: transform 500ms ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card-featured img { object-position: center 62%; }
.product-card-acoustic img { object-position: 48% center; }
.product-card-electric img { object-position: 45% center; }
.product-card-bass img { object-position: 54% center; }
.product-overlay { background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.92) 100%); inset: 0; position: absolute; }
.product-content { bottom: 0; left: 0; padding: 24px; position: absolute; right: 0; z-index: 2; }
.product-content h3 { font-family: var(--display); font-size: clamp(25px, 2.4vw, 38px); line-height: 1; margin: 0 0 16px; }
.product-actions { display: flex; gap: 8px; }
.product-link { align-items: center; border: 1px solid rgba(255,255,255,0.55); display: inline-flex; font-size: 10px; font-weight: 800; gap: 8px; justify-content: center; min-height: 38px; padding: 8px 10px; }
.product-link-red { background: var(--red); border-color: var(--red); }
.product-link:hover { background: white; color: black; }
.product-link svg { height: 14px; width: 14px; }

.process-section {
  background: var(--paper);
  display: grid;
  gap: 34px;
  grid-template-columns: 250px 1fr;
  padding: 46px var(--gutter);
}

.process-intro h2 {
  font-size: 44px;
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.process-grid { display: grid; gap: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.process-grid li { border-left: 1px solid #d2bbb3; min-width: 0; padding: 0 16px; position: relative; }
.process-number { color: #d8bbb3; display: block; font-family: var(--display); font-size: 40px; line-height: 1; margin-bottom: 12px; }
.process-image { aspect-ratio: 1.6; margin-bottom: 12px; overflow: hidden; position: relative; }
.process-image img { object-fit: cover; }
.process-grid h3 { font-size: 13px; line-height: 1.15; margin: 0 0 7px; }
.process-grid p { color: #363636; font-size: 10px; line-height: 1.38; margin: 0; }
.process-arrow { color: var(--red); font-size: 22px; font-weight: 900; position: absolute; right: -8px; top: 94px; z-index: 3; }

.verification-section {
  background: #0b0b0b;
  color: white;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 240px;
}

.verification-copy { align-self: center; padding: 34px 28px 34px var(--gutter); }
.verification-copy h2 { font-size: clamp(40px, 4vw, 58px); margin-bottom: 14px; }
.verification-copy p { color: #dedede; font-size: 12px; line-height: 1.45; margin: 0 0 14px; max-width: 520px; }
.text-link { align-items: center; color: white; display: inline-flex; font-size: 12px; font-weight: 800; gap: 10px; text-transform: uppercase; }
.text-link:hover { color: var(--red); }
.verification-image { min-height: 240px; overflow: hidden; position: relative; }
.verification-image::after { background: linear-gradient(90deg, #0b0b0b 0%, transparent 28%); content: ""; inset: 0; position: absolute; z-index: 1; }
.verification-image img { object-fit: cover; object-position: center 46%; }

.buyer-section {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: 28px;
  grid-template-columns: 370px 1fr;
  padding: 32px var(--gutter);
}

.buyer-title-block h2 { font-size: 38px; margin: 0; }
.buyer-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.buyer-links > a { border-left: 1px solid #cfaea7; display: grid; gap: 14px; grid-template-columns: 48px 1fr; min-height: 92px; padding: 5px 18px; }
.buyer-links > a:hover strong { color: var(--red); }
.buyer-links b { color: #d3aaa2; font-family: var(--display); font-size: 36px; line-height: 1; min-width: 48px; white-space: nowrap; }
.buyer-links span { display: grid; gap: 8px; }
.buyer-links strong { font-size: 13px; line-height: 1.2; transition: color 160ms ease; }
.buyer-links small { color: #4e4a47; font-size: 10px; line-height: 1.4; }

.cta-section {
  align-items: center;
  background: #100000;
  color: white;
  display: grid;
  grid-template-columns: 31% 1fr auto;
  min-height: 150px;
  overflow: hidden;
  position: relative;
}

.cta-art { align-self: stretch; background: linear-gradient(90deg, rgba(24,0,0,0.2), rgba(24,0,0,0.72)), url("images/cta-electric-bodies.webp") center / cover; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.cta-copy { padding: 24px 34px; }
.cta-copy p { font-size: 10px; font-weight: 900; letter-spacing: 0.08em; margin: 0 0 7px; text-transform: uppercase; }
.cta-copy h2 { font-size: clamp(38px, 3.4vw, 54px); line-height: 0.95; margin: 0; }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; padding-right: var(--gutter); }
.email-link { font-size: 12px; font-weight: 700; text-align: center; }
.email-link:hover { color: var(--red); }

.site-footer {
  align-items: center;
  background: #090909;
  color: white;
  display: grid;
  gap: 28px;
  grid-template-columns: 210px 1fr auto;
  min-height: 82px;
  padding: 0 var(--gutter);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.site-footer nav a { color: #cfcfcf; font-size: 12px; }
.site-footer nav a:hover { color: var(--red); }
.site-footer > span { color: #aaa; font-size: 10px; text-transform: uppercase; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 190px 1fr auto; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 12px; }
  .hero-photo, .hero-shade { right: 190px; }
  .metrics-rail { padding-left: 25px; padding-right: 25px; width: 190px; }
  .metric strong { font-size: 34px; }
  .capacity-section { grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr) 190px; }
  .capability-list { padding: 24px 16px; }
  .process-section { gap: 20px; grid-template-columns: 225px 1fr; }
  .process-grid li { padding: 0 10px; }
  .buyer-section { grid-template-columns: 325px 1fr; }
  .buyer-links > a { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 62px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; justify-self: end; position: relative; }
  .mobile-menu summary { cursor: pointer; display: grid; gap: 5px; list-style: none; padding: 12px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { background: white; display: block; height: 2px; width: 24px; }
  .mobile-menu nav { background: #0d0d0d; border-top: 2px solid var(--red); display: grid; min-width: 260px; padding: 16px; position: absolute; right: 0; top: 45px; }
  .mobile-menu nav a { border-bottom: 1px solid #333; font-size: 14px; font-weight: 800; padding: 13px 8px; }
  .mobile-menu nav .mobile-quote { background: var(--red); border-bottom: 0; margin-top: 10px; text-align: center; }
  .mobile-languages { display: flex; gap: 8px; padding: 12px 8px 4px; }
  .mobile-menu nav .mobile-languages a { border: 1px solid #3b3b3b; flex: 1; font-size: 11px; padding: 9px 6px; text-align: center; }
  .mobile-menu nav .mobile-languages a[aria-current="page"] { background: #242424; border-color: var(--red); color: white; }

  .hero-section { min-height: 620px; padding-bottom: 150px; }
  .hero-photo, .hero-shade { inset: 0 0 150px 0; }
  .hero-copy { left: 24px; right: 24px; top: 46%; }
  .hero-copy h1 { font-size: clamp(54px, 11vw, 80px); }
  .metrics-rail { bottom: 0; grid-template-columns: repeat(4, 1fr); height: 150px; left: 0; padding: 12px 18px; right: 0; top: auto; width: auto; }
  .metric { border-bottom: 0; border-right: 1px solid var(--red); padding: 8px 12px; }
  .metric:last-child { border-right: 0; }
  .metric strong { font-size: 30px; }

  .capacity-section { grid-template-columns: 1fr 1fr; }
  .capacity-copy { padding-left: 32px; }
  .capacity-image { min-height: 340px; }
  .capability-list { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
  .products-heading { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card { min-height: 360px; }
  .process-section { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(5, minmax(155px, 1fr)); overflow-x: auto; padding-bottom: 14px; }
  .verification-section { grid-template-columns: 1fr; }
  .verification-image { min-height: 320px; order: -1; }
  .verification-image::after { background: linear-gradient(180deg, transparent 55%, #0b0b0b 100%); }
  .verification-copy { margin-top: -72px; padding-left: 32px; position: relative; z-index: 2; }
  .buyer-section { grid-template-columns: 1fr; }
  .buyer-links { grid-template-columns: 1fr; gap: 18px; }
  .cta-section { grid-template-columns: 32% 1fr; }
  .cta-actions { grid-column: 1 / -1; padding: 0 32px 28px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding-bottom: 28px; padding-top: 28px; text-align: center; }
}

@media (max-width: 620px) {
  :root { --gutter: 22px; }
  .brand-word { font-size: 26px; }
  .hero-section { min-height: 720px; padding-bottom: 208px; }
  .hero-photo, .hero-shade { bottom: 208px; }
  .hero-photo { background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,0.91) 0%, rgba(0,0,0,0.62) 62%, rgba(0,0,0,0.12) 100%); }
  .hero-copy { top: 46%; }
  .hero-copy h1 { font-size: clamp(48px, 14.4vw, 70px); }
  .hero-subcopy { font-size: 13px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .metrics-rail { grid-template-columns: 1fr 1fr; height: 208px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--red); }
  .metric strong { font-size: 31px; }

  .capacity-section { grid-template-columns: 1fr; }
  .capacity-copy { padding: 42px 22px; }
  .capacity-copy h2, .products-heading h2, .verification-copy h2 { font-size: 44px; }
  .capacity-image { min-height: 280px; }
  .capability-list { grid-column: auto; grid-template-columns: 1fr; }
  .products-heading { gap: 20px; padding-left: 22px; padding-right: 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { border-bottom: 1px solid rgba(255,255,255,0.28); border-right: 0; min-height: 390px; }
  .product-content h3 { font-size: 34px; }
  .product-actions { flex-wrap: wrap; }
  .process-section { padding: 42px 22px; }
  .process-grid { grid-template-columns: 1fr; overflow: visible; }
  .process-grid li { border-bottom: 1px solid #d2bbb3; display: grid; gap: 5px 15px; grid-template-columns: 68px 118px 1fr; padding: 18px 0; }
  .process-number { grid-row: 1 / 3; margin: 0; }
  .process-image { grid-row: 1 / 3; margin: 0; }
  .process-grid h3 { align-self: end; }
  .process-grid p { grid-column: 3; }
  .process-arrow { display: none; }
  .verification-image { min-height: 250px; }
  .verification-copy { padding-left: 22px; padding-right: 22px; }
  .buyer-section { padding-left: 22px; padding-right: 22px; }
  .buyer-title-block h2 { font-size: 36px; }
  .buyer-links > a { padding-left: 0; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-art { clip-path: none; min-height: 150px; }
  .cta-copy { padding: 26px 22px 18px; }
  .cta-copy h2 { font-size: 42px; }
  .cta-actions { padding: 0 22px 28px; }
  .site-footer nav { line-height: 1.9; }
}

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

/* Product-line access uses native details, including keyboard and touch input. */
.vm-product-menu { position: relative; }
.vm-product-menu summary { color: #dedede; cursor: pointer; font-size: 14px; font-weight: 800; letter-spacing: .06em; list-style: none; padding: 23px 0 20px; text-transform: uppercase; white-space: nowrap; }
.vm-product-menu summary::-webkit-details-marker { display: none; }
.vm-product-menu[open] summary { color: white; }
.vm-product-menu-list { background: #0d0d0d; border-top: 2px solid var(--red); display: grid; left: 0; min-width: 245px; padding: 8px; position: absolute; top: 62px; z-index: 50; }
.desktop-nav .vm-product-menu-list a { padding: 12px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.vm-product-menu-list a:hover { background: #252525; }
.vm-mobile-product-links { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 8px 0 14px; padding: 8px; border: 1px solid #444; }
.vm-mobile-product-links a { overflow-wrap: normal; word-break: normal; font-size: 12px; line-height: 1.5; }
.site-footer .vm-footer-product-links { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }

@media (max-width: 960px) {
  .mobile-menu nav { max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 600px) {
  .hero-copy h1:lang(ru) { font-size: clamp(34px, 9vw, 48px); overflow-wrap: normal; word-break: normal; }
}

/* German Contact: long compounds must not widen the narrow-screen grid. */
@media (max-width: 900px) {
  .vm-page .vm-contact-layout:lang(de) { grid-template-columns: minmax(0, 1fr); }
  .vm-page .vm-contact-layout:lang(de) > * { min-width: 0; }
}
@media (max-width: 620px) {
  .vm-page .vm-contact-copy h1:lang(de) { font-size: clamp(34px, 10vw, 48px); overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
  .vm-page .vm-contact-form-panel h2:lang(de) { font-size: clamp(26px, 8vw, 36px); overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
}

/* Three legacy image/text description tables stack without changing product data. */
@media (max-width: 620px) {
  body:is(.postid-2154, .postid-2162, .postid-2165) .vm-product-detail-page .woocommerce-Tabs-panel--description :is(table, tbody, tr, td) { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; box-sizing: border-box; }
  body:is(.postid-2154, .postid-2162, .postid-2165) .vm-product-detail-page .woocommerce-Tabs-panel--description td { overflow-wrap: anywhere; word-break: normal; }
  body:is(.postid-2154, .postid-2162, .postid-2165) .vm-product-detail-page .woocommerce-Tabs-panel--description td img { max-width: 100%; height: auto; }
}

/* Native Polylang flags keep the configured region and existing destination. */
.language-menu summary, .language-menu-list a, .mobile-languages a { align-items: center; display: flex; gap: 9px; }
.vm-language-flag { border-radius: 1px; display: inline-block; flex: 0 0 24px; height: 16px; object-fit: fill; width: 24px; }
.mobile-languages a { justify-content: center; }
.vm-page .vm-blog-card-media.vm-catalogue-photo-cover { background: #f4f3ef; }
.vm-page .vm-blog-card-media.vm-catalogue-photo-cover img { object-fit: contain; }
@media (max-width: 620px) {
  .mobile-languages a { gap: 5px; }
  .mobile-languages .vm-language-flag { flex-basis: 20px; height: 14px; width: 20px; }
}
