/* Hallmark · refinement: existing SPLOT industrial identity · PL / EN / DE
 * Shared type roles, enquiry actions, product framing and contact rhythm. */
:root {
  --splot-title: clamp(2rem, 3.8vw, 3.25rem);
  --splot-section-title: clamp(1.75rem, 3vw, 2.5rem);
  --splot-card-title: clamp(1.375rem, 2.2vw, 1.75rem);
  --splot-detail-title: clamp(1.5rem, 2.6vw, 2rem);
  --splot-copy-leading: 1.65;
  --splot-photo-inset: 12px;
  --splot-action-height: 48px;
  --splot-action-radius: 6px;
  --splot-action-hover: color-mix(in srgb, var(--yellow) 90%, var(--black));
}
/* Roles, not one-off sizes for each language or content template. */
main h1, main h1[class],
main .production-hero h1,
main .kb-hero h1,
main .kb-article-hero h1 {
  font-size: var(--splot-title);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 850;
  font-style: normal;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: anywhere;
  min-width: 0;
}
main h2.display-heading,
main .section-intro h2,
main .section-intro-split h2,
main .kb-section-heading h2,
main .kb-cta h2,
main .product-brief h2 {
  font-size: var(--splot-section-title);
  line-height: 1.12;
  letter-spacing: -.015em;
}
main h2, main h3 {
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: anywhere;
}
main .product-detail__copy h3,
main .machine-row__content h3,
main .industry-index h3 { font-size: var(--splot-detail-title); line-height: 1.15; }
main .product-tile h3 { font-size: var(--splot-card-title); line-height: 1.2; }
.production-hero__copy { max-width: 920px; }
.production-hero__copy > p:not(.hero-kicker) { margin-top: 24px; font-size: 1.125rem; }
.production-hero__content { grid-template-columns: minmax(0, 1fr); }
main .surface-band h1 + p { font-size: 1.125rem; line-height: var(--splot-copy-leading); margin-top: 20px; }
.kb-hero__copy { padding-block: 64px; }
.kb-hero__media { min-height: 480px; }
.kb-article-hero__media { min-height: 360px; }
/* Keep German compounds legible on narrow screens without splitting PL/EN headings. */
@media (max-width: 600px) {
  html[lang^="de"] main h1,
  html[lang^="de"] main h2,
  html[lang^="de"] main h3 { hyphens: auto; }
}
/* A sales enquiry has one appearance, regardless of the page it starts on. */
.button[href*="#inquiry-form"],
#inquiry-form button[type="submit"] {
  min-height: var(--splot-action-height);
  border: 1px solid transparent;
  border-radius: var(--splot-action-radius);
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.button[href*="#inquiry-form"]:hover,
#inquiry-form button[type="submit"]:hover { background: var(--splot-action-hover); color: var(--black); }
.button[href*="#inquiry-form"]:active,
#inquiry-form button[type="submit"]:active { transform: translateY(1px); }
.button[href*="#inquiry-form"]:focus-visible,
#inquiry-form button[type="submit"]:focus-visible { outline: 3px solid var(--accessible-accent, var(--blue-dark)); outline-offset: 3px; }
#inquiry-form button[type="submit"]:disabled { opacity: .55; cursor: wait; }
.button svg { flex-shrink: 0; }
/* Full product photographs share a quiet mount; avoid decorative image cropping. */
.product-tile { display: flex; flex-direction: column; }
.product-tile__media { flex-shrink: 0; padding: var(--splot-photo-inset); }
.product-tile__media img { object-fit: contain; object-position: center; }
.product-tile:hover .product-tile__media img { transform: none; }
.product-tile__media span { top: 20px; left: 20px; }
.product-tile__body { display: flex; flex: 1; flex-direction: column; }
.product-tile__body > p:not(.mono-label) { min-height: 0; }
.product-tile__body > .text-link { margin-top: auto; padding-top: 24px; align-self: flex-start; }
.product-tile__meta { min-height: 0; margin-bottom: 20px; }
.product-detail__copy p { line-height: var(--splot-copy-leading); }
/* Contact is a working page: compact introduction, clear departments, one brief. */
.contact-hero { padding-block: 40px; }
.contact-hero__grid { gap: 32px; }
main .contact-hero h1 { font-size: var(--splot-section-title); margin-top: 12px; }
.contact-hero__grid > div:first-child > p:not(.section-label) { font-size: 1rem; line-height: var(--splot-copy-leading); margin-top: 16px; }
.contact-hero__actions { margin-top: 20px; }
.contact-hero .sales-person { border: 1px solid var(--line); padding: 24px; }
.contact-hero .sales-person__avatar { display: none; }
.contact-hero .sales-person h2 { font-size: 1.375rem; }
.contact-hero .sales-person__contact { margin-top: 16px; padding-top: 16px; }
.contact-hero + .section { padding-block: 40px 64px; }
.contact-hero + .section .section-intro { margin-bottom: 24px; }
.contact-department { min-height: 0; gap: 20px; padding: 24px; }
.contact-department h2 { font-size: var(--splot-card-title); line-height: 1.2; margin-top: 8px; }
.contact-department__links { gap: 8px; padding-top: 16px; }
.contact-department__links a { min-height: 44px; }
.contact-brief-heading { margin: 40px 0 24px; gap: 24px; }
main .contact-brief-heading h2 { font-size: var(--splot-detail-title); line-height: 1.15; }
.contact-checklist, #inquiry-form { padding: 24px; }
#inquiry-form h2, #inquiry-form h3 { font-size: var(--splot-detail-title); line-height: 1.15; }
@media (max-width: 900px) {
  .contact-hero__grid,
  .contact-brief-heading,
  .kb-section-heading { grid-template-columns: minmax(0, 1fr); }
  .contact-hero { padding-block: 32px; }
  .kb-hero__copy { padding-block: 40px; }
}
@media (max-width: 600px) {
  .production-hero__content { padding-block: 40px 24px; }
  .production-hero__copy > p:not(.hero-kicker) { font-size: 1rem; }
  .contact-hero__grid { gap: 24px; }
  .contact-hero .sales-person { padding: 20px; }
  .contact-hero + .section { padding-top: 32px; }
  .contact-department, .contact-checklist, #inquiry-form { padding: 20px; }
  .contact-brief-heading { gap: 12px; }
  .kb-article-hero__media, .kb-hero__media { min-height: 260px; }
}
