/* Consolidated theme stylesheet. Source order: base.css, header-footer.css, layout.css, components.css, forms.css, product-cards.css */

/* ===== base.css ===== */
/* Base tokens, resets and element defaults */
:root {
  --bg: var(--wp--preset--color--page-bg, #efeff2);
  --surface: var(--wp--preset--color--neutral-100, #ffffff);
  --surface-soft: var(--wp--preset--color--soft, #f8f8fa);
  --text: var(--wp--preset--color--text, #1a1f2e);
  --muted: #5b6678;
  --line: var(--wp--preset--color--line, #e2e6ed);
  --accent: var(--wp--preset--color--accent, #c8371a);
  --accent-hover: var(--wp--preset--color--accent-hover, #df4c2a);
  --accent-soft: var(--wp--preset--color--accent-soft, #fff3ef);
  --footer: var(--wp--preset--color--footer, #11182a);
  --banner: var(--wp--preset--color--banner, #34485c);
  --radius-xs: var(--wp--preset--border-radius--xs, 10px);
  --radius-sm: var(--wp--preset--border-radius--sm, 16px);
  --radius-md: var(--wp--preset--border-radius--md, 22px);
  --radius-lg: var(--wp--preset--border-radius--lg, 28px);
  --radius-xl: var(--wp--preset--border-radius--xl, 34px);
  --radius-pill: var(--wp--preset--border-radius--pill, 999px);
  --shadow-sm: var(--wp--custom--shadow--soft-sm, 0 12px 26px rgba(17, 24, 39, 0.06));
  --shadow: var(--wp--custom--shadow--soft, 0 18px 40px rgba(17, 24, 39, 0.08));
  --shadow-button: var(--wp--custom--shadow--button, 0 18px 34px rgba(200, 55, 26, 0.24));
  --container: min(100% - 80px, 1160px);
  --section-space: var(--wp--custom--spacing--section, clamp(3.25rem, 5vw, 5rem));
  --card-pad: var(--wp--custom--spacing--card-pad, clamp(1.25rem, 1rem + 0.8vw, 2rem));
  --button-height: var(--wp--custom--spacing--button-height, 56px);
  --button-padding-x: var(--wp--custom--spacing--button-padding-x, 1.4rem);
  --button-gap: var(--wp--custom--spacing--button-gap, 0.625rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #efeff2 0%, #f7f8fa 100%);
  color: var(--text);
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  text-wrap: pretty;
}
main { display: block; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
a:hover { color: var(--accent); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-family: var(--wp--preset--font-family--syne, Syne, sans-serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}
p, li { color: var(--text); line-height: 1.7; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; padding: 0; }
strong { color: var(--text); }

.container {
  width: var(--container);
  max-width: 1160px;
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-title { font-size: clamp(2rem, 1.55rem + 1.9vw, 3.45rem); }
.section-lead,
.hero-lead,
.section-intro,
.small {
  color: var(--muted);
}
.hero-lead,
.section-lead { font-size: clamp(1.02rem, 0.95rem + 0.28vw, 1.18rem); }
.small { font-size: 0.92rem; }
.inline-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.14em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.95rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.badge,
.hero-signals span,
.home-signal-list p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 55, 26, 0.14);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.hero-signals span { justify-content: flex-start; }

.box,
.card,
.info-card,
.step-card,
.faq-card,
.category-card,
.cta-banner,
.tool-side-card,
.tool-benefit-card,
.service-mini-card,
.legal-section-card,
.contact-form-shell,
.request-form-box,
.gallery-card,
.variant-card,
.technical-sketch-card,
.term-description-box,
.ob-card,
.faq-section details,
.taxonomy-overview-card,
.material-detail-card,
.material-color-system,
.coating-card-product,
.product-hero-media,
.taxonomy-hero-media {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card-pad,
.page-content-card .card-pad,
.term-description-box,
.request-form-box,
.contact-form-shell {
  padding: var(--card-pad);
}
.box {
  padding: clamp(1.5rem, 1.15rem + 1vw, 2.35rem);
}
.hero-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.service-icon {
  width: 32px;
  height: 32px;
  margin: 0 0 1rem;
}
.icon-list,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--radius-pill);
  background: #f4f6f9;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.btn,
.wp-element-button,
.wp-block-button__link,
input[type="submit"],
button,
[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  min-height: var(--button-height);
  padding: 0.78rem var(--button-padding-x);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button:hover,
[role="button"]:hover { transform: translateY(-1px); }

.btn-primary,
.btn.btn-primary .wp-block-button__link,
.wp-block-button.btn.btn-primary .wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-button);
}
.btn-primary:hover,
.btn.btn-primary .wp-block-button__link:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn-secondary,
.btn.btn-secondary .wp-block-button__link,
.wp-block-button.btn.btn-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover,
.btn.btn-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(200, 55, 26, 0.2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
}
.hero-actions .wp-block-button,
.hero-actions .btn,
.hero-actions .wp-block-button__link { margin: 0; }

.breadcrumb-section { margin: 0; padding: 0; }
.breadcrumb-section .container { padding-top: 0; padding-bottom: 0; }
.breadcrumbs {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs__item:not(:last-child)::after {
  content: '›';
  color: #94a0b5;
}
.breadcrumbs__item.is-current span { color: var(--muted); font-weight: 600; }

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.table td, .table th {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table tr:last-child td,
.table tr:last-child th { border-bottom: 0; }

@media (max-width: 782px) {
  :root { --container: min(100% - 32px, 1160px); }
  .hero-actions,
  .badges,
  .hero-signals { gap: 0.65rem; }
  .btn,
  .wp-element-button,
  .wp-block-button__link,
  input[type="submit"],
  button,
  [role="button"] { width: 100%; }
  .hero-actions .wp-block-button { width: 100%; }
}


/* Finalfix: button wrappers and breadcrumb compaction */
.wp-block-button.btn,
.wp-block-button.btn-primary,
.wp-block-button.btn-secondary,
.wp-block-button.is-style-fill,
.wp-block-button.is-style-outline {
  min-height: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.breadcrumb-section.section {
  padding-block: 0.2rem 0.5rem;
}
.breadcrumb-section .container {
  padding-top: 0;
  padding-bottom: 0;
}
.breadcrumbs {
  font-size: 0.88rem;
}
.breadcrumbs__list {
  gap: 0.35rem 0.5rem;
}
.breadcrumbs__item {
  gap: 0.35rem;
}
.breadcrumbs__item a {
  text-decoration: none;
}

@media (max-width: 782px) {
  .breadcrumb-section.section {
    padding-block: 0.15rem 0.4rem;
  }
}


/* Final preview overrides */
body {
  background: #efeff2;
}
:root {
  --muted: #5b6475;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow-sm: 0 10px 24px rgba(17,24,39,0.05);
  --shadow: 0 18px 40px rgba(17,24,39,0.08);
}
.eyebrow {
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
}
.eyebrow .dot {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.eyebrow img.service-icon {
  width: 18px;
  height: 18px;
  margin: 0;
}
.box,
.card,
.info-card,
.step-card,
.faq-card,
.category-card,
.cta-banner,
.tool-side-card,
.tool-benefit-card,
.service-mini-card,
.legal-section-card,
.contact-form-shell,
.request-form-box,
.gallery-card,
.variant-card,
.technical-sketch-card,
.term-description-box,
.ob-card,
.faq-section details,
.taxonomy-overview-card,
.material-detail-card,
.material-color-system,
.coating-card-product,
.product-hero-media,
.taxonomy-hero-media {
  border-color: rgba(26,31,46,0.08);
  border-radius: 24px;
}
.breadcrumb-section.section {
  padding-block: 0.1rem 0.35rem;
}
.breadcrumbs {
  font-size: 0.84rem;
}
.breadcrumbs__item {
  gap: 0.3rem;
}

/* ===== header-footer.css ===== */
/* Header and footer – final preview system */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 1rem 1.4rem;
  min-height: 88px;
  padding-block: 0.9rem;
}
.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(200,55,26,0.18);
  background: linear-gradient(180deg, #fff8f5 0%, #fff1eb 100%);
  color: var(--accent);
  font-family: var(--wp--preset--font-family--syne, Syne, sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.site-mark--footer {
  width: 40px;
  height: 40px;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.site-header__brand {
  min-width: 0;
  gap: 0.85rem;
}
.site-header__brand-copy,
.site-footer__brand-copy {
  display: grid;
  gap: 0.15rem;
}
.site-header__brand-title,
.site-footer__brand-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--syne, Syne, sans-serif);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.05;
}
.site-header__brand-title a,
.site-footer__brand-title a {
  color: inherit;
  text-decoration: none;
}
.site-header__brand-subtitle,
.site-footer__brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-header__brand-subtitle { color: #768296; }
.site-header__nav {
  width: 100%;
  justify-self: center;
}
.site-header__nav .wp-block-navigation__container {
  gap: 0.2rem;
  flex-wrap: nowrap;
}
.site-header__nav .wp-block-navigation-item {
  white-space: nowrap;
}
.site-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}
.site-header__nav a:hover,
.site-header__nav a:focus {
  background: var(--accent-soft);
  color: var(--accent);
}
.site-header__actions {
  gap: 0.8rem;
}
.site-header__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-header__phone-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.site-header__actions .wp-block-buttons,
.site-header__actions .wp-block-button {
  margin: 0;
}
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.site-header .wp-block-navigation__responsive-container {
  padding: 1.25rem;
}
.site-header .wp-block-navigation__responsive-container-content {
  padding-top: 1.2rem;
}
.site-header .wp-block-navigation__responsive-container .wp-block-navigation__container {
  align-items: flex-start;
  gap: 0.5rem;
}
.site-header .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
  min-height: 42px;
}

.site-footer {
  margin-top: 0;
  padding: 4.2rem 0 1.1rem;
  background: linear-gradient(180deg, #11182a 0%, #0d1425 100%);
  color: #fff;
}
.site-footer__frame {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.38fr);
  gap: 2.75rem;
}
.site-footer__brand-panel {
  display: grid;
  gap: 1rem;
  padding-top: 1.35rem;
}
.site-footer__mark-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.site-footer__brand-subtitle,
.site-footer__brand-text,
.site-footer__copyright,
.site-footer__meta-links a,
.site-footer__link-group a,
.site-footer__badge small {
  color: rgba(255,255,255,0.7);
}
.site-footer__brand-text,
.site-footer__copyright {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
}
.site-footer__main {
  display: grid;
  gap: 1.4rem;
}
.site-footer__contact-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.site-footer__badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
}
.site-footer__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.site-footer__badge-icon svg {
  width: 18px;
  height: 18px;
}
.site-footer__badge span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.16rem;
}
.site-footer__badge strong {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.1;
}
.site-footer__badge small {
  font-size: 0.82rem;
  line-height: 1.35;
}
.site-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.site-footer__link-group {
  min-width: 0;
}
.site-footer__link-group h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1rem;
}
.site-footer__link-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.site-footer__link-group a {
  text-decoration: none;
  font-size: 0.92rem;
}
.site-footer__link-group a:hover,
.site-footer__meta-links a:hover,
.site-footer__badge:hover small,
.site-footer__badge:hover strong {
  color: #fff;
}
.site-footer__bottom {
  margin-top: 2.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 1rem;
}
.site-footer__meta-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.site-footer__meta-links a {
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr) minmax(220px, 0.82fr);
    gap: 0.8rem;
  }
  .site-header__nav a {
    padding-inline: 0.62rem;
    font-size: 0.89rem;
  }
}
@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .site-header__actions {
    display: none;
  }
  .site-header__nav {
    justify-self: end;
  }
  .site-header__nav .wp-block-navigation__container {
    display: none;
  }
  .site-footer__frame,
  .site-footer__links-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__contact-badges {
    grid-template-columns: 1fr;
  }
  .site-footer__brand-panel {
    padding-top: 0;
  }
}
@media (max-width: 782px) {
  .site-header__inner {
    min-height: 76px;
    padding-block: 0.7rem;
  }
  .site-header__brand-title {
    font-size: 1rem;
  }
  .site-header__brand-subtitle {
    font-size: 0.72rem;
  }
  .site-footer {
    padding-top: 3.25rem;
  }
  .site-footer__bottom {
    justify-content: flex-start;
  }
}

/* ===== layout.css ===== */
/* Layout system */
.site-main { display: block; }
.section { padding-block: var(--section-space); }
.section + .section { padding-top: 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.56) 0%, rgba(255,255,255,0.9) 100%); }
.section-dark { background: linear-gradient(180deg, #213245 0%, var(--banner) 100%); }
.page-shell { padding: 0.85rem 0 5rem; }
.page-shell > .container,
.page-shell > .wp-block-group,
.page-shell > .wp-block-columns,
.page-shell > .alignwide { box-sizing: border-box; }
.page-shell > .container,
.page-type-standard .page-shell > .wp-block-group,
.page-type-legal .legal-content,
.page-type-category .page-shell > .wp-block-group,
.page-type-product .page-shell > .wp-block-group,
.page-type-archive .page-shell > .wp-block-group {
  max-width: 100%;
}

.grid-2,
.grid-3,
.grid-4,
.hero-grid,
.home-signal-list,
.info-card-grid,
.category-card-grid,
.step-grid,
.faq-card-grid,
.contact-grid,
.service-mini-grid,
.tool-hero-grid,
.tool-benefits-grid,
.gallery,
.product-hero-grid,
.taxonomy-hero-shell,
.technical-overview,
.product-core-grid,
.taxonomy-advice-grid,
.content-faq-grid,
.material-detail-grid,
.material-detail-card__columns,
.material-swatch-grid,
.coating-system-list,
.footer-link-grid {
  display: grid;
}

.hero-grid,
.home-hero-grid,
.tool-hero-grid,
.product-hero-grid,
.taxonomy-hero-shell,
.technical-overview,
.product-core-grid,
.taxonomy-advice-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 2vw, 2.4rem);
  align-items: start;
}
.grid-2,
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2vw, 2rem); }
.grid-3,
.tool-benefits-grid,
.service-mini-grid,
.info-card-grid,
.faq-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); }
.grid-4,
.step-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.35rem); }
.category-card-grid,
.material-swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.5rem); }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-signal-list,
.info-card-grid--stack,
.contact-aside-stack { grid-template-columns: 1fr; gap: 1rem; }

.home-hero__copy,
.product-hero-copy,
.taxonomy-hero-copy,
.tool-hero-copy,
.home-coatings__primary,
.home-band__main,
.page-standard-shell,
.index-page-shell__intro,
.contact-grid__form,
.contact-grid__aside,
.taxonomy-page-shell .taxonomy-products-anchor,
.taxonomy-page-shell .taxonomy-advice-section,
.taxonomy-page-shell .taxonomy-detail-section,
.taxonomy-page-shell .taxonomy-cta-section,
.taxonomy-page-shell .request-form-section,
.single-produkt-shell #beschichtungen,
.single-produkt-shell .content-faq-grid,
.produkt-archive-shell .taxonomy-products-anchor {
  min-width: 0;
}

.page-hero,
.tool-page-hero,
.legal-hero,
.error-hero,
.taxonomy-page-hero,
.product-hero {
  margin-bottom: 0;
}

.home-hero__visual,
.product-hero-visuals,
.taxonomy-hero-media,
.product-hero-media {
  min-width: 0;
}

.taxonomy-page-shell,
.single-produkt-shell,
.produkt-archive-shell {
  padding-top: 0.45rem;
}
.taxonomy-page-shell .breadcrumb-section,
.single-produkt-shell .breadcrumb-section,
.produkt-archive-shell .breadcrumb-section {
  margin-bottom: 0.45rem;
}
.taxonomy-page-shell .section,
.single-produkt-shell .section,
.produkt-archive-shell .section {
  padding-block: clamp(2.4rem, 4vw, 4rem);
}
.taxonomy-page-shell .taxonomy-products-anchor + .taxonomy-advice-section,
.taxonomy-page-shell .taxonomy-advice-section + .taxonomy-detail-section,
.taxonomy-page-shell .taxonomy-cta-section + .request-form-section,
.single-produkt-shell #beschichtungen + .content-faq-grid {
  margin-top: 0;
}

.info-card,
.step-card,
.faq-card,
.category-card,
.tool-side-card,
.tool-benefit-card,
.service-mini-card,
.gallery-card,
.variant-card,
.technical-sketch-card,
.material-swatch-item { min-width: 0; height: 100%; }

@media (max-width: 1100px) {
  .grid-4,
  .step-grid,
  .category-card-grid,
  .material-swatch-grid,
  .service-mini-grid,
  .tool-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3,
  .faq-card-grid,
  .info-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid,
  .home-hero-grid,
  .tool-hero-grid,
  .product-hero-grid,
  .taxonomy-hero-shell,
  .technical-overview,
  .product-core-grid,
  .taxonomy-advice-grid,
  .grid-2,
  .contact-grid,
  .content-faq-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .page-shell { padding: 1.25rem 0 3.75rem; }
  .grid-3,
  .grid-4,
  .step-grid,
  .category-card-grid,
  .material-swatch-grid,
  .service-mini-grid,
  .tool-benefits-grid,
  .faq-card-grid,
  .info-card-grid,
  .gallery { grid-template-columns: 1fr; }
}


/* Finalfix: hero balance, swatch grids, compact dynamic layouts */
.home-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 2vw, 2.6rem);
  align-items: center;
}

.home-signal-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-hero .hero-grid,
.product-hero .product-hero-grid,
.taxonomy-page-hero .product-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 2.2vw, 2.75rem);
  align-items: stretch;
}

.product-hero-visuals,
.page-hero .wp-block-column:last-child {
  display: grid;
}

.single-produkt-shell .technical-overview {
  align-items: stretch;
}

.coating-system-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.7vw, 1.4rem);
}

.variant-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.35rem);
  align-items: stretch;
}

.variant-card--full {
  grid-column: 1 / -1;
}

.taxonomy-swatch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.material-page-detail-section .material-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.material-page-colors-section .material-color-group__systems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.7vw, 1.4rem);
}

.material-page-colors-section .material-swatch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 1100px) {
  .home-signal-list,
  .coating-system-list,
  .taxonomy-swatch-list,
  .material-page-colors-section .material-color-group__systems,
  .material-page-colors-section .material-swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-hero .hero-grid,
  .product-hero .product-hero-grid,
  .taxonomy-page-hero .product-hero-grid,
  .home-hero-grid,
  .home-signal-list,
  .coating-system-list,
  .variant-layout,
  .taxonomy-swatch-list,
  .material-page-detail-section .material-detail-grid,
  .material-page-colors-section .material-color-group__systems,
  .material-page-colors-section .material-swatch-grid {
    grid-template-columns: 1fr;
  }
}


/* Final Restfix 2.2.2: header-adjacent and page-specific layout balancing */
.page-shell {
  padding: 0.65rem 0 5rem;
}
.page-preisrechner .tool-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  align-items: start;
}
.page-preisrechner .tool-benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.page-preisrechner .tool-benefits-grid > * {
  min-width: 0;
}
.page-preisrechner .tool-benefits-section .container,
.page-preisrechner .request-form-section .container {
  position: relative;
  z-index: 1;
}
.taxonomy-page-hero .product-hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.25rem, 2vw, 2.25rem);
}
.single-produkt-shell .product-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(1.35rem, 2vw, 2.35rem);
}
.kontakt-page-shell .page-hero .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: clamp(1.25rem, 2vw, 2.15rem);
  align-items: center;
}
.lieferung-page-shell .page-hero .hero-grid {
  grid-template-columns: minmax(0, 1.01fr) minmax(0, 0.99fr);
  gap: clamp(1.3rem, 2vw, 2.15rem);
  align-items: center;
}
@media (max-width: 1100px) {
  .page-preisrechner .tool-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .page-preisrechner .tool-hero-grid,
  .page-preisrechner .tool-benefits-grid,
  .kontakt-page-shell .page-hero .hero-grid,
  .lieferung-page-shell .page-hero .hero-grid {
    grid-template-columns: 1fr;
  }
}


/* Final preview overrides */
.page-shell {
  padding: 0 0 5rem;
}
.section {
  padding-block: clamp(3rem, 4.6vw, 4.7rem);
}
.hero-grid,
.home-hero-grid,
.tool-hero-grid,
.product-hero-grid,
.taxonomy-hero-shell,
.technical-overview,
.product-core-grid,
.taxonomy-advice-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 2.2vw, 2.7rem);
  align-items: center;
}
.home-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}
.page-hero .hero-grid,
.product-hero .product-hero-grid,
.taxonomy-page-hero .product-hero-grid,
.tool-page-hero .tool-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
}
.home-signal-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.service-mini-grid,
.info-card-grid,
.faq-card-grid,
.tool-benefits-grid {
  gap: 1rem;
}
.category-card-grid {
  gap: 1.1rem;
}
.coating-system-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.variant-layout {
  gap: 1rem;
}
.material-page-detail-section .material-detail-grid,
.material-page-colors-section .material-color-group__systems {
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .page-shell {
    padding-bottom: 4rem;
  }
  .home-signal-list,
  .coating-system-list,
  .tool-benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* Category page final alignment to design preview */
.taxonomy-page-shell,
.produkt-archive-shell {
  padding-top: 0.18rem;
}
.taxonomy-page-shell .breadcrumb-section,
.produkt-archive-shell .breadcrumb-section {
  margin-bottom: 0.18rem;
}
.taxonomy-page-shell .breadcrumb-section.section,
.produkt-archive-shell .breadcrumb-section.section {
  padding-block: 0.02rem 0.18rem;
}
.taxonomy-page-shell .taxonomy-page-hero .product-hero-grid,
.post-type-archive-produkt .taxonomy-page-hero .product-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.3rem, 2vw, 2.5rem);
  align-items: center;
}
.taxonomy-page-shell .taxonomy-products-anchor .container,
.taxonomy-page-shell .taxonomy-advice-section .container,
.taxonomy-page-shell .taxonomy-detail-section .container,
.taxonomy-page-shell .taxonomy-cta-section .container,
.taxonomy-page-shell .request-form-section .container,
.produkt-archive-shell .taxonomy-products-anchor .container {
  max-width: 1040px;
}
.taxonomy-page-shell .taxonomy-products-anchor,
.taxonomy-page-shell .taxonomy-advice-section,
.taxonomy-page-shell .taxonomy-detail-section,
.taxonomy-page-shell .taxonomy-cta-section,
.taxonomy-page-shell .request-form-section,
.produkt-archive-shell .taxonomy-products-anchor {
  padding-block: clamp(1.8rem, 3.2vw, 3.2rem);
}
.taxonomy-page-shell .taxonomy-products-anchor + .taxonomy-advice-section {
  padding-top: clamp(1.1rem, 2vw, 1.75rem);
}
.taxonomy-page-shell .taxonomy-advice-section + .taxonomy-detail-section,
.taxonomy-page-shell .taxonomy-detail-section + .taxonomy-cta-section,
.taxonomy-page-shell .taxonomy-cta-section + .request-form-section {
  padding-top: clamp(1rem, 1.8vw, 1.5rem);
}
@media (max-width: 900px) {
  .taxonomy-page-shell .taxonomy-page-hero .product-hero-grid,
  .post-type-archive-produkt .taxonomy-page-hero .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .taxonomy-page-shell .taxonomy-products-anchor .container,
  .taxonomy-page-shell .taxonomy-advice-section .container,
  .taxonomy-page-shell .taxonomy-detail-section .container,
  .taxonomy-page-shell .taxonomy-cta-section .container,
  .taxonomy-page-shell .request-form-section .container,
  .produkt-archive-shell .taxonomy-products-anchor .container {
    max-width: 100%;
  }
}

/* ===== components.css ===== */
/* Components and page-specific presentation */
.section-head { margin-bottom: clamp(1.2rem, 2vw, 1.85rem); }
.section-head .section-title:last-child,
.section-head .section-lead:last-child { margin-bottom: 0; }

.home-hero .home-hero__copy h1 {
  font-size: clamp(2.7rem, 2rem + 3vw, 4.9rem);
  margin-bottom: 1rem;
}
.home-hero__copy .hero-lead { margin-bottom: 1.25rem; }
.home-signal-list { margin-top: 0.25rem; }
.home-hero__media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(180deg, #fff 0%, #f3f4f7 100%);
}
.home-hero__image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}
.home-proof .info-card-grid { align-items: stretch; }
.info-card,
.step-card,
.faq-card,
.tool-side-card,
.tool-benefit-card,
.service-mini-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: clamp(1.1rem, 0.9rem + 0.8vw, 1.45rem);
}
.info-card p,
.step-card p,
.faq-card p,
.tool-side-card p,
.tool-benefit-card p,
.service-mini-card p,
.category-card__body p,
.legal-copy p,
.legal-section-card__inner p,
.contact-form-shell p,
.request-form-box p {
  margin: 0;
  color: var(--muted);
}
.info-card strong,
.step-card strong,
.faq-card strong,
.tool-side-card strong,
.tool-benefit-card strong,
.service-mini-card strong { color: var(--text); }

.category-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.category-card__media {
  aspect-ratio: 16 / 10.3;
  overflow: hidden;
  background: #f1f3f6;
  border-bottom: 1px solid var(--line);
}
.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
}
.category-card__body .wp-block-buttons { margin-top: auto; }
.category-card h3,
.info-card h3,
.step-card h3,
.faq-card h3,
.service-mini-card h3,
.tool-benefit-card h3,
.tool-side-card h3,
.ob-card h2,
.ob-card h3,
.index-page-shell__intro h1,
.page-content-card h1,
.legal-hero h1,
.error-hero h1,
.page-hero h1,
.tool-page-hero h1,
.taxonomy-page-hero h1,
.product-hero h1 {
  margin: 0;
}
.category-card h3,
.info-card h3,
.step-card h3,
.faq-card h3,
.service-mini-card h3,
.tool-benefit-card h3,
.tool-side-card h3 { font-size: clamp(1.35rem, 1.15rem + 0.4vw, 1.62rem); }

.home-band__main,
.home-coatings__primary,
.cta-banner {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.home-band__main .card-pad,
.home-coatings__primary .card-pad,
.cta-banner {
  display: grid;
  align-content: start;
  gap: 1rem;
}
.cta-banner {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  color: #fff;
}
.cta-banner h2,
.cta-banner p { color: #fff; }
.cta-banner .section-lead { max-width: 760px; opacity: 0.92; }

.page-hero .box,
.tool-page-hero .card,
.legal-hero,
.error-hero .card,
.page-content-card,
.index-page-shell__intro,
.preisrechner-tool-card,
.ob-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.page-hero .box,
.tool-page-hero .card-pad,
.legal-hero,
.error-hero .card-pad,
.page-content-card .card-pad,
.index-page-shell__intro .card-pad,
.preisrechner-tool-pad,
.ob-card .card-pad {
  display: grid;
  gap: 1rem;
}
.page-hero h1,
.tool-page-hero h1,
.legal-hero h1,
.error-hero h1,
.page-content-card h1,
.index-page-shell__intro h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.2vw, 4rem);
}
.legal-page .legal-content {
  display: grid;
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
}
.legal-hero {
  padding: clamp(1.45rem, 1rem + 1vw, 2rem);
}
.legal-section-card { overflow: hidden; }
.legal-section-card__inner {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.3rem, 1rem + 0.8vw, 1.8rem);
}
.legal-section-card__inner h2,
.legal-section-card__inner h3 { font-size: clamp(1.35rem, 1.1rem + 0.4vw, 1.65rem); }
.legal-copy ul,
.legal-copy ol,
.legal-section-card__inner ul,
.legal-section-card__inner ol { padding-left: 1.1rem; }
.legal-copy table { width: 100%; border-collapse: collapse; }
.legal-copy td,
.legal-copy th { padding: 0.85rem 0.95rem; border: 1px solid var(--line); }
.legal-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.14em; }

.faq-section {
  display: grid;
  gap: 1rem;
}
.faq-section details {
  padding: 1.1rem 1.2rem;
}
.faq-section summary {
  cursor: pointer;
  font-family: var(--wp--preset--font-family--syne, Syne, sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.faq-section details p { margin-top: 0.85rem; margin-bottom: 0; color: var(--muted); }

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-info-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}
.contact-info-list img {
  width: 24px;
  height: 24px;
  margin-top: 0.2rem;
}
.contact-info-list span,
.contact-info-list a { color: var(--muted); }
.contact-info-list strong { color: var(--text); }
.kontakt-page-shell #kontaktformular,
.kontakt-page-shell form#kontaktformular { scroll-margin-top: 120px; }

.tool-page-hero .card,
.preisrechner-tool-card {
  overflow: hidden;
}
.tool-hero-copy,
.tool-hero-aside,
.tool-side-card,
.tool-benefit-card,
.preisrechner-tool-pad,
.tool-section-head { min-width: 0; }
.tool-page-hero .card-pad,
.preisrechner-tool-pad {
  gap: 1rem;
}
.tool-side-card.is-accent {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff6f1 100%);
  border-color: rgba(200, 55, 26, 0.16);
}
.preisrechner-tool-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  padding: clamp(1rem, 0.85rem + 0.5vw, 1.35rem);
}

.error-hero .wp-block-search {
  margin-top: 0.5rem;
}
.ob-card .wp-block-post-date { color: var(--muted); font-size: 0.92rem; }
.ob-card .wp-block-post-excerpt__more-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

/* Dynamic category / product / archive components */
.taxonomy-page-hero,
.product-hero,
.taxonomy-page-shell .taxonomy-overview-card,
.single-produkt-shell .product-overview-card,
.taxonomy-advice-section .card,
.taxonomy-detail-section .card,
.taxonomy-cta-section .card,
.single-produkt-shell .card,
.produkt-archive-shell .card {
  overflow: hidden;
}
.taxonomy-page-hero .product-hero-grid,
.product-hero .product-hero-grid { align-items: center; }
.taxonomy-page-hero .product-hero-copy,
.single-produkt-shell .product-hero-copy {
  display: grid;
  gap: 1rem;
}
.taxonomy-page-hero h1,
.product-hero h1 { font-size: clamp(2.3rem, 1.85rem + 2.2vw, 4.25rem); }
.taxonomy-page-hero p,
.product-hero p,
.single-produkt-shell .seo-copy p,
.taxonomy-advice-section .seo-copy p,
.taxonomy-detail-section p,
.taxonomy-cta-section p,
.single-produkt-shell .content-faq-grid p,
.single-produkt-shell .variant-card p,
.single-produkt-shell .gallery-card p,
.single-produkt-shell .technical-sketch-card p { color: var(--muted); }
.hero-price {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
}
.hero-price strong {
  font-size: clamp(2rem, 1.55rem + 1.4vw, 3rem);
  color: var(--accent);
}
.hero-price span {
  color: var(--muted);
  font-weight: 700;
}
.product-hero-figure,
.taxonomy-page-hero .product-hero-figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
}
.product-hero-figure img,
.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.taxonomy-page-shell .taxonomy-detail-section .card,
.single-produkt-shell .card,
.taxonomy-advice-section .card,
.taxonomy-cta-section .card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.taxonomy-advice-section .card-pad,
.taxonomy-detail-section .card-pad,
.taxonomy-cta-section .card-pad,
.single-produkt-shell .card-pad,
.technical-sketch-card .card-pad,
.coating-card-product .card-pad,
.variant-card .card-pad,
.gallery-card .card-pad {
  display: grid;
  gap: 0.85rem;
}
.gallery-card,
.variant-card,
.technical-sketch-card,
.coating-card-product {
  overflow: hidden;
}
.gallery-card img { aspect-ratio: 16 / 11; }
.technical-sketch-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.technical-sketch-figure img {
  max-width: 100%;
  height: auto;
}
.coating-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}
.coating-card-badge,
.coating-flag,
.coating-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 55, 26, 0.16);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.coating-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.coating-kpi {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.coating-kpi span { display: block; color: var(--muted); font-size: 0.84rem; }
.coating-kpi strong { display: block; margin-top: 0.2rem; color: var(--text); }
.material-swatch-grid {
  display: grid;
  gap: 0.85rem;
}
.material-swatch-item {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.material-swatch-chip {
  display: block;
  width: 100%;
  height: 46px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.08);
  background: var(--swatch-color, #999999);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.material-swatch-item strong { color: var(--text); }
.material-swatch-item span:last-child { color: var(--muted); }

/* Material & coating static page */
.coatings-preview-page {
  color: var(--text);
  background: transparent;
}
.coatings-preview-page * { box-sizing: border-box; }
.coatings-preview-page .wrap {
  width: var(--container);
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.1rem, 1.8vw, 1.6rem);
}
.coatings-preview-page .hero,
.coatings-preview-page .quick-chooser,
.coatings-preview-page .grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.4rem);
}
.coatings-preview-page .hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}
.coatings-preview-page .quick-chooser,
.coatings-preview-page .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.coatings-preview-page .hero-main,
.coatings-preview-page .hero-side,
.coatings-preview-page .chooser,
.coatings-preview-page .card,
.coatings-preview-page .cta-note {
  border: 1px solid rgba(26,31,46,0.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow);
}
.coatings-preview-page .hero-main,
.coatings-preview-page .hero-side,
.coatings-preview-page .chooser,
.coatings-preview-page .card,
.coatings-preview-page .cta-note { padding: clamp(1.15rem, 1rem + 0.7vw, 1.65rem); }
.coatings-preview-page .hero-main {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.coatings-preview-page .hero-main h1 {
  font-size: clamp(2.3rem, 1.85rem + 2vw, 4rem);
  margin-bottom: 1rem;
}
.coatings-preview-page .hero-main p,
.coatings-preview-page .hero-side p,
.coatings-preview-page .chooser p,
.coatings-preview-page .section-intro,
.coatings-preview-page .desc,
.coatings-preview-page .bestfor span,
.coatings-preview-page .cta-note p,
.coatings-preview-page .list { color: var(--muted); }
.coatings-preview-page .hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.coatings-preview-page .hero-side {
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  color: #fff;
  align-content: start;
}
.coatings-preview-page .hero-side strong,
.coatings-preview-page .hero-side p { color: #fff; }
.coatings-preview-page .chooser-kicker,
.coatings-preview-page .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(200,55,26,0.16);
  font-size: 0.8rem;
  font-weight: 700;
}
.coatings-preview-page .chooser h3,
.coatings-preview-page .card h2 {
  margin-top: 0.8rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 1.05rem + 0.45vw, 1.65rem);
}
.coatings-preview-page .top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.coatings-preview-page .warranty {
  min-width: 112px;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  color: #fff;
  text-align: center;
}
.coatings-preview-page .warranty .num {
  display: block;
  font-size: clamp(1.7rem, 1.2rem + 1vw, 2.35rem);
  line-height: 1;
  font-family: var(--wp--preset--font-family--syne, Syne, sans-serif);
}
.coatings-preview-page .warranty .label { display: block; margin-top: 0.3rem; font-size: 0.82rem; }
.coatings-preview-page .bestfor {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(52,72,92,0.12);
  border-radius: var(--radius-md);
  background: #f7fafc;
}
.coatings-preview-page .bestfor strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.coatings-preview-page .list { margin: 0; padding-left: 1rem; }
.coatings-preview-page .colors {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.coatings-preview-page .colors h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.coatings-preview-page .swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}
.coatings-preview-page .swatch {
  min-height: 88px;
  padding: 0.75rem;
  display: flex;
  align-items: end;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.08);
  background: var(--swatch-bg, #ffffff) !important;
  color: var(--swatch-fg, #1a1f2e) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.coatings-preview-page .swatch-name {
  display: block;
  font-size: 0.82rem;
  line-height: 1.12;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.coatings-preview-page .cta-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.coatings-preview-page .cta-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  color: #fff;
  font-weight: 700;
}
.coatings-preview-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section-dark .request-form-box,
.section-dark .request-form-box p,
.section-dark .request-form-box h2 {
  color: #fff;
}
.request-form-section .request-form-box {
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  border-color: rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
  .coatings-preview-page .hero,
  .coatings-preview-page .quick-chooser,
  .coatings-preview-page .grid,
  .coatings-preview-page .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 782px) {
  .page-hero .box,
  .legal-hero,
  .coatings-preview-page .hero-main,
  .coatings-preview-page .hero-side,
  .coatings-preview-page .chooser,
  .coatings-preview-page .card,
  .coatings-preview-page .cta-note { padding: 1rem; }
  .coatings-preview-page .hero,
  .coatings-preview-page .quick-chooser,
  .coatings-preview-page .grid,
  .coatings-preview-page .swatch-grid {
    grid-template-columns: 1fr;
  }
  .coatings-preview-page .top,
  .coatings-preview-page .cta-note {
    flex-direction: column;
    align-items: stretch;
  }
  .coating-kpis { grid-template-columns: 1fr; }
}


/* Finalfix: homepage, product/category UI, swatches and service page balancing */
.home-hero {
  padding-top: clamp(1.2rem, 2vw, 2rem);
}
.home-hero__copy {
  gap: 1.1rem;
}
.home-hero .home-hero__copy h1 {
  font-size: clamp(2.9rem, 2.1rem + 3.2vw, 5.35rem);
  margin-bottom: 0.75rem;
}
.home-hero__copy .hero-lead {
  max-width: 62ch;
  margin-bottom: 0.85rem;
}
.home-signal-list {
  margin-top: 0.2rem;
}
.home-signal-list p {
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 78px;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff7f3 0%, #fff 100%);
  box-shadow: 0 10px 24px rgba(17,24,39,0.05);
}
.home-hero__media {
  min-height: 100%;
  border-radius: 32px;
}
.home-hero__image img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}
.home-proof .info-card-grid,
.home-categories .category-card-grid,
.home-uses .step-grid,
.home-process .step-grid,
.home-faq .faq-card-grid {
  gap: 1rem;
}
.home-proof .info-card,
.home-uses .step-card,
.home-process .step-card,
.home-faq .faq-card {
  padding: 1.05rem 1.1rem;
}
.home-closing .cta-banner {
  padding: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 62%, #41586d 100%);
  box-shadow: 0 28px 58px rgba(17,24,39,0.18);
}
.home-closing .cta-banner .hero-actions {
  margin-top: 0.55rem;
}

.taxonomy-page-hero .box,
.product-hero .box,
.page-hero .box {
  height: 100%;
  padding: clamp(1.45rem, 1.1rem + 1vw, 2.25rem);
}
.taxonomy-page-hero h1,
.product-hero h1 {
  font-size: clamp(2.5rem, 1.95rem + 2.4vw, 4.55rem);
}
.taxonomy-page-hero .hero-actions,
.product-hero .hero-actions {
  margin-top: 1rem;
}
.product-hero .hero-price,
.taxonomy-page-hero .hero-price {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(200,55,26,0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
}
.product-hero-visuals,
.page-hero .wp-block-column:last-child {
  min-height: 100%;
}
.product-hero-media,
.page-hero-media-card {
  display: grid;
  align-items: stretch;
  min-height: 100%;
  padding: clamp(0.55rem, 0.4rem + 0.3vw, 0.8rem);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
}
.product-hero-figure,
.page-hero .page-hero-media-card {
  height: 100%;
  border-radius: 26px;
}
.product-hero-figure img,
.page-hero .page-hero-media-card img {
  width: 100%;
  min-height: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-hero .product-hero-figure img,
.taxonomy-page-hero .product-hero-figure img {
  min-height: 560px;
}
.lieferung-page-shell .page-hero-media-card img,
.page-hero .page-hero-media-card img {
  min-height: 520px;
}

.single-produkt-shell .table {
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.single-produkt-shell .table td,
.single-produkt-shell .table th {
  padding: 1rem 1.1rem;
}
.technical-sketch-image-card {
  padding: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}
.technical-sketch-figure {
  min-height: 100%;
  padding: clamp(1rem, 0.8rem + 0.6vw, 1.4rem);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}
.technical-sketch-figure img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.gallery-card {
  padding: 0.55rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}
.gallery-card img {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  object-fit: cover;
}

.coating-card-product {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.coating-card-product .card-pad {
  gap: 1rem;
  padding: clamp(1.15rem, 1rem + 0.55vw, 1.5rem);
}
.coating-card-head {
  align-items: flex-start;
  gap: 1rem;
}
.coating-card-head h3 {
  margin-top: 0.45rem;
}
.coating-card-intro {
  max-width: 70ch;
}
.swatches-rect {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.swatches-rect .sw.sw-rect {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.swatches-rect .chip {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}
.swatches-rect .sw > span:last-child {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}
.swatches-rect .sw strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}
.taxonomy-swatch-list .swatch-item {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 100%);
  box-shadow: var(--shadow-sm);
}
.taxonomy-swatch-list .swatch-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0;
}
.taxonomy-cta-section .card {
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 26px 54px rgba(17,24,39,0.16);
}
.taxonomy-cta-section .seo-copy,
.taxonomy-cta-section .card-pad,
.taxonomy-cta-section .card-pad p,
.taxonomy-cta-section .card-pad h2 {
  color: #fff;
}
.taxonomy-cta-section .btn.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}
.taxonomy-cta-section .btn.btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.request-form-section .request-form-box {
  padding: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
  border-radius: 30px;
  box-shadow: 0 26px 56px rgba(17,24,39,0.16);
}

.variant-layout {
  align-items: stretch;
}
.variant-card {
  padding: 1.15rem 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.variant-card h3 {
  margin-bottom: 0.5rem;
}
.variant-table {
  display: grid;
  gap: 0.65rem;
}
.variant-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.variant-table-row span {
  color: var(--muted);
}
.variant-table-row strong {
  color: var(--text);
  text-align: right;
}
.variant-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.15rem;
}
.variant-list li::marker {
  color: var(--accent);
}

.coatings-preview-page .wrap {
  gap: clamp(1.2rem, 2vw, 1.8rem);
}
.coatings-preview-page .hero-main,
.coatings-preview-page .hero-side,
.coatings-preview-page .chooser,
.coatings-preview-page .card,
.coatings-preview-page .cta-note {
  padding: clamp(1.25rem, 1rem + 0.75vw, 1.8rem);
}
.coatings-preview-page .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.45rem);
}
.coatings-preview-page .warranty {
  min-width: 126px;
  padding: 1rem 1.05rem;
  border-radius: 20px;
}
.coatings-preview-page .bestfor {
  padding: 1rem 1.05rem;
}
.coatings-preview-page .swatch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.coatings-preview-page .swatch {
  min-height: 96px;
  padding: 0.8rem;
}
.coatings-preview-page .swatch-name {
  font-size: 0.84rem;
}
.material-color-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.material-color-group__head .warranty,
.material-color-group__head .badge,
.material-color-group__head .material-badge,
.material-color-group__head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.material-color-system {
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.material-color-system__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.material-swatch-item {
  padding: 0.9rem;
}
.material-swatch-chip {
  height: 54px;
  min-height: 54px;
  border-radius: 14px;
}

.lieferung-page-shell .service-mini-card,
.lieferung-page-shell .grid-2 .card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.lieferung-page-shell .quote {
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  border-radius: 30px;
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 26px 54px rgba(17,24,39,0.16);
}
.lieferung-page-shell .quote h2,
.lieferung-page-shell .quote p {
  color: #fff;
}
.lieferung-page-shell .quote .btn.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}
.lieferung-page-shell .quote .btn.btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

@media (max-width: 1100px) {
  .swatches-rect,
  .coatings-preview-page .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero__image img,
  .product-hero .product-hero-figure img,
  .taxonomy-page-hero .product-hero-figure img,
  .page-hero .page-hero-media-card img {
    min-height: 360px;
  }
  .swatches-rect {
    grid-template-columns: 1fr;
  }
}


/* Final Restfix 2.2.2: page balancing from screenshot QA */
.tool-hero-aside {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}
.tool-side-card {
  gap: 0.65rem;
  padding: 1rem 1.05rem;
}
.tool-side-card p:first-child {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
}
.page-preisrechner .tool-side-card:nth-child(2) {
  min-height: 0;
}
.preisrechner-tool-section {
  padding-top: clamp(1.55rem, 2.3vw, 2.2rem);
}
.preisrechner-tool-card,
.preisrechner-tool-card .card-pad {
  border-radius: 28px;
}
.preisrechner-tool-pad {
  gap: 1.1rem;
  padding: clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
}
.preisrechner-tool-embed {
  padding: 0.9rem 1rem;
}
.tool-benefits-section {
  overflow: hidden;
}
.tool-benefit-card {
  padding: 1.05rem 1.1rem;
}
.tool-benefit-card .card-pad {
  padding: 0;
  gap: 0.65rem;
}
.tool-benefit-card h2 {
  font-size: clamp(1.45rem, 1.18rem + 0.65vw, 1.95rem);
}
.page-preisrechner .request-form-box {
  padding: clamp(1.35rem, 1.08rem + 0.8vw, 1.95rem);
  border-radius: 30px;
}
.page-preisrechner .request-form-box h2 {
  margin-bottom: 0.45rem;
}
.home-proof .info-card,
.home-uses .step-card,
.home-process .step-card,
.home-faq .faq-card {
  padding: 0.95rem 1rem;
  gap: 0.65rem;
}
.home-proof .info-card p:last-child,
.home-uses .step-card p:last-child,
.home-process .step-card p:last-child,
.home-faq .faq-card p:last-child {
  margin-bottom: 0;
}
.home-closing .cta-banner {
  padding: clamp(2.15rem, 1.55rem + 1.7vw, 3.15rem);
  box-shadow: 0 30px 60px rgba(17,24,39,0.2);
}
.taxonomy-page-hero .box {
  padding: clamp(1.35rem, 1.05rem + 0.9vw, 2rem);
}
.taxonomy-page-hero h1 {
  font-size: clamp(2.35rem, 1.9rem + 2.1vw, 4.15rem);
}
.taxonomy-page-hero .product-hero-copy p {
  max-width: 62ch;
}
.taxonomy-page-hero .product-hero-media {
  padding: 0.45rem;
}
.taxonomy-page-hero .product-hero-figure img {
  min-height: 500px;
}
.taxonomy-page-shell .taxonomy-products-anchor .section-title {
  margin-bottom: 1rem;
}
.taxonomy-cta-section .card-pad {
  padding: clamp(1.45rem, 1.12rem + 0.95vw, 2.15rem);
  gap: 0.8rem;
}
.taxonomy-page-shell .request-form-box {
  padding: clamp(1.3rem, 1rem + 0.8vw, 1.9rem);
  border-radius: 30px;
  box-shadow: 0 24px 52px rgba(17,24,39,0.16);
}
.product-hero .product-hero-media {
  padding: 0.45rem;
}
.product-hero .product-hero-figure img {
  min-height: 530px;
}
.single-produkt-shell .technical-overview > div > .section-title {
  margin-bottom: 0.9rem;
}
.technical-sketch-image-card {
  padding: 1rem;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(17,24,39,0.1);
}
.technical-sketch-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  border: 1px solid rgba(26,31,46,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f2f5f9 100%);
}
.technical-sketch-figure img {
  max-height: 460px;
}
.gallery {
  gap: 0.85rem;
}
.gallery-card {
  padding: 0.5rem;
}
.coating-system-list {
  align-items: start;
}
.coating-card-product {
  display: flex;
}
.coating-card-product .card-pad {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 100%;
}
.swatches-rect {
  gap: 0.7rem;
}
.swatches-rect .sw.sw-rect {
  padding: 0.72rem 0.78rem;
  border-radius: 16px;
}
.swatches-rect .chip {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 14px;
}
.variant-card {
  padding: 1.1rem 1.1rem;
  border-radius: 24px;
}
.variant-table {
  gap: 0.55rem;
}
.variant-table-row {
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}
.variant-card--full {
  padding-block: 1.15rem 1.2rem;
}
.single-produkt-shell .request-form-box {
  padding: clamp(1.45rem, 1.1rem + 0.9vw, 2rem);
  border-radius: 30px;
  box-shadow: 0 24px 54px rgba(17,24,39,0.16);
}
.single-produkt-shell .request-form-box h2 {
  margin-bottom: 0.4rem;
}
.coatings-preview-page .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.coatings-preview-page .card {
  display: grid;
  align-content: start;
}
.coatings-preview-page .top {
  gap: 0.9rem;
}
.coatings-preview-page .warranty {
  min-width: 118px;
  padding: 0.95rem 1rem;
}
.coatings-preview-page .swatch-grid {
  gap: 0.72rem;
}
.coatings-preview-page .swatch {
  min-height: 90px;
}
.kontakt-page-shell .page-hero .card {
  max-width: 420px;
  margin-left: auto;
}
.kontakt-page-shell .contact-grid {
  align-items: start;
}
.lieferung-page-shell .page-hero-media-card {
  padding: 0.4rem;
}
.lieferung-page-shell .page-hero-media-card img {
  min-height: 500px;
}
.lieferung-page-shell .quote {
  padding: clamp(1.75rem, 1.3rem + 1vw, 2.5rem);
}
@media (max-width: 1100px) {
  .page-preisrechner .tool-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .coatings-preview-page .grid,
  .coating-system-list,
  .page-preisrechner .tool-benefits-grid {
    grid-template-columns: 1fr;
  }
  .kontakt-page-shell .page-hero .card {
    max-width: none;
    margin-left: 0;
  }
}


/* Final preview overrides */
.home-hero .box,
.page-hero .box,
.product-hero .box,
.taxonomy-page-hero .box,
.tool-page-hero .box {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  padding: clamp(1.5rem, 1.15rem + 0.95vw, 2.25rem);
}
.home-hero .home-hero__copy h1,
.page-hero h1,
.tool-page-hero h1,
.taxonomy-page-hero h1,
.product-hero h1 {
  font-size: clamp(2.5rem, 1.95rem + 2.6vw, 4.5rem);
  line-height: 1.02;
}
.home-hero__copy .hero-lead,
.page-hero .hero-lead,
.tool-page-hero .hero-lead,
.taxonomy-page-hero .product-hero-copy p,
.product-hero .product-hero-copy p {
  max-width: 60ch;
}
.home-signal-list p,
.badge,
.hero-signals span {
  justify-content: flex-start;
  min-height: 44px;
  padding: 0.8rem 1rem;
  background: #fff;
  border-color: rgba(200,55,26,0.14);
}
.home-proof .info-card,
.home-uses .step-card,
.home-process .step-card,
.home-faq .faq-card,
.service-mini-card,
.tool-benefit-card,
.tool-side-card {
  padding: 1.15rem 1.2rem;
  gap: 0.7rem;
}
.category-card__media {
  aspect-ratio: 16 / 10;
}
.category-card__body {
  gap: 0.65rem;
  padding: 1.2rem;
}
.home-band__main,
.home-coatings__primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.home-band .info-card,
.home-coatings .info-card {
  min-height: 0;
}
.cta-banner {
  padding: clamp(2rem, 1.45rem + 1.55vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(135deg, #2a3e55 0%, var(--banner) 100%);
}
.product-hero-figure,
.taxonomy-page-hero .product-hero-figure,
.page-hero-media-card {
  border-radius: 28px;
}
.product-hero .product-hero-figure img,
.taxonomy-page-hero .product-hero-figure img,
.page-hero-media-card img {
  min-height: 500px;
  object-fit: cover;
}
.product-hero .hero-price,
.taxonomy-page-hero .hero-price {
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f6 0%, #fff 100%);
}
.hero-price strong {
  font-size: clamp(2.05rem, 1.65rem + 1vw, 2.8rem);
}
.single-produkt-shell .table {
  border-radius: 24px;
  overflow: hidden;
}
.technical-sketch-image-card {
  padding: 1rem;
  border-radius: 24px;
}
.technical-sketch-figure {
  min-height: 100%;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}
.technical-sketch-figure img {
  max-height: 420px;
}
.gallery {
  gap: 0.9rem;
}
.gallery-card {
  padding: 0.45rem;
  border-radius: 20px;
  background: #fff;
}
.gallery-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 16px;
}
.coating-card-product {
  height: 100%;
}
.coating-card-product .card-pad {
  gap: 0.95rem;
}
.coating-card-head h3,
.variant-card h3,
.taxonomy-cta-section .section-title,
.taxonomy-advice-section .section-title,
.taxonomy-detail-section .section-title {
  font-size: clamp(1.55rem, 1.2rem + 0.6vw, 2.05rem);
}
.coating-card-label {
  min-height: 30px;
  padding: 0 0.65rem;
  font-size: 0.78rem;
}
.swatches-rect {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.swatches-rect .sw.sw-rect {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 100%);
}
.swatches-rect .chip {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.swatches-rect .sw strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}
.swatches-rect .sw span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}
.variant-card {
  padding: 1.15rem 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}
.variant-table {
  display: grid;
  gap: 0.7rem;
}
.variant-table-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.variant-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.request-form-box {
  border-radius: 28px;
  background: linear-gradient(135deg, #2b3f56 0%, var(--banner) 100%);
}
.taxonomy-cta-section .card,
.single-produkt-shell .request-form-box,
.taxonomy-page-shell .request-form-box {
  box-shadow: 0 24px 52px rgba(17,24,39,0.14);
}
.taxonomy-cta-section .card-pad,
.single-produkt-shell .request-form-box,
.taxonomy-page-shell .request-form-box {
  padding: clamp(1.5rem, 1.15rem + 0.9vw, 2.15rem);
}
.coatings-preview-page .hero-main,
.coatings-preview-page .hero-side,
.coatings-preview-page .chooser,
.coatings-preview-page .card,
.coatings-preview-page .cta-note {
  border-radius: 24px;
}
.coatings-preview-page .hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}
.coatings-preview-page .quick-chooser {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.coatings-preview-page .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.coatings-preview-page .warranty {
  min-width: 120px;
  border-radius: 18px;
}
.coatings-preview-page .swatch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.coatings-preview-page .swatch {
  min-height: 82px;
  border-radius: 16px;
}
.kontakt-page-shell .page-hero .hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}
.kontakt-page-shell .page-hero .card {
  max-width: none;
  margin-left: 0;
  align-self: center;
}
.page-preisrechner .tool-hero-aside {
  gap: 1rem;
}
.page-preisrechner .tool-side-card {
  min-height: 0;
}
.page-preisrechner .tool-side-card.is-accent {
  background: linear-gradient(180deg, #ffffff 0%, #fff5f0 100%);
}
.page-preisrechner .preisrechner-tool-card {
  background: linear-gradient(135deg, #2a3d54 0%, var(--banner) 100%);
  border-color: rgba(255,255,255,0.08);
}
.page-preisrechner .preisrechner-tool-card .tool-section-head h2,
.page-preisrechner .preisrechner-tool-card .tool-section-head p,
.page-preisrechner .preisrechner-tool-card .eyebrow {
  color: #fff;
}
.page-preisrechner .preisrechner-tool-card .eyebrow {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}
.page-preisrechner .preisrechner-tool-embed {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
}
.page-preisrechner .tool-benefits-section {
  background: transparent;
}
.page-preisrechner .tool-benefit-card {
  min-height: 100%;
}
.page-preisrechner .request-form-box {
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
}
.lieferung-page-shell .page-hero .hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}
.lieferung-page-shell .page-hero-media-card {
  padding: 0.35rem;
}
.lieferung-page-shell .page-hero-media-card img {
  min-height: 470px;
}
.page-standard-shell .page-content-card,
.index-page-shell__intro,
.error-hero .card,
.legal-hero,
.legal-section-card {
  border-radius: 24px;
}
@media (max-width: 1100px) {
  .coatings-preview-page .quick-chooser,
  .coatings-preview-page .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .product-hero .product-hero-figure img,
  .taxonomy-page-hero .product-hero-figure img,
  .page-hero-media-card img {
    min-height: 340px;
  }
  .coatings-preview-page .grid,
  .coatings-preview-page .quick-chooser,
  .coatings-preview-page .swatch-grid,
  .swatches-rect {
    grid-template-columns: 1fr;
  }
}


/* Category page final alignment to design preview */
.taxonomy-page-hero {
  margin-bottom: 0;
}
.taxonomy-page-hero .box {
  padding: clamp(1.55rem, 1.2rem + 0.95vw, 2.15rem);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: 0 16px 38px rgba(26, 31, 46, 0.06);
}
.taxonomy-page-hero .eyebrow {
  margin-bottom: 0.2rem;
}
.taxonomy-page-hero h1 {
  font-size: clamp(2.55rem, 2rem + 2vw, 4.25rem);
  line-height: 1.04;
  max-width: 11.5ch;
}
.taxonomy-page-hero .product-hero-copy p {
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.7;
}
.taxonomy-page-hero .hero-price {
  display: inline-flex;
  align-items: end;
  gap: 0.4rem 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid #e2e6ed;
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
}
.taxonomy-page-hero .hero-price strong {
  font-size: clamp(2.05rem, 1.75rem + 0.8vw, 2.8rem);
  line-height: 1;
}
.taxonomy-page-hero .badges {
  gap: 0.55rem;
}
.taxonomy-page-hero .badge {
  min-height: 36px;
  padding: 0.5rem 0.78rem;
  font-size: 0.82rem;
}
.tax-produktkategorie .product-hero-media,
.post-type-archive-produkt .product-hero-media,
.tax-produktkategorie .category-hero-media,
.post-type-archive-produkt .category-hero-media {
  padding: 0.5rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e6ed;
  box-shadow: 0 14px 34px rgba(26, 31, 46, 0.05);
}
.taxonomy-page-hero .product-hero-figure,
.taxonomy-page-hero .category-hero-media,
.taxonomy-page-hero .product-hero-media {
  border-radius: 20px;
}
.tax-produktkategorie .product-hero-figure img,
.post-type-archive-produkt .product-hero-figure img,
.tax-produktkategorie .category-hero-media img,
.post-type-archive-produkt .category-hero-media img {
  width: 100%;
  min-height: 450px;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.taxonomy-products-anchor .section-title,
.taxonomy-advice-section .section-title,
.taxonomy-detail-section .section-title,
.taxonomy-cta-section .section-title {
  font-size: clamp(1.95rem, 1.5rem + 1vw, 2.85rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.taxonomy-products-anchor .section-title {
  max-width: 15ch;
}
.taxonomy-advice-section .card,
.taxonomy-detail-section .card,
.taxonomy-cta-section .card,
.taxonomy-page-shell .request-form-box {
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  box-shadow: 0 14px 34px rgba(26, 31, 46, 0.05);
}
.taxonomy-advice-section .card-pad,
.taxonomy-detail-section .card-pad,
.taxonomy-cta-section .card-pad,
.taxonomy-page-shell .request-form-box {
  gap: 0.8rem;
  padding: clamp(1.25rem, 1rem + 0.7vw, 1.8rem);
}
.taxonomy-advice-section .seo-copy p,
.taxonomy-detail-section .seo-copy p,
.taxonomy-cta-section .seo-copy p,
.taxonomy-page-shell .request-form-box p {
  color: var(--muted);
  line-height: 1.72;
}
.taxonomy-advice-section .seo-copy p + p,
.taxonomy-detail-section .seo-copy p + p,
.taxonomy-cta-section .seo-copy p + p {
  margin-top: 0.75rem;
}
.taxonomy-advice-section .seo-copy ul {
  margin: 0.3rem 0 0;
  padding-left: 1.15rem;
}
.taxonomy-advice-section .seo-copy li + li {
  margin-top: 0.35rem;
}
.taxonomy-cta-section .card {
  background: linear-gradient(135deg, #2a3e55 0%, #34485c 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.18);
}
.taxonomy-cta-section .card-pad,
.taxonomy-cta-section .section-title,
.taxonomy-cta-section .card p {
  color: #ffffff;
}
.taxonomy-cta-section .btn.btn-secondary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
  color: #ffffff;
}
.taxonomy-cta-section .btn.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
}
@media (max-width: 900px) {
  .taxonomy-page-hero h1 {
    max-width: none;
  }
  .tax-produktkategorie .product-hero-figure img,
  .post-type-archive-produkt .product-hero-figure img,
  .tax-produktkategorie .category-hero-media img,
  .post-type-archive-produkt .category-hero-media img {
    min-height: 320px;
  }
}

/* ===== forms.css ===== */
/* Forms */
.contact-form-shell,
.request-form-box,
.single-produkt .quote,
.tax-produktkategorie .quote {
  overflow: hidden;
}

.contact-form-shell,
.single-produkt .quote,
.tax-produktkategorie .quote {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
  border: 1px solid rgba(26,31,46,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.request-form-box {
  background: linear-gradient(135deg, #24374d 0%, var(--banner) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-shell,
.request-form-box { padding: var(--card-pad); }

.contact-form-shell h2,
.request-form-box h2,
.single-produkt .quote h2,
.tax-produktkategorie .quote h2 {
  font-size: clamp(1.7rem, 1.35rem + 0.9vw, 2.4rem);
}
.contact-form-shell p,
.single-produkt .quote p,
.tax-produktkategorie .quote p,
.contact-form-shell .wpcf7 label,
.single-produkt .quote .wpcf7 label,
.tax-produktkategorie .quote .wpcf7 label,
.contact-form-shell .cf7-fallback p,
.single-produkt .cf7-fallback p,
.tax-produktkategorie .cf7-fallback p {
  color: var(--muted);
}
.request-form-box p,
.request-form-box .wpcf7 label,
.request-form-box .cf7-fallback p,
.request-form-box .quote-form label,
.request-form-box .quote-form p {
  color: #fff;
}

.quote .wpcf7 form,
.quote .wpcf7-form,
.contact-form-shell .wpcf7 form,
.contact-form-shell .wpcf7-form,
.request-form-box .wpcf7 form,
.request-form-box .wpcf7-form,
.request-form-box .quote-form,
.page-preisrechner .wpcf7 form,
.page-template-page-preisrechner .wpcf7 form,
.preisrechner-tool-embed form,
.contact-form-shell form,
.request-form-box form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 1.25rem;
}

.quote .wpcf7-form p,
.contact-form-shell .wpcf7-form p,
.request-form-box .wpcf7-form p,
.preisrechner-tool-embed form p,
.page-preisrechner .wpcf7 form p,
.page-template-page-preisrechner .wpcf7 form p,
.cf7-fallback p,
.contact-form-shell form p,
.request-form-box form p {
  margin: 0;
}

.quote .wpcf7-form p:has(textarea),
.quote .wpcf7-form p:has(.wpcf7-textarea),
.quote .wpcf7-form p:has(input[type="submit"]),
.contact-form-shell .wpcf7-form p:has(textarea),
.contact-form-shell .wpcf7-form p:has(.wpcf7-textarea),
.contact-form-shell .wpcf7-form p:has(input[type="submit"]),
.request-form-box .wpcf7-form p:has(textarea),
.request-form-box .wpcf7-form p:has(.wpcf7-textarea),
.request-form-box .wpcf7-form p:has(input[type="submit"]),
.page-preisrechner .wpcf7 form p:has(textarea),
.page-preisrechner .wpcf7 form p:has(input[type="submit"]),
.page-template-page-preisrechner .wpcf7 form p:has(textarea),
.page-template-page-preisrechner .wpcf7 form p:has(input[type="submit"]),
.preisrechner-tool-embed form p:has(textarea),
.preisrechner-tool-embed form p:has(input[type="submit"]),
.preisrechner-tool-embed form p:has(button),
.quote .wpcf7 .full,
.contact-form-shell .wpcf7 .full,
.request-form-box .wpcf7 .full,
.quote-form .full,
.quote .wpcf7-spinner,
.contact-form-shell .wpcf7-spinner,
.request-form-box .wpcf7-spinner,
.quote .wpcf7 form .wpcf7-response-output,
.contact-form-shell .wpcf7 form .wpcf7-response-output,
.request-form-box .wpcf7 form .wpcf7-response-output,
.contact-form-shell form > :last-child,
.request-form-box form > :last-child {
  grid-column: 1 / -1;
}

.quote .wpcf7 label,
.contact-form-shell .wpcf7 label,
.request-form-box .wpcf7 label,
.contact-form-shell label,
.request-form-box label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 600;
}

.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select,
.single-produkt .quote .wpcf7 input[type="text"],
.single-produkt .quote .wpcf7 input[type="email"],
.single-produkt .quote .wpcf7 input[type="tel"],
.single-produkt .quote .wpcf7 textarea,
.single-produkt .quote .wpcf7 select,
.single-produkt .quote-form input,
.single-produkt .quote-form textarea,
.single-produkt .quote-form select,
.tax-produktkategorie .quote .wpcf7 input[type="text"],
.tax-produktkategorie .quote .wpcf7 input[type="email"],
.tax-produktkategorie .quote .wpcf7 input[type="tel"],
.tax-produktkategorie .quote .wpcf7 textarea,
.tax-produktkategorie .quote .wpcf7 select,
.tax-produktkategorie .quote-form input,
.tax-produktkategorie .quote-form textarea,
.tax-produktkategorie .quote-form select,
.preisrechner-tool-embed input,
.preisrechner-tool-embed textarea,
.preisrechner-tool-embed select,
.contact-form-shell form input,
.contact-form-shell form textarea,
.contact-form-shell form select {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.contact-form-shell textarea,
.single-produkt .quote textarea,
.tax-produktkategorie .quote textarea,
.preisrechner-tool-embed textarea,
.contact-form-shell form textarea { min-height: 140px; resize: vertical; }
.contact-form-shell input::placeholder,
.contact-form-shell textarea::placeholder,
.single-produkt .quote input::placeholder,
.single-produkt .quote textarea::placeholder,
.tax-produktkategorie .quote input::placeholder,
.tax-produktkategorie .quote textarea::placeholder,
.preisrechner-tool-embed input::placeholder,
.preisrechner-tool-embed textarea::placeholder {
  color: #7a8798;
}

.request-form-box .wpcf7 input[type="text"],
.request-form-box .wpcf7 input[type="email"],
.request-form-box .wpcf7 input[type="tel"],
.request-form-box .wpcf7 textarea,
.request-form-box .wpcf7 select,
.request-form-box .quote-form input,
.request-form-box .quote-form textarea,
.request-form-box .quote-form select,
.request-form-box form input,
.request-form-box form textarea,
.request-form-box form select {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
}
.request-form-box .wpcf7 textarea,
.request-form-box .quote-form textarea,
.request-form-box form textarea { min-height: 140px; resize: vertical; }
.request-form-box .wpcf7 input::placeholder,
.request-form-box .wpcf7 textarea::placeholder,
.request-form-box .quote-form input::placeholder,
.request-form-box .quote-form textarea::placeholder,
.request-form-box form input::placeholder,
.request-form-box form textarea::placeholder {
  color: rgba(255,255,255,0.72);
}

.contact-form-shell input:focus,
.contact-form-shell textarea:focus,
.contact-form-shell select:focus,
.single-produkt .quote input:focus,
.single-produkt .quote textarea:focus,
.single-produkt .quote select:focus,
.tax-produktkategorie .quote input:focus,
.tax-produktkategorie .quote textarea:focus,
.tax-produktkategorie .quote select:focus,
.preisrechner-tool-embed input:focus,
.preisrechner-tool-embed textarea:focus,
.preisrechner-tool-embed select:focus {
  border-color: rgba(200,55,26,0.4);
  box-shadow: 0 0 0 4px rgba(200,55,26,0.1);
}
.request-form-box input:focus,
.request-form-box textarea:focus,
.request-form-box select:focus {
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.quote .wpcf7 input[type="submit"],
.contact-form-shell .wpcf7 input[type="submit"],
.request-form-box .wpcf7 input[type="submit"],
.page-preisrechner .wpcf7 input[type="submit"],
.page-template-page-preisrechner .wpcf7 input[type="submit"],
.preisrechner-tool-embed input[type="submit"],
.preisrechner-tool-embed button,
.single-produkt .quote-form input[type="submit"],
.tax-produktkategorie .quote-form input[type="submit"],
.contact-form-shell form button,
.request-form-box form button {
  width: 100%;
}

.contact-form-shell .wpcf7 input[type="submit"],
.single-produkt .quote .wpcf7 input[type="submit"],
.tax-produktkategorie .quote .wpcf7 input[type="submit"],
.preisrechner-tool-embed input[type="submit"],
.preisrechner-tool-embed button,
.contact-form-shell form button {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-button);
}
.contact-form-shell .wpcf7 input[type="submit"]:hover,
.single-produkt .quote .wpcf7 input[type="submit"]:hover,
.tax-produktkategorie .quote .wpcf7 input[type="submit"]:hover,
.preisrechner-tool-embed input[type="submit"]:hover,
.preisrechner-tool-embed button:hover,
.contact-form-shell form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.request-form-box .wpcf7 input[type="submit"],
.request-form-box form button {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
.request-form-box .wpcf7 input[type="submit"]:hover,
.request-form-box form button:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent);
}

.quote .wpcf7 form .wpcf7-response-output,
.contact-form-shell .wpcf7 form .wpcf7-response-output,
.request-form-box .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
}
.quote .wpcf7-not-valid-tip,
.contact-form-shell .wpcf7-not-valid-tip,
.request-form-box .wpcf7-not-valid-tip {
  margin-top: 0.45rem;
  font-size: 0.86rem;
}
.request-form-box .wpcf7-not-valid-tip { color: #ffd8c5; }

@media (max-width: 782px) {
  .quote .wpcf7 form,
  .quote .wpcf7-form,
  .contact-form-shell .wpcf7 form,
  .contact-form-shell .wpcf7-form,
  .request-form-box .wpcf7 form,
  .request-form-box .wpcf7-form,
  .request-form-box .quote-form,
  .page-preisrechner .wpcf7 form,
  .page-template-page-preisrechner .wpcf7 form,
  .preisrechner-tool-embed form,
  .contact-form-shell form,
  .request-form-box form {
    grid-template-columns: 1fr;
  }
}


/* Finalfix: stronger request shells and footer-safe secondary buttons */
.request-form-box {
  position: relative;
  overflow: hidden;
}
.request-form-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 40%);
  pointer-events: none;
}
.request-form-box > * {
  position: relative;
  z-index: 1;
}
.request-form-box .wpcf7 form,
.request-form-box .wpcf7-form,
.request-form-box .quote-form,
.request-form-box form {
  gap: 0.9rem 1rem;
}
.request-form-box .wpcf7 input[type="submit"],
.request-form-box .quote-form input[type="submit"],
.request-form-box form button {
  background: #fff;
  color: var(--banner);
  border-color: #fff;
  box-shadow: 0 18px 34px rgba(9, 16, 30, 0.22);
}
.request-form-box .wpcf7 input[type="submit"]:hover,
.request-form-box .quote-form input[type="submit"]:hover,
.request-form-box form button:hover {
  background: rgba(255,255,255,0.94);
  color: var(--banner);
  border-color: rgba(255,255,255,0.94);
}


/* Final Restfix 2.2.2: request/contact shell refinement */
.contact-form-shell,
.request-form-box {
  border-radius: 30px;
}
.contact-form-shell {
  padding: clamp(1.3rem, 1.05rem + 0.75vw, 1.9rem);
}
.request-form-box {
  padding: clamp(1.4rem, 1.1rem + 0.85vw, 2rem);
}
.request-form-box > :last-child,
.contact-form-shell > :last-child {
  margin-bottom: 0;
}


/* Final preview overrides */
.contact-form-shell,
.request-form-box,
.single-produkt .quote,
.tax-produktkategorie .quote {
  border-radius: 28px;
}
.contact-form-shell {
  padding: clamp(1.35rem, 1.05rem + 0.8vw, 1.95rem);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}
.contact-form-shell .wpcf7 form,
.contact-form-shell form,
.request-form-box .wpcf7 form,
.request-form-box form,
.preisrechner-tool-embed form {
  gap: 0.95rem 1rem;
}
.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select,
.preisrechner-tool-embed input,
.preisrechner-tool-embed textarea,
.preisrechner-tool-embed select {
  border-radius: 14px;
  min-height: 52px;
}
.request-form-box .wpcf7 input[type="text"],
.request-form-box .wpcf7 input[type="email"],
.request-form-box .wpcf7 input[type="tel"],
.request-form-box .wpcf7 textarea,
.request-form-box .wpcf7 select,
.request-form-box .quote-form input,
.request-form-box .quote-form textarea,
.request-form-box .quote-form select,
.request-form-box form input,
.request-form-box form textarea,
.request-form-box form select {
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
}

/* ===== product-cards.css ===== */
/* Product cards: taxonomy and archive */
.taxonomy-product-grid,
.taxonomy-products-anchor .taxonomy-product-grid,
.tax-produktkategorie .taxonomy-product-grid,
.post-type-archive-produkt .taxonomy-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.2rem);
  align-items: stretch;
}
.taxonomy-product-grid > *,
.taxonomy-products-anchor .taxonomy-product-grid > *,
.tax-produktkategorie .taxonomy-product-grid > *,
.post-type-archive-produkt .taxonomy-product-grid > * {
  min-width: 0;
  height: 100%;
}
.taxonomy-product-card,
.taxonomy-products-anchor .taxonomy-product-card,
.tax-produktkategorie .taxonomy-product-card,
.post-type-archive-produkt .taxonomy-product-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
  border: 1px solid rgba(26,31,46,0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.taxonomy-product-card:hover,
.taxonomy-product-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(200,55,26,0.16);
  box-shadow: 0 22px 44px rgba(17,24,39,0.1);
}
.taxonomy-product-card-link,
.taxonomy-products-anchor .taxonomy-product-card-link,
.tax-produktkategorie .taxonomy-product-card-link,
.post-type-archive-produkt .taxonomy-product-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.taxonomy-product-card-link:hover,
.taxonomy-product-card-link:focus,
.taxonomy-products-anchor .taxonomy-product-card-link:hover,
.taxonomy-products-anchor .taxonomy-product-card-link:focus,
.tax-produktkategorie .taxonomy-product-card-link:hover,
.tax-produktkategorie .taxonomy-product-card-link:focus,
.post-type-archive-produkt .taxonomy-product-card-link:hover,
.post-type-archive-produkt .taxonomy-product-card-link:focus,
.taxonomy-product-card-link * {
  color: inherit;
  text-decoration: none;
}
.taxonomy-product-thumb,
.taxonomy-products-anchor .taxonomy-product-thumb,
.tax-produktkategorie .taxonomy-product-thumb,
.post-type-archive-produkt .taxonomy-product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 6.2;
  padding: 0.75rem 0.9rem 0.7rem;
  background: linear-gradient(180deg, #fdfdfe 0%, #f3f5f8 100%);
  border-bottom: 1px solid var(--line);
}
.taxonomy-product-thumb img,
.taxonomy-products-anchor .taxonomy-product-thumb img,
.tax-produktkategorie .taxonomy-product-thumb img,
.post-type-archive-produkt .taxonomy-product-thumb img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 84%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.taxonomy-product-thumb.is-fallback,
.taxonomy-page-shell .taxonomy-product-thumb.is-fallback,
.produkt-archive-shell .taxonomy-product-thumb.is-fallback {
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f6f8 100%);
  outline: 1px dashed rgba(200,55,26,0.22);
  outline-offset: -1px;
}
.taxonomy-product-card-pad,
.taxonomy-products-anchor .taxonomy-product-card-pad,
.tax-produktkategorie .taxonomy-product-card-pad,
.post-type-archive-produkt .taxonomy-product-card-pad {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.9rem 0.95rem 0.95rem;
}
.taxonomy-product-card-pad > * { margin-top: 0; margin-bottom: 0; }
.taxonomy-product-card h3,
.taxonomy-products-anchor .taxonomy-product-card h3,
.tax-produktkategorie .taxonomy-product-card h3,
.post-type-archive-produkt .taxonomy-product-card h3 {
  font-size: clamp(1.06rem, 0.98rem + 0.22vw, 1.22rem);
  line-height: 1.12;
}
.taxonomy-product-card p,
.taxonomy-products-anchor .taxonomy-product-card p,
.tax-produktkategorie .taxonomy-product-card p,
.post-type-archive-produkt .taxonomy-product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.taxonomy-product-card .pill-row,
.taxonomy-products-anchor .taxonomy-product-card .pill-row,
.tax-produktkategorie .taxonomy-product-card .pill-row,
.post-type-archive-produkt .taxonomy-product-card .pill-row {
  width: 100%;
  gap: 0.5rem;
}
.taxonomy-product-card .pill {
  min-height: 34px;
  padding: 0 0.75rem;
  border-color: #dfe5ee;
  background: #f4f6f9;
  color: #536274;
  font-size: 0.82rem;
}
.taxonomy-card-button,
.taxonomy-products-anchor .taxonomy-card-button,
.tax-produktkategorie .taxonomy-card-button,
.post-type-archive-produkt .taxonomy-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-button);
}
.taxonomy-card-button:hover,
.taxonomy-products-anchor .taxonomy-card-button:hover,
.tax-produktkategorie .taxonomy-card-button:hover,
.post-type-archive-produkt .taxonomy-card-button:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

@media (max-width: 900px) {
  .taxonomy-product-grid,
  .taxonomy-products-anchor .taxonomy-product-grid,
  .tax-produktkategorie .taxonomy-product-grid,
  .post-type-archive-produkt .taxonomy-product-grid {
    grid-template-columns: 1fr;
  }
}


/* Finalfix: denser category/archive cards */
.taxonomy-product-card-pad > .pill-row {
  margin-top: 0.1rem;
}
.taxonomy-card-button,
.taxonomy-products-anchor .taxonomy-card-button,
.tax-produktkategorie .taxonomy-card-button,
.post-type-archive-produkt .taxonomy-card-button {
  min-height: 40px;
  padding: 0 0.95rem;
  margin-top: 0.2rem;
}
.taxonomy-product-card h3,
.taxonomy-products-anchor .taxonomy-product-card h3,
.tax-produktkategorie .taxonomy-product-card h3,
.post-type-archive-produkt .taxonomy-product-card h3 {
  line-height: 1.16;
}


/* Final Restfix 2.2.2: tighter category/archive product cards */
.taxonomy-product-thumb,
.taxonomy-products-anchor .taxonomy-product-thumb,
.tax-produktkategorie .taxonomy-product-thumb,
.post-type-archive-produkt .taxonomy-product-thumb {
  aspect-ratio: 16 / 4.8;
  padding: 0.45rem 0.7rem 0.4rem;
}
.taxonomy-product-thumb img,
.taxonomy-products-anchor .taxonomy-product-thumb img,
.tax-produktkategorie .taxonomy-product-thumb img,
.post-type-archive-produkt .taxonomy-product-thumb img {
  max-width: 86%;
  max-height: 90%;
}
.taxonomy-product-card-pad,
.taxonomy-products-anchor .taxonomy-product-card-pad,
.tax-produktkategorie .taxonomy-product-card-pad,
.post-type-archive-produkt .taxonomy-product-card-pad {
  gap: 0.4rem;
  padding: 0.8rem 0.85rem 0.85rem;
}
.taxonomy-product-card h3,
.taxonomy-products-anchor .taxonomy-product-card h3,
.tax-produktkategorie .taxonomy-product-card h3,
.post-type-archive-produkt .taxonomy-product-card h3 {
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.12rem);
  line-height: 1.16;
}
.taxonomy-product-card p,
.taxonomy-products-anchor .taxonomy-product-card p,
.tax-produktkategorie .taxonomy-product-card p,
.post-type-archive-produkt .taxonomy-product-card p {
  font-size: 0.86rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}
.taxonomy-product-card .pill-row,
.taxonomy-products-anchor .taxonomy-product-card .pill-row,
.tax-produktkategorie .taxonomy-product-card .pill-row,
.post-type-archive-produkt .taxonomy-product-card .pill-row {
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(226,230,237,0.85);
}
.taxonomy-product-card .pill {
  min-height: 32px;
  font-size: 0.8rem;
}
.taxonomy-card-button,
.taxonomy-products-anchor .taxonomy-card-button,
.tax-produktkategorie .taxonomy-card-button,
.post-type-archive-produkt .taxonomy-card-button {
  min-height: 38px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}


/* Final preview overrides */
.taxonomy-product-grid,
.taxonomy-products-anchor .taxonomy-product-grid,
.tax-produktkategorie .taxonomy-product-grid,
.post-type-archive-produkt .taxonomy-product-grid {
  gap: 1rem;
}
.taxonomy-product-card,
.taxonomy-products-anchor .taxonomy-product-card,
.tax-produktkategorie .taxonomy-product-card,
.post-type-archive-produkt .taxonomy-product-card {
  border-radius: 24px;
}
.taxonomy-product-thumb,
.taxonomy-products-anchor .taxonomy-product-thumb,
.tax-produktkategorie .taxonomy-product-thumb,
.post-type-archive-produkt .taxonomy-product-thumb {
  aspect-ratio: 16 / 5.2;
  padding: 0.55rem 0.8rem;
}
.taxonomy-product-thumb img,
.taxonomy-products-anchor .taxonomy-product-thumb img,
.tax-produktkategorie .taxonomy-product-thumb img,
.post-type-archive-produkt .taxonomy-product-thumb img {
  max-width: 82%;
  max-height: 88%;
}
.taxonomy-product-card-pad,
.taxonomy-products-anchor .taxonomy-product-card-pad,
.tax-produktkategorie .taxonomy-product-card-pad,
.post-type-archive-produkt .taxonomy-product-card-pad {
  gap: 0.55rem;
  padding: 0.95rem;
}
.taxonomy-product-card p,
.taxonomy-products-anchor .taxonomy-product-card p,
.tax-produktkategorie .taxonomy-product-card p,
.post-type-archive-produkt .taxonomy-product-card p {
  -webkit-line-clamp: 3;
  min-height: 0;
}
.taxonomy-card-button,
.taxonomy-products-anchor .taxonomy-card-button,
.tax-produktkategorie .taxonomy-card-button,
.post-type-archive-produkt .taxonomy-card-button {
  min-height: 40px;
  padding: 0 0.95rem;
  font-size: 0.84rem;
}


/* Category page final alignment to design preview */
.taxonomy-product-grid,
.taxonomy-products-anchor .taxonomy-product-grid,
.tax-produktkategorie .taxonomy-product-grid,
.post-type-archive-produkt .taxonomy-product-grid {
  width: min(100%, 1028px);
  margin-inline: auto;
  gap: clamp(1rem, 1.55vw, 1.2rem);
}
.taxonomy-product-card,
.taxonomy-products-anchor .taxonomy-product-card,
.tax-produktkategorie .taxonomy-product-card,
.post-type-archive-produkt .taxonomy-product-card {
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  box-shadow: 0 14px 34px rgba(26, 31, 46, 0.05);
}
.taxonomy-product-thumb,
.taxonomy-products-anchor .taxonomy-product-thumb,
.tax-produktkategorie .taxonomy-product-thumb,
.post-type-archive-produkt .taxonomy-product-thumb {
  aspect-ratio: auto;
  padding: 0.55rem 0.8rem;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-bottom: 1px solid #e2e6ed;
}
.taxonomy-product-thumb img,
.taxonomy-products-anchor .taxonomy-product-thumb img,
.tax-produktkategorie .taxonomy-product-thumb img,
.post-type-archive-produkt .taxonomy-product-thumb img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 86%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.taxonomy-product-card-pad,
.taxonomy-products-anchor .taxonomy-product-card-pad,
.tax-produktkategorie .taxonomy-product-card-pad,
.post-type-archive-produkt .taxonomy-product-card-pad {
  gap: 0.55rem;
  padding: 0.95rem 1rem 1rem;
}
.taxonomy-product-card h3,
.taxonomy-products-anchor .taxonomy-product-card h3,
.tax-produktkategorie .taxonomy-product-card h3,
.post-type-archive-produkt .taxonomy-product-card h3 {
  font-size: clamp(1.04rem, 0.99rem + 0.24vw, 1.2rem);
  line-height: 1.18;
}
.taxonomy-product-card p,
.taxonomy-products-anchor .taxonomy-product-card p,
.tax-produktkategorie .taxonomy-product-card p,
.post-type-archive-produkt .taxonomy-product-card p {
  font-size: 0.89rem;
  line-height: 1.56;
  color: #5b6475;
  -webkit-line-clamp: 3;
}
.taxonomy-product-card .pill-row,
.taxonomy-products-anchor .taxonomy-product-card .pill-row,
.tax-produktkategorie .taxonomy-product-card .pill-row,
.post-type-archive-produkt .taxonomy-product-card .pill-row {
  width: auto;
  margin-top: 0.15rem;
  padding-top: 0;
  border-top: 0;
}
.taxonomy-product-card .pill,
.taxonomy-products-anchor .taxonomy-product-card .pill,
.tax-produktkategorie .taxonomy-product-card .pill,
.post-type-archive-produkt .taxonomy-product-card .pill {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}
.taxonomy-product-card .pill::before,
.taxonomy-products-anchor .taxonomy-product-card .pill::before,
.tax-produktkategorie .taxonomy-product-card .pill::before,
.post-type-archive-produkt .taxonomy-product-card .pill::before {
  content: 'ab Preis ';
  color: var(--muted);
  font-weight: 600;
}
.taxonomy-card-button,
.taxonomy-products-anchor .taxonomy-card-button,
.tax-produktkategorie .taxonomy-card-button,
.post-type-archive-produkt .taxonomy-card-button {
  min-height: 40px;
  margin-top: 0.2rem;
  padding: 0 0.95rem;
  font-size: 0.83rem;
}
@media (max-width: 900px) {
  .taxonomy-product-grid,
  .taxonomy-products-anchor .taxonomy-product-grid,
  .tax-produktkategorie .taxonomy-product-grid,
  .post-type-archive-produkt .taxonomy-product-grid {
    width: 100%;
  }
  .taxonomy-product-thumb,
  .taxonomy-products-anchor .taxonomy-product-thumb,
  .tax-produktkategorie .taxonomy-product-thumb,
  .post-type-archive-produkt .taxonomy-product-thumb {
    min-height: 170px;
  }
}
