/* Compact, persistent navigation and factual product references. */
:root { --header-height: 74px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  min-height: 74px;
  background: #0d1821f7;
  backdrop-filter: blur(14px);
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: #3b4b56; box-shadow: 0 8px 28px #0004; }
.header-inner { min-height: 74px; height: auto; gap: 25px; }
.site-header .brand { font-size: 1.0625rem; gap: 10px; }
.site-header .brand img { width: 36px; height: 36px; }
.site-header .brand-second { font-size: .8125rem; margin-top: 2px; }
.desktop-nav { gap: 27px; font-size: .875rem; }
.header-contact > a { display: block; font-size: 1.125rem; line-height: 1.4; }
.header-contact > span { font-size: .75rem; }
.mobile-nav { max-height: calc(100dvh - var(--header-height) - 70px); overflow-y: auto; }

.brands-section { padding-top: 40px; padding-bottom: 35px; }
.brands-section > h2 { font-size: 1.625rem; letter-spacing: -.6px; line-height: 1.3; }
.brand-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; margin-top: 28px; }
.brand-card { min-width: 0; border: 1px solid #405460; border-radius: 9px; background: #1d303d; overflow: hidden; }
.brand-card h3 { display: flex; align-items: center; justify-content: center; height: 65px; padding: 12px 7px; font-size: 1.375rem; font-weight: 800; letter-spacing: .3px; }
.brand-card .brand-name-zelaqua { font-size: 1.375rem; letter-spacing: -.8px; }
.brand-card .brand-name-biodesign { font-size: 1.0625rem; }
.brand-card .brand-name-aquatlantis { font-size: 1rem; }
.brand-card .brand-photo { width: 100%; height: 164px; aspect-ratio: auto; border-radius: 0; background: radial-gradient(ellipse at 50% 44%, #7a8b92 0%, #637983 48%, #405968 100%); padding: 12px 9px; isolation: isolate; }
.brand-card .brand-photo > img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: none; mix-blend-mode: multiply; }
/* This approved product already has transparency; keep its LEDs and metal in their original colours. */
.brand-card .brand-name-zelaqua + .brand-photo > img { mix-blend-mode: normal; filter: drop-shadow(0 7px 9px #07121c66); }
/* The pale tubes need a lighter slate surface so their fittings remain distinct. */
.brand-card .brand-name-biodesign + .brand-photo { background: radial-gradient(ellipse at 50% 44%, #a3afb4 0%, #899ca5 48%, #687f8b 100%); }
.brand-card p { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 15px 12px; font-size: .875rem; color: #d0dbe2; line-height: 1.55; }
.brand-photo:focus-visible { outline-offset: -5px; }
.brand-card .brand-photo-jebo > img { object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.brand-card .brand-photo.brand-photo-real { padding: 0; background: #334b59; }
.brand-card .brand-photo-real > img { object-fit: contain; object-position: center; mix-blend-mode: normal; filter: none; }
.brand-card .brand-photo-real:hover > img { transform: none; }
.brands-note { font-size: .875rem; margin-top: 23px; }

/* Larger repair photographs, with the same quiet slate surface as the product cards. */
.product-photo { height: 314px; min-height: 314px; padding: 14px 26px 47px; background: radial-gradient(ellipse at 50% 40%, #68808c, #3a5666 65%, #203b4b); isolation: isolate; }
.product-photo img { width: 100%; max-width: 570px; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.service-card:nth-child(2) .product-photo img { object-fit: contain; object-position: center; mix-blend-mode: normal; filter: drop-shadow(0 10px 12px #06131c66); }
.product-photo > span { z-index: 1; left: 24px; right: 20px; bottom: 15px; font-size: .875rem; line-height: 1.4; color: #dce5eb; }
.product-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 71px; background: linear-gradient(transparent, #1d3443 85%); pointer-events: none; }
.product-photo:has(img[src*='service-juwel-workshop']) { padding: 0; }
.product-photo img[src*='service-juwel-workshop'] { max-width: none; object-fit: cover; object-position: center 53%; mix-blend-mode: normal; }
.service-card:hover .product-photo img { transform: none; }

.conversion-section { background: #172731; border-block: 1px solid #30434f; }
.conversion-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.conversion-copy h2 { font-size: clamp(2rem, 2.65vw, 2.625rem); }
.conversion-copy h2 > span { display: block; color: var(--yellow); margin-top: 9px; text-wrap: balance; }
.conversion-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; color: var(--text); margin-top: 16px; }
.conversion-copy > .conversion-lead { margin-top: 25px; }
.conversion-points { list-style: none; margin: 24px 0 28px; padding: 0; }
.conversion-points > li { display: flex; align-items: flex-start; gap: 11px; font-size: .9375rem; margin-top: 12px; line-height: 1.6; }
.conversion-points .icon { color: var(--yellow); width: 20px; height: 20px; margin-top: 2px; }
.conversion-copy > .conversion-note { font-size: .8125rem; line-height: 1.6; max-width: 370px; margin-top: 15px; }
.conversion-visual { min-width: 0; }
.comparison { position: relative; overflow: hidden; border-radius: 12px; background: #e9eeef; aspect-ratio: 3 / 2; isolation: isolate; }
.comparison > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* The source photograph stays intact; only the two tube areas use the illustrative LED edit. */
.comparison-real { aspect-ratio: 640 / 457; background: #1d303d; }
.comparison-real .comparison-after,
.comparison-real .comparison-after > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.comparison-real > .comparison-before { object-fit: fill; }
.comparison-real .conversion-tube-upper { clip-path: polygon(27.344% 29.103%, 100% 61.488%, 100% 67.177%, 26.406% 35.011%); }
.comparison-real .conversion-tube-lower { clip-path: polygon(20.313% 66.521%, 100% 89.497%, 100% 97.593%, 18.906% 72.867%); }
.comparison-before { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); z-index: 1; }
.comparison-label { position: absolute; z-index: 2; top: 18px; border-radius: 5px; padding: 6px 11px; color: var(--white); background: #182832; font-size: .8125rem; font-weight: 700; pointer-events: none; }
.comparison-label-before { left: 18px; }
.comparison-label-after { right: 18px; background: var(--yellow); color: var(--bg); }
.comparison[data-view="before"] .comparison-label-after,
.comparison[data-view="after"] .comparison-label-before,
.comparison[data-view="before"] .comparison-divider,
.comparison[data-view="after"] .comparison-divider { opacity: 0; }
.comparison-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: clamp(2px, var(--reveal), calc(100% - 2px)); width: 2px; background: var(--yellow); box-shadow: 0 0 0 1px #1828321a; pointer-events: none; transform: translateX(-50%); }
.comparison-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--yellow); color: #10202a; border-radius: 50%; box-shadow: 0 3px 15px #0003; font-size: 1.75rem; font-family: Arial, sans-serif; }
.comparison-handle > span { width: 1px; height: 17px; background: #10202a55; }
.comparison-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison:has(.comparison-range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 5px; }
.comparison-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.comparison-controls > button { min-height: 48px; border: 1px solid #5b6c77; border-radius: 6px; background: transparent; font-size: .875rem; font-weight: 600; padding: 10px; line-height: 1.5; transition: background .2s, border-color .2s; }
.comparison-controls > button:hover { border-color: var(--yellow); color: var(--yellow); }
.comparison-controls > button[aria-pressed="true"] { color: var(--bg); background: var(--yellow); border-color: var(--yellow); }
.conversion-visual > figcaption { display: block; text-align: center; color: var(--text); font-size: .8125rem; line-height: 1.6; margin-top: 16px; }
.comparison-footnote { margin-top: 10px; text-align: center; color: var(--muted); font-size: .75rem; line-height: 1.65; }

@media (max-width: 1190px) {
  .desktop-nav { gap: 18px; font-size: .8125rem; }
  .header-inner { gap: 18px; }
  .header-contact > a { font-size: 1.0625rem; }
  .brand-cards { gap: 11px; }
  .brand-card h3 { font-size: 1.25rem; }
  .brand-card .brand-name-biodesign { font-size: .875rem; }
  .brand-card .brand-name-aquatlantis { font-size: .8125rem; }
  .brand-card .brand-photo { height: 146px; }
  .brand-card p { min-height: 85px; font-size: .875rem; }
  .conversion-layout { gap: 34px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 950px) {
  .site-header, .header-inner { min-height: 70px; }
  .brand-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  .brand-card h3 { height: 59px; }
  .brand-card .brand-name-biodesign, .brand-card .brand-name-aquatlantis { font-size: 1rem; }
  .brand-card .brand-photo { height: 170px; }
  .brand-card p { min-height: 72px; font-size: .875rem; }
  .conversion-layout { grid-template-columns: 1fr; gap: 33px; }
  .conversion-copy { max-width: 640px; }
  .conversion-copy h2 { font-size: 2.25rem; }
  .conversion-copy h2 br:first-child { display: none; }
  .conversion-copy h2 > span { display: inline; }
  .conversion-visual { width: 100%; max-width: 700px; margin-inline: auto; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: calc(var(--header-height) + 14px); }
  .site-header, .header-inner { min-height: 66px; }
  .header-inner { display: grid; grid-template-columns: 34px minmax(0,1fr) 42px; gap: 13px; padding-block: 7px; }
  .site-header .brand > span { display: none; }
  .site-header .brand img { width: 34px; height: 34px; }
  .header-contact { display: block; margin-left: 0; text-align: center; min-width: 0; }
  .header-contact > a { font-size: 1rem; line-height: 1.5; padding-block: 6px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .header-contact > span { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .mobile-nav { padding: 13px 20px 22px; }
  .brands-section { padding-block: 34px; }
  .brands-section > h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.5px; }
  .brand-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 23px; }
  .brand-card h3 { height: 56px; font-size: 1.25rem; }
  .brand-card .brand-name-zelaqua { font-size: 1.25rem; }
  .brand-card .brand-name-biodesign { font-size: .875rem; }
  .brand-card .brand-name-aquatlantis { font-size: .8125rem; }
  .brand-card .brand-photo { height: clamp(132px, 35vw, 200px); padding: 10px 7px; }
  .brand-card p { min-height: 78px; font-size: .875rem; padding: 13px 9px; }
  .brands-note { font-size: .8125rem; }
  .product-photo { height: 255px; min-height: 255px; padding: 12px 17px 46px; }
  .product-photo img { height: 100%; }
  .product-photo > span { left: 20px; right: 17px; bottom: 14px; font-size: .875rem; }
  .services-footer { display: grid; grid-template-columns: 21px minmax(0, 1fr); column-gap: 10px; row-gap: 5px; }
  .services-footer .text-link { grid-column: 2; margin: 0; max-width: 100%; justify-self: start; }
  .conversion-copy h2 { font-size: 2rem; }
  .conversion-copy > p:not(.eyebrow) { font-size: 1rem; margin-top: 20px; }
  .conversion-points { margin-block: 22px 25px; }
  .conversion-points > li { font-size: .9375rem; }
  .conversion-copy .button { width: 100%; }
  .conversion-copy > .conversion-note { font-size: .8125rem; margin-top: 14px; }
  .comparison { border-radius: 8px; }
  .comparison-label { top: 12px; padding: 5px 8px; font-size: .75rem; }
  .comparison-label-before { left: 12px; }
  .comparison-label-after { right: 12px; }
  .comparison-handle { width: 40px; height: 40px; gap: 5px; font-size: 1.5rem; }
  .comparison-controls { gap: 8px; margin-top: 15px; }
  .comparison-controls > button { font-size: .8125rem; padding: 9px 6px; }
  .conversion-visual > figcaption { font-size: .8125rem; }
  .comparison-footnote { font-size: .75rem; }
}
@media (max-width: 370px) {
  .header-inner { gap: 9px; }
  .header-contact > a { font-size: .9375rem; }
  .brand-cards { gap: 10px; }
  .brand-card .brand-name-biodesign { font-size: .8125rem; }
  .brand-card .brand-name-aquatlantis { font-size: .75rem; }
  .brand-card .brand-photo { height: 132px; padding: 10px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .comparison-controls > button { transition: none; }
}
