@font-face {
  font-family:Inter;
  src:url("assets/inter-v4.woff2") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
:root {
  color-scheme: only light;
  --navy:#081027;
  --blue:#173b83;
  --blue-hover:#0f2e6d;
  --body:#262d3b;
  --muted:#566176;
  --line:#d9e0ea;
  --soft:#f2f5f8;
  --shell:min(100% - 104px, 1384px);
  --header-height:76px;
  font-family:Inter, 'Helvetica Neue', Arial, sans-serif;
  color:var(--navy);
  background:#fff;
}
*, *::before, *::after { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; scrollbar-gutter:stable; }
html,body,main { background-color:#fff; }
body { margin:0; font-size:16px; }
body:has(dialog[open]) { overflow:hidden; }
main { display:block; }
section[id], .use-list details { scroll-margin-top:calc(var(--header-height) + 10px); }
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button, input, select { font:inherit; }
button { color:inherit; cursor:pointer; }
button[disabled] { cursor:default; opacity:.52; }
button, dialog { border-radius:0; }
button:not([class]) { background:transparent; border:0; }
a,button,input,select,summary { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #4f85d9; outline-offset:4px; }
h1, h2, h3, p { margin:0; }
h2 { font-size:clamp(2.15rem,3.7vw,3.75rem); font-weight:650; letter-spacing:-.048em; line-height:1.015; }
p { line-height:1.65; }
.shell { width:var(--shell); margin-inline:auto; }
.skip { position:fixed; z-index:100; top:12px; left:12px; padding:12px; background:white; transform:translateY(-160%); }
.skip:focus { transform:none; }

.header { position:sticky; top:0; z-index:8; background:white; border-bottom:1px solid #e6ebf1; }
.header-line { height:var(--header-height); display:grid; grid-template-columns:auto 1fr auto; align-items:center; column-gap:clamp(18px,2.6vw,44px); }
.brand { display:block; width:clamp(105px,10vw,132px); }
.brand img, .market-brand img, .footer-brand img { width:100%; height:auto; }
.nav { display:flex; justify-content:flex-end; align-items:center; align-self:stretch; gap:clamp(15px,2.15vw,34px); }
.nav > a, .nav-link { display:inline-flex; align-items:center; gap:8px; font-weight:470; font-size:clamp(.9rem,1.1vw,1rem); line-height:1.3; padding:13px 0; white-space:nowrap; }
.nav-link { border:0; background:transparent; }
.nav [data-main-nav] { align-self:stretch; position:relative; }
.nav [data-main-nav]::after, .product-label::after {
  content:'';
  position:absolute;
  inset-inline:0;
  inset-block-start:calc(50% + .75em);
  border-block-end:1px solid var(--blue);
  transform:scaleX(0);
  transition:transform 160ms ease-out;
  pointer-events:none;
}
.nav [data-main-nav]:is(:hover,:focus-visible,:active,[aria-current=page])::after,
.product-toggle:is(:hover,:focus-visible,[aria-expanded=true]) .product-label::after,
body[data-page=produkte] .product-label::after { transform:scaleX(1); }
.products-nav { display:flex; align-self:stretch; }
.product-toggle { gap:9px; }
.product-label { position:relative; }
.product-flyout {
  position:absolute;
  inset:100% 0 auto;
  z-index:10;
  overflow-y:auto;
  max-height:calc(100dvh - var(--header-height) - 1px);
  background:#fff;
  border-block:1px solid var(--line);
  box-shadow:0 12px 22px -18px #08102755;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 140ms ease, visibility 140ms;
}
.product-flyout[aria-hidden=false] { opacity:1; visibility:visible; pointer-events:auto; }
.product-menu-layout {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,2fr);
  gap:clamp(32px,5.5vw,86px);
  padding-block:clamp(30px,3.1vw,48px);
}
.product-menu-intro h2 { font-size:clamp(1.75rem,2.65vw,2.4rem); font-weight:520; line-height:1.12; letter-spacing:-.042em; overflow-wrap:anywhere; }
.product-menu-links { display:flex; flex-wrap:wrap; gap:4px 22px; margin-block-start:18px; }
.product-menu-links a { display:inline-flex; align-items:center; min-height:44px; font-size:.925rem; font-weight:470; text-decoration:underline; text-decoration-color:#b1bed1; text-underline-offset:.3em; }
.product-menu-links a:is(:hover,:focus-visible) { text-decoration-color:var(--blue); }
.menu-families { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px clamp(24px,3.5vw,58px); }
.menu-family {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:0;
  padding:14px 0 17px;
  background:transparent;
  border:0;
  border-block-start:1px solid var(--line);
  color:var(--navy);
  text-align:start;
}
.menu-family-name { font-size:clamp(1.125rem,1.48vw,1.4rem); font-weight:460; line-height:1.25; letter-spacing:-.025em; overflow-wrap:anywhere; hyphens:auto; }
.menu-series { color:var(--muted); font-size:.875rem; font-weight:400; line-height:1.45; }
.menu-family:is(:hover,:focus-visible) .menu-family-name { text-decoration:underline; text-decoration-color:var(--blue); text-decoration-thickness:1px; text-underline-offset:.22em; }
.header-actions .nav-link:is(:hover,:focus-visible,[aria-expanded=true]) :is([data-i],[data-market-country-label]),
.mobile-menu [data-main-nav]:is(:hover,:focus-visible),
.mobile-menu [aria-current=page], body[data-page=produkte] .mobile-products > summary > [data-i] {
  text-decoration:underline;
  text-decoration-color:var(--blue);
  text-decoration-thickness:1px;
  text-underline-offset:.3em;
}
.header-actions { display:flex; gap:clamp(12px,1.7vw,26px); align-items:center; }
.header-selection { min-block-size:44px; }
.market-trigger { display:inline-flex; align-items:center; gap:9px; background:transparent; border:0; }
.desktop-market { border-inline-start:1px solid var(--line); padding-block:5px; padding-inline-start:clamp(12px,1.7vw,26px); }
.market-trigger-copy { display:grid; gap:3px; line-height:1.12; text-align:start; min-width:0; }
.desktop-market .market-trigger-copy { max-width:clamp(76px,9vw,130px); }
.market-trigger-copy > span { font-weight:550; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-trigger-copy > small { color:var(--muted); font-weight:500; font-size:.79rem; }
.market-icon { width:21px; height:21px; flex:none; color:var(--blue); }
.market-trigger .chevron { flex:none; }
.search-button svg { width:22px; height:22px; flex:none; }
.chevron { width:7px; height:7px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); margin:0 2px 4px; }
[aria-expanded=true] .chevron { transform:rotate(225deg); margin-bottom:0; }
.menu-toggle,.mobile-menu { display:none; }
.drawer { position:absolute; inset:100% 0 auto; background:white; border-bottom:1px solid var(--line); box-shadow:0 13px 27px #08102719; max-height:calc(100dvh - var(--header-height) - 1px); overflow:auto; }

.hero { position:relative; height:clamp(508px,49vw,720px); isolation:isolate; background:var(--navy); color:white; }
.hero picture, .hero img, .hero::after { position:absolute; inset:0; width:100%; height:100%; }
.hero img { object-fit:cover; object-position:center 47%; }
.hero::after { content:""; background:linear-gradient(180deg,transparent 47%,#08102712 58%,#0810278c 91%,#081027ab); pointer-events:none; }
.hero-inner { position:relative; z-index:1; height:100%; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; padding-bottom:clamp(26px,4.2vw,64px); }
.hero h1 { font-size:clamp(3.15rem,5.55vw,5.5rem); font-weight:650; line-height:.98; letter-spacing:-.052em; white-space:pre-line; margin-bottom:26px; text-shadow:0 2px 20px #08102780; }
.button { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-height:48px; background:var(--blue); color:white; border:1px solid var(--blue); padding:12px 18px; font-weight:650; text-align:left; }
.button:hover { background:var(--blue-hover); border-color:var(--blue-hover); }
.hero-button { background:transparent; color:white; border:0; min-height:44px; min-width:0; padding:10px 0; font-size:1rem; font-weight:500; line-height:1.5; text-shadow:0 1px 8px #08102780; }
.hero-button span { border-bottom:1px solid #ffffffb3; padding-bottom:3px; }
.hero-button:focus-visible { outline:2px solid white; outline-offset:5px; }
.hero-button:hover { background:transparent; color:white; }
.hero-button:hover span { border-bottom-color:white; }
.button.secondary { color:var(--navy); background:white; border-color:var(--line); padding:9px 13px; min-height:42px; gap:7px; }
.button.secondary:hover:enabled { border-color:var(--blue); color:var(--blue); }
.button.outline { background:transparent; border-color:#71839f; margin-top:28px; }
.button.outline:hover { background:#172341; }

.tools-band { border-bottom:1px solid var(--line); }
.tool-grid { display:grid; grid-template-columns:1fr 1fr; }
.tool-link { min-height:108px; display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:clamp(9px,1.35vw,22px); padding:13px clamp(15px,2.6vw,37px); }
.tool-link:first-child { border-right:1px solid var(--line); padding-left:0; }
.tool-link:last-child { padding-right:0; }
.tool-link:hover strong { color:var(--blue); text-decoration:underline; text-underline-offset:5px; }
.tool-link svg { width:34px; height:34px; color:var(--blue); }
.tool-link strong { display:block; font-size:clamp(1rem,1.65vw,1.42rem); letter-spacing:-.022em; line-height:1.12; }
.tool-link small { display:block; color:var(--muted); line-height:1.35; margin-top:7px; }
.arrow { font-size:1.24rem; color:var(--blue); }

.section { padding-block:clamp(55px,7vw,106px); }
.heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:30px; }
.heading p { color:var(--muted); }
.text-link { display:inline-flex; align-items:center; gap:12px; font-weight:700; color:var(--blue); padding:5px 0; border:0; border-bottom:1px solid #9baed1; background:transparent; text-align:left; }
.text-link:hover { color:var(--blue-hover); border-color:currentColor; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--line); }
.product-grid .product-card { min-width:0; display:grid; grid-template-rows:clamp(145px,18vw,245px) 1fr; text-align:left; margin:0; padding:0; border:0; border-right:1px solid var(--line); background:white; }
.product-grid .product-card:last-child { border-right:0; }
.product-card:hover { background:var(--soft); }
.product-photo { display:grid; place-items:center; overflow:hidden; padding:18px 20px 6px; }
.product-photo img { width:100%; height:100%; min-height:0; object-fit:contain; mix-blend-mode:multiply; }
.product-name { display:grid; grid-template-columns:1fr auto; align-items:start; gap:8px; padding:20px; }
.product-name strong { font-size:clamp(1.05rem,1.5vw,1.35rem); font-weight:520; letter-spacing:-.026em; line-height:1.23; overflow-wrap:anywhere; hyphens:auto; }
.product-name small { grid-column:1 / -1; color:var(--muted); font-size:.875rem; font-weight:400; line-height:1.45; }

.soft-band { background:var(--soft); }
.use-layout,.about-layout { display:grid; grid-template-columns:minmax(250px,.75fr) minmax(0,1.5fr); gap:clamp(36px,7vw,115px); }
.use-intro p,.about-copy p { color:var(--body); font-size:1.05rem; margin-top:18px; max-width:36ch; }
.use-list { border-top:1px solid #bdc9d8; }
.use-list details { border-bottom:1px solid #bdc9d8; }
.use-list summary { list-style:none; cursor:pointer; padding:19px 0; display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; font-weight:650; font-size:clamp(1.06rem,1.72vw,1.42rem); letter-spacing:-.014em; }
.use-list summary::-webkit-details-marker { display:none; }
.use-list summary::after { content:'+'; color:var(--blue); font-weight:400; font-size:1.55rem; line-height:1; }
.use-list [open] > summary { color:var(--blue); }
.use-list [open] > summary::after { content:'−'; }
.use-detail { padding:0 0 20px; }
.use-detail p { color:var(--body); }
.use-links { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:8px; }

.film { display:grid; grid-template-columns:1.53fr 1fr; align-items:center; gap:clamp(25px,5.7vw,100px); }
.film video { width:100%; height:auto; aspect-ratio:16 / 9; display:block; background:#161f30; }
.film-copy p { color:var(--body); margin-block:18px 20px; }
.ink-band,.footer { background:var(--navy); color:white; }
.ref-heading p { color:#bdc9de; }
.ref-filters { display:flex; flex-wrap:wrap; gap:5px 8px; margin-bottom:29px; }
.ref-filters button { background:none; border:1px solid #43506a; min-height:39px; padding:7px 11px; color:#f0f4fc; font-size:.91rem; }
.ref-filters button[aria-pressed=true] { color:var(--navy); background:white; border-color:white; font-weight:700; }
.ref-filters button:hover:not([aria-pressed=true]) { border-color:white; }
.reference-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 20px; }
.reference-card { display:block; text-align:left; padding:0; background:transparent; border:0; width:100%; }
.ref-img { display:block; overflow:hidden; aspect-ratio:1.67; background:#1b2842; }
.reference-card img { width:100%; height:100%; object-fit:cover; transition:transform .28s ease; }
.reference-card:hover img { transform:scale(1.035); }
.ref-caption { display:grid; grid-template-columns:1fr auto; gap:4px 11px; padding-top:12px; align-items:start; }
.ref-caption small { color:#b7c7e1; grid-column:1 / -1; }
.ref-caption strong { font-size:clamp(1.02rem,1.65vw,1.32rem); letter-spacing:-.02em; line-height:1.23; }
.ref-caption .arrow { color:#c4d2e7; }
.ref-caption strong:hover { text-decoration:underline; text-underline-offset:4px; }

.stock-heading { align-items:start; }
.stock-heading p { max-width:37ch; text-align:right; }
.stock-controls { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr) auto; align-items:end; gap:15px; }
.field { display:grid; gap:7px; font-size:.93rem; font-weight:650; }
.field input, .field select { color:var(--navy); background:white; width:100%; min-width:0; border:1px solid #aab6c8; padding:10px 11px; min-height:44px; }
.field-check { min-height:44px; display:flex; gap:6px; align-items:center; font-weight:600; white-space:nowrap; }
.field-check input { width:17px; height:17px; accent-color:var(--blue); }
.stock-count { margin-block:15px 9px; color:var(--muted); font-size:.94rem; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); }
.table-wrap table { border-collapse:collapse; border:0; width:100%; text-align:left; font-size:.94rem; }
.table-wrap th { background:var(--soft); font-weight:700; }
.table-wrap td,.table-wrap th { padding:11px 14px; border-bottom:1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom:0; }
.table-wrap td:first-child { font-weight:700; }
.table-wrap td:last-child,.table-wrap th:last-child { text-align:right; }
.table-wrap td:nth-child(3) { color:var(--muted); }
#stock-editor { margin-top:32px; background:var(--soft); padding:20px; }
#stock-editor summary { font-weight:650; cursor:pointer; }
#stock-editor p { margin-block:12px; }

.about-lead { margin-top:16px; font-size:1.25rem; }
.about-copy p { margin-top:0; max-width:57ch; margin-bottom:13px; }
.contact-layout { display:grid; gap:26px; grid-template-columns:1fr 1fr; align-items:center; }
.contact-layout p { margin-top:20px; }
.contact-links { display:grid; gap:12px; text-align:right; }
.contact-links a { font-size:clamp(1.2rem,2.5vw,1.85rem); font-weight:600; color:var(--blue); }
.contact-links a:hover { text-decoration:underline; text-underline-offset:4px; }
.contact-extra { align-self:start; border-top:1px solid var(--line); padding-top:16px; }
.contact-extra p { margin-top:8px; color:var(--muted); }
.footer { border-top:1px solid #1b2945; }
.footer-brand { display:block; width:156px; }
.footer-brand img { filter:grayscale(1) invert(1) contrast(1.55); mix-blend-mode:screen; }
.footer-contact-brand { display:flex; justify-content:space-between; align-items:center; gap:22px; padding-block:28px 24px; border-bottom:1px solid #43506a; }
.footer-contact-brand > div { display:flex; gap:24px; align-items:center; }
.footer-contact-brand strong { font-size:1.05rem; }
.footer-contact-link { display:flex; align-items:center; gap:12px; padding-block:7px; border-bottom:1px solid #7584a7; font-weight:650; }
.footer-contact-link:hover { border-color:white; }
.footer-directory { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.26fr); gap:clamp(28px,6vw,90px); padding-block:26px 30px; }
.footer-directory h2 { font-size:clamp(1.3rem,2vw,1.85rem); margin-bottom:14px; }
.footer-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 18px; border-top:1px solid #43506a; min-height:64px; color:#c3cede; font-size:.89rem; }
.footer-bottom button { display:inline-flex; align-items:center; gap:8px; padding:7px 0; }
.footer-service-links { display:flex; flex-wrap:wrap; gap:8px 25px; }
.footer-service-links :is(a:hover,[aria-current]),.footer-bottom button:hover { color:white; text-decoration:underline; text-underline-offset:4px; }

/* Page-level content uses its own solid surface, including in dark preview frames. */
[data-view] { color:var(--navy); background:#fff; }
.home-company { padding-block:clamp(46px,6.4vw,94px) clamp(42px,5vw,70px); }
.home-company-intro { display:grid; grid-template-columns:1.25fr 1fr; gap:clamp(28px,7vw,112px); align-items:start; }
.home-company-intro h2 { max-width:20ch; }
.home-company-intro p { margin-bottom:15px; max-width:52ch; color:var(--body); font-size:1.04rem; }
.location-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3.4vw,48px); margin-top:clamp(30px,4.8vw,60px); }
.location-strip a { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; padding-block:16px 14px; border-top:1px solid var(--line); }
.location-strip a:hover { color:var(--blue); border-color:var(--blue); }
.location-strip strong,.location-strip small { display:block; }
.location-strip strong { font-size:clamp(1.02rem,1.65vw,1.35rem); }
.location-strip small { margin-top:5px; color:var(--muted); line-height:1.4; }
.location-strip a > span:last-child { color:var(--blue); }

.inner-section { padding-block:clamp(54px,7vw,112px); min-height:480px; }
.page-intro { max-width:72ch; margin-bottom:clamp(25px,4vw,56px); }
.page-intro h1 { font-size:clamp(2.65rem,6.05vw,5.3rem); font-weight:650; line-height:.99; letter-spacing:-.052em; hyphens:auto; }
[data-view=produkte] .page-intro h1, .drainage-series-title, #product-detail .dialog-title h2 { font-weight:540; letter-spacing:-.045em; }
.page-intro p { margin-top:17px; max-width:59ch; color:var(--muted); font-size:clamp(1rem,1.3vw,1.12rem); }
.product-resources { display:flex; gap:14px clamp(15px,3.1vw,45px); flex-wrap:wrap; margin-top:24px; }
[data-view=anwendungen] .use-list { max-width:850px; }
[data-view=referenzen] .ref-filters button { color:var(--navy); border-color:var(--line); }
[data-view=referenzen] .ref-filters button[aria-pressed=true] { color:white; background:var(--blue); border-color:var(--blue); }
[data-view=referenzen] .ref-filters button:hover:not([aria-pressed=true]) { border-color:var(--blue); }
[data-view=referenzen] .ref-img { background:#e6ebf1; }
[data-view=referenzen] .ref-caption small { color:var(--muted); }
[data-view=referenzen] .ref-caption .arrow { color:var(--blue); }
#more-references { margin-top:32px; }
.company-feature { display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(30px,5.8vw,82px); align-items:center; }
.company-feature .page-intro { margin-bottom:0; }
.company-line { font-size:clamp(1.45rem,2.35vw,2.15rem); line-height:1.15; letter-spacing:-.03em; margin-top:23px; }
.company-photo { margin:0; }
.company-photo img { width:100%; height:auto; aspect-ratio:1.55; object-fit:cover; object-position:center 53%; background:var(--soft); }
.company-photo figcaption { margin-top:8px; color:var(--muted); font-size:.87rem; }
.locations-heading { font-size:clamp(1.8rem,3vw,2.85rem); margin:clamp(42px,7vw,96px) 0 20px; }
.location-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3.4vw,48px); }
.location { border-top:2px solid var(--blue); padding-top:17px; scroll-margin-top:124px; }
.location-role { color:var(--blue); font-size:.9rem; font-weight:650; }
.location h3 { font-size:clamp(1.4rem,2.6vw,2.3rem); margin:6px 0 10px; letter-spacing:-.033em; }
.location h3+p { color:var(--muted); max-width:38ch; }
.location .text-link { margin-top:15px; }
.contact-page { color:var(--navy); background:#fff; }
.contact-hero { position:relative; min-height:clamp(156px,17vw,250px); display:grid; align-items:center; isolation:isolate; color:white; background:var(--navy); }
.contact-hero img,.contact-hero::after { position:absolute; inset:0; width:100%; height:100%; }
.contact-hero img { object-fit:cover; object-position:center 48%; z-index:-2; }
.contact-hero::after { content:''; background:linear-gradient(90deg,#081027ef 0%,#081027b5 31%,transparent 80%); z-index:-1; }
.contact-hero h1 { font-size:clamp(3rem,6vw,5.4rem); letter-spacing:-.048em; margin:0; font-weight:650; }
.contact-directory { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,1fr); gap:clamp(25px,6vw,76px); align-items:start; padding-block:clamp(25px,4.2vw,58px) clamp(38px,6vw,80px); }
.contact-directory h2 { font-size:clamp(1.5rem,2.65vw,2.55rem); margin-bottom:18px; }
.contact-markets { padding-block-start:8px; }
.contact-sites { background:var(--soft); border-top:3px solid var(--blue); padding:clamp(16px,3vw,30px); }
.directory-list { list-style:none; padding:0; margin:0; --directory-line:var(--line); --directory-muted:var(--muted); --directory-link:var(--blue); }
.footer .directory-list { --directory-line:#43506a; --directory-muted:#c3cede; --directory-link:#dce8ff; }
.directory-list > li { border-top:1px solid var(--directory-line); }
.directory-list > li:last-child { border-bottom:1px solid var(--directory-line); }
.directory-contact { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto; align-items:center; gap:10px; padding-block:13px; }
.directory-country { display:grid; gap:4px; overflow-wrap:anywhere; }
.directory-country small { color:var(--directory-muted); font-size:.8rem; }
.directory-email { color:var(--directory-link); overflow-wrap:anywhere; }
.directory-arrow { position:relative; width:14px; height:14px; color:var(--directory-link); }
.directory-arrow::before,.directory-arrow::after { content:''; position:absolute; }
.directory-arrow::before { inset:1px 1px auto auto; width:8px; height:8px; border-top:1.5px solid; border-right:1.5px solid; }
.directory-arrow::after { top:6px; right:0; width:13px; height:1.5px; background:currentColor; transform:rotate(-45deg); }
[dir=rtl] .directory-arrow { transform:scaleX(-1); }
.directory-contact:hover .directory-email,.directory-site-name a:hover,.contact-general a:hover { text-decoration:underline; text-underline-offset:4px; }
.directory-site { padding-block:12px; }
.directory-site-name { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 9px; }
.directory-site-name a { font-weight:700; }
.directory-site-name span,.directory-site address,.directory-note { color:var(--directory-muted,var(--muted)); }
.directory-site address,.company-location-address { margin-top:5px; line-height:1.4; font-style:normal; }
.directory-note { display:block; margin-top:3px; font-size:.84rem; }
.contact-general { display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:space-between; align-items:baseline; margin-top:20px; padding:14px 16px; background:var(--soft); }
.contact-general h3 { font-size:.92rem; font-weight:650; }
.contact-general div { display:flex; flex-wrap:wrap; gap:7px 18px; }
.contact-general a { color:var(--blue); font-weight:550; overflow-wrap:anywhere; }

dialog { color:var(--navy); border:1px solid var(--line); padding:clamp(16px,3.5vw,35px); width:min(94vw,690px); max-height:86dvh; overflow:auto; box-shadow:0 18px 70px #08102740; }
dialog::backdrop { background:#0810278c; }
.dialog-title { display:flex; align-items:start; justify-content:space-between; gap:17px; margin-bottom:20px; }
.dialog-title h2 { font-size:clamp(1.8rem,3.5vw,2.65rem); }
.close { display:grid; place-items:center; line-height:1; font-size:1.5rem; width:37px; height:37px; border:1px solid var(--line); background:#fff; flex:none; }
.close:hover { background:var(--soft); }
.dialog-results { list-style:none; margin:16px 0 0; padding:0; }
.dialog-results li { border-bottom:1px solid var(--line); }
.dialog-results p { padding-block:9px; color:var(--muted); }
.dialog-results button { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:10px 0; text-align:left; width:100%; }
.dialog-results button:hover strong { text-decoration:underline; text-underline-offset:4px; }
.dialog-results small { grid-column:1; color:var(--muted); }
#market {
  --market-top:calc(var(--header-height) + 1px);
  --market-row:clamp(24px, 3.1dvh, 29px);
  --market-label-size:.84375rem;
  position:fixed;
  inset:var(--market-top) 0 auto;
  width:100%;
  max-width:none;
  height:calc(100dvh - var(--market-top));
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  background:#fff;
  box-shadow:none;
  overflow:auto;
  overscroll-behavior:contain;
}
#market::backdrop { background:transparent; }
.market-wrap {
  width:min(var(--shell), clamp(54rem, 80%, 68rem));
  margin-inline:auto;
  padding-block:clamp(22px, 3dvh, 32px) 20px;
}
.market-panel-head { display:flex; align-items:center; gap:clamp(18px, 2.8vw, 44px); }
.market-brand { display:none; }
#market-title { font-size:clamp(1.625rem, 2.15vw, 2.125rem); font-weight:490; letter-spacing:-.04em; line-height:1.16; }
#market-title:focus { outline:0; }
.market-search {
  display:flex; align-items:center; gap:10px;
  width:clamp(14rem, 22vw, 19rem); min-height:40px;
  margin-inline-start:auto; border-bottom:1px solid #aeb8c1;
}
.market-search:focus-within { border-color:var(--blue); box-shadow:0 1px var(--blue); }
.market-search svg { width:20px; height:20px; flex:none; }
#market-query {
  width:100%; min-width:0; padding:7px 0; border:0;
  outline:0; color:inherit; background:transparent; font-size:.875rem; line-height:1.4;
}
#market-query::placeholder { color:var(--muted); opacity:1; }
#market .close { width:44px; height:44px; border:0; background:transparent; }
#market .close svg { width:23px; height:23px; }
#market :is(.market-action,.market-language,.market-country,.market-language-link,.market-region-toggle) {
  border:0; background:transparent; padding:0; text-align:start; color:inherit;
}
#market button:is(:hover,:focus-visible) .market-link-label,
#market :is(.market-action:hover,.market-action:focus-visible),
.market-language[aria-pressed=true] .market-link-label,
.market-country[aria-expanded=true] .market-link-label { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.market-toolbar {
  display:flex; align-items:center; gap:18px;
  margin-block:clamp(11px, 1.8dvh, 18px) clamp(13px, 1.8dvh, 18px); min-height:32px;
}
#market-featured,.market-feature,.market-feature-languages { display:flex; align-items:center; }
#market-featured { flex-wrap:wrap; gap:clamp(18px, 2.3vw, 41px); }
.market-feature { flex-wrap:wrap; gap:8px; font-size:var(--market-label-size); }
.market-feature-name { font-weight:590; letter-spacing:-.02em; }
.market-feature-languages { gap:12px; }
#market-all-countries { margin-inline-start:auto; }
.market-action,.market-language { min-height:32px; font-size:var(--market-label-size); line-height:1.4; }
.market-language { display:inline-flex; align-items:center; gap:5px; }
.market-language[aria-pressed=true]::before,.market-country[aria-current=true] .market-country-label::before {
  content:''; display:inline-block; flex:none; width:11px; height:6px;
  border-bottom:1.6px solid; border-left:1.6px solid; transform:translateY(-2px) rotate(-45deg);
}
.market-frequency { flex:none; font-size:.75rem; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.market-directory { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 clamp(18px,2.2vw,32px); align-items:start; }
.market-column,.market-region { min-width:0; }
.market-column > section + section { margin-block-start:clamp(14px, 2.2dvh, 22px); }
.market-heading { margin:0 0 5px; padding:0 0 7px; border-bottom:1px solid var(--line); font-size:clamp(1rem,1.18vw,1.125rem); font-weight:560; letter-spacing:-.022em; line-height:1.2; }
.market-region-list { list-style:none; margin:0; padding:0; }
.market-country { display:flex; align-items:center; justify-content:space-between; gap:5px; width:100%; min-height:var(--market-row); line-height:1.28; }
.market-country-label { display:inline-flex; align-items:baseline; flex-wrap:wrap; gap:0 6px; min-width:0; font-size:var(--market-label-size); font-weight:440; overflow-wrap:anywhere; }
.market-endonym { color:var(--muted); font-size:max(.8125rem,.9375em); font-weight:400; }
.market-endonym[lang=ar] { font-size:1em; }
.market-inline-languages { display:flex; flex-wrap:wrap; gap:4px 15px; margin-block:0 5px; padding-inline-start:9px; border-inline-start:1px solid var(--line); }
.market-language-links { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 10px; }
.market-language-link { display:inline-flex; align-items:center; min-height:24px; font-size:var(--market-label-size); line-height:1.25; }
.market-filter-label,#market-empty { color:var(--muted); }
#market-empty { margin-block:20px; }
#market[dir=rtl] :is(#market-title,.market-heading,.market-feature-name) { letter-spacing:normal; }

@media (min-width:1000px) and (max-height:710px) {
  #market { --market-top:0px; --market-row:clamp(24px, calc((100dvh - 135px) / 17), 27px); }
  .market-wrap { padding-block:14px 8px; }
  .market-panel-head { column-gap:clamp(1rem, 2vw, 1.75rem); }
  .market-brand { display:block; flex:none; width:5.25rem; }
  #market-title { font-size:1.5rem; }
  .market-search,#market .close { min-height:34px; height:34px; }
  .market-toolbar { margin-block:3px 9px; min-height:30px; }
  .market-heading { padding-bottom:5px; margin-bottom:3px; }
  .market-column > .market-language-shelf { margin-block-start:13px; }
}
@media (max-width:999px) {
  .market-language-shelf { display:none; }
  .market-directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .market-toolbar { flex-wrap:wrap; gap:7px 20px; }
}
@media (max-width:700px) {
  #market { --market-row:44px; --market-label-size:.875rem; }
  .market-wrap { padding-block:18px; }
  .market-panel-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
  #market-title { font-size:1.625rem; }
  #market .close { grid-column:2; grid-row:1; }
  .market-search { grid-column:1/-1; width:100%; min-height:44px; }
  #market-query { font-size:1rem; }
  .market-toolbar { flex-direction:column; align-items:stretch; margin-block:5px 16px; gap:9px; }
  #market-all-countries { order:-1; align-self:flex-start; margin:0; }
  #market-featured { display:grid; gap:2px; }
  .market-feature { gap:7px; }
  .market-feature-languages { gap:9px; flex-wrap:wrap; }
  .market-action,.market-language { min-height:44px; }
  .market-country-label { font-size:.9375rem; }
  .market-directory { grid-template-columns:minmax(0,1fr); gap:0; }
  .market-column > section + section { margin:0; }
  .market-heading { margin:0; padding:0; font-size:1.0625rem; }
  .market-region-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:51px; font:inherit; }
  .market-region-toggle[aria-expanded=true] .chevron { transform:rotate(225deg); }
  .market-directory.filtered .market-heading { padding-block:12px; }
  .market-region-list { padding:4px 2px 9px; }
}
.family-content { display:grid; grid-template-columns:minmax(95px,1fr) minmax(0,2fr); gap:22px; }
.family-content img { width:100%; height:auto; max-height:229px; object-fit:contain; }
.family-content p,.family-content ul { line-height:1.55; margin-bottom:14px; }
.family-content .text-link, #project-content .text-link { display:table; margin-block:9px; }
.family-series-list { grid-column:1 / -1; border-top:1px solid var(--line); padding-top:18px; }
.family-series-card { display:grid; grid-template-columns:minmax(100px,160px) minmax(0,1fr) auto; gap:18px; align-items:center; min-height:100px; }
.family-series-card img { display:block; max-height:140px; background:#fff; }
.family-series-card strong,.family-series-card > span > span { display:block; }
.family-series-card strong { margin-bottom:6px; color:var(--navy); }
.family-series-card > span > span { font-size:.875rem; line-height:1.45; }
.family-series-card:hover strong { text-decoration:underline; }
.breadcrumb-family { padding:0; border:0; background:none; font:inherit; color:inherit; text-align:start; }
.breadcrumb-family:hover { text-decoration:underline; }
#project-content img { width:100%; max-height:53dvh; object-fit:contain; background:var(--soft); }
#project-content p { margin-top:14px; color:var(--muted); }

@media (max-width:1088px) { :root { --shell:min(100% - 52px,1384px); } }
@media (1024px <= width <= 1320px) {
  .header-line { column-gap:16px; }
  .nav { gap:clamp(10px,1.25vw,18px); }
  .header-actions { gap:11px; }
}
@media (1024px <= width <= 1120px) {
  .header-line { width:calc(100% - 40px); column-gap:12px; }
  .search-button > span { display:none; }
}
@media (width < 1024px) {
  :root { --header-height:64px; }
  .header-line { grid-template-columns:1fr auto; gap:10px; }
  .brand { width:104px; }
  .header-actions { gap:20px; }
  .nav { display:none; }
  .nav-link { font-size:.94rem; }
  .menu-toggle { display:inline-flex; }
  .menu-lines { width:18px; height:12px; border-top:1.6px solid; border-bottom:1.6px solid; position:relative; }
  .menu-lines::after { content:''; position:absolute; left:0; right:0; top:4px; border-top:1.6px solid; }
  .mobile-menu { display:grid; padding:8px max(26px,calc((100% - 1384px) / 2)) 18px; }
  .mobile-menu > a,.mobile-products > summary,.mobile-service > :is(a,button) { text-align:start; min-height:44px; padding:12px 0; width:100%; border-bottom:1px solid var(--line); }
  .mobile-products > summary { display:flex; justify-content:space-between; align-items:center; list-style:none; cursor:pointer; }
  .mobile-products > summary::-webkit-details-marker { display:none; }
  .mobile-products[open] > summary .chevron { transform:rotate(225deg); }
  .mobile-products .menu-families { grid-template-columns:1fr; gap:0; padding-inline-start:14px; }
  .mobile-products .menu-family { border-block-start:0; border-block-end:1px solid var(--line); padding-block:13px; gap:3px; }
  .mobile-products .menu-family-name { font-size:1.075rem; }
  .mobile-products .product-menu-links { margin:0; padding:0 0 4px; padding-inline-start:14px; }
  .mobile-service { display:grid; gap:0; margin-top:9px; color:var(--blue); }
  .mobile-service button { display:flex; align-items:center; justify-content:space-between; }
  .mobile-service .market-trigger { justify-content:flex-start; }
  .mobile-service .market-trigger > .chevron { margin-inline-start:auto; }
  .mobile-service [aria-current] { font-weight:700; }
}
@media (max-width:700px) {
  :root { --shell:calc(100% - 38px); }
  .desktop-market { width:44px; height:44px; padding:0; justify-content:center; border:0; flex:none; }
  .desktop-market :is(.market-trigger-copy,.chevron) { display:none; }
  .hero { height:clamp(410px,61vh,535px); }
  .hero img { object-position:61% 48%; }
  .hero::after { background:linear-gradient(180deg,transparent 42%,#08102719 54%,#0810278c 84%,#0810279e); }
  .hero-inner { padding-bottom:27px; }
  .hero h1 { font-size:clamp(2.45rem,8vw,3.3rem); line-height:1; margin-bottom:18px; }
  .hero-button { min-height:44px; min-width:0; padding:10px 0; }
  .tool-grid { grid-template-columns:1fr; }
  .tool-link { min-height:68px; padding:10px 1px; grid-template-columns:30px minmax(0,1fr) auto; gap:13px; }
  .tool-link:first-child { border-right:0; border-bottom:1px solid var(--line); }
  .tool-link svg { width:28px; height:28px; }
  .tool-link strong { font-size:1.03rem; }
  .tool-link small { margin-top:5px; font-size:.82rem; }
  .heading { align-items:start; flex-wrap:wrap; margin-bottom:22px; gap:8px 15px; }
  .heading p { font-size:.93rem; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-grid .product-card { grid-template-rows:clamp(121px,29vw,190px) 1fr; }
  .product-grid .product-card:nth-child(even) { border-right:0; }
  .product-grid .product-card:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .product-photo { padding:12px 11px 0; }
  .product-name { padding:13px; }
  .use-layout,.about-layout,.film,.contact-layout { grid-template-columns:1fr; gap:24px; }
  .use-intro p,.film-copy p { margin-top:12px; }
  .film-copy { grid-row:1; }
  .reference-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px 12px; }
  .ref-filters { margin-bottom:19px; gap:5px; }
  .ref-filters button { font-size:.82rem; padding:6px 8px; min-height:36px; }
  .ref-caption { gap:4px 6px; padding-top:8px; }
  .ref-caption small { font-size:.77rem; }
  .ref-caption strong { font-size:1rem; }
  .stock-heading p, .contact-links { text-align:left; }
  .stock-controls { grid-template-columns:1fr 1fr; }
  .field-check { grid-column:1 / -1; min-height:24px; }
  .table-wrap th,.table-wrap td { padding:9px 8px; font-size:.83rem; }
  .table-wrap td:nth-child(3) { line-height:1.23; min-width:81px; }
  .footer-brand { width:118px; }
  .footer-contact-brand > div { display:grid; gap:7px; }
  .footer-contact-brand strong { font-size:.89rem; }
  .footer-directory,.contact-directory { grid-template-columns:1fr; }
  .footer-bottom { padding-block:12px; }
  .footer-service-links { width:100%; order:1; }
  .home-company-intro,.company-feature,.location-grid { grid-template-columns:1fr; }
  .location-strip { grid-template-columns:1fr; gap:0; }
  .location-strip a { padding-block:12px; }
  .company-feature { gap:23px; }
  .location-grid { gap:26px; }
  .inner-section { min-height:auto; }
}
@media (max-width:540px) {
  .header-line { width:calc(100% - clamp(16px,5vw,27px)); grid-template-columns:auto minmax(0,1fr); column-gap:4px; }
  .brand { width:clamp(76px,24vw,104px); }
  .header-actions { justify-content:flex-end; gap:4px; min-width:0; }
  .header-selection { min-width:0; padding-block:4px; font-size:clamp(.875rem,4vw,.94rem); line-height:1.2; white-space:normal; overflow-wrap:anywhere; }
  .header-actions :is(.search-button,.menu-toggle) { flex:none; width:44px; height:44px; padding:0; justify-content:center; }
  .search-button > span, .menu-toggle [data-i="menu"] { display:none; }
}
@media (max-width:570px) {
  .directory-contact { grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; }
  .directory-country { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 9px; grid-column:1; }
  .directory-email { grid-column:1; width:fit-content; }
  .directory-contact .directory-arrow { grid-column:2; grid-row:1 / span 2; justify-self:end; }
}
[dir=rtl] .contact-hero::after { background:linear-gradient(270deg,#081027ef 0%,#081027b5 31%,transparent 80%); }
[dir=rtl] .directional { transform:scaleX(-1); }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }
.footer-brand img { filter:none; mix-blend-mode:normal; }
.directory-arrow { display:inline-block; flex:none; vertical-align:middle; }
.text-link .directory-arrow { margin-inline-start:.45em; color:currentColor; }
.newsletter-band { background:var(--soft); }
.newsletter-band .shell { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding-block:28px; }
.newsletter-band h2 { font-size:clamp(1.35rem,2.2vw,2rem); }
.stock-mobile-family { display:none; }
@media(max-width:700px) {
  #stock-title { font-size:clamp(1.3rem,6.5vw,2.25rem); overflow-wrap:anywhere; hyphens:none; }
  .stock-controls { grid-template-columns:minmax(0,1fr); }
  .table-wrap table { table-layout:fixed; }
  .table-wrap :is(td,th):nth-child(2) { display:none; }
  .table-wrap :is(td,th):first-child { width:31%; overflow-wrap:anywhere; }
  .table-wrap :is(td,th):nth-child(3) { overflow-wrap:anywhere; }
  .table-wrap :is(td,th):last-child { width:22%; overflow-wrap:anywhere; background:var(--soft); font-weight:700; }
  .stock-mobile-family { display:block; font-weight:400; color:var(--muted); margin-top:3px; }
}

/* Homepage films share the existing panorama crop and text overlay. */
.hero-films, .hero-film { position:absolute; inset:0; width:100%; height:100%; }
.hero-film { object-fit:cover; object-position:center 47%; opacity:0; transition:opacity .8s ease; }
.hero-film.is-active { opacity:1; }
.hero-film-mountains { object-position:center center; }
.hero-playback { position:absolute; z-index:2; inset-inline-end:max(24px,calc((100vw - 1384px)/2)); bottom:24px; display:flex; align-items:center; gap:4px; }
.hero-playback[hidden] { display:none; }
.hero-playback button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #ffffff80; border-radius:50%; background:#08102780; color:white; cursor:pointer; }
.hero-playback button:hover { background:#173B83; }
.hero-playback button:focus-visible { outline:2px solid white; outline-offset:3px; }
.hero-choice span { width:8px; height:8px; border-radius:50%; border:1px solid white; }
.hero-choice[aria-pressed=true] span { background:white; }
.hero-toggle span { width:10px; height:13px; border-inline:3px solid white; }
.hero-toggle[aria-pressed=true] span { width:0; height:0; border:0; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:11px solid white; }
@media (max-width:700px) {
  .hero-film { object-position:61% 48%; }
  .hero-film-mountains { object-position:55% center; }
  .hero-playback { bottom:18px; inset-inline-end:18px; }
  .hero-inner { padding-bottom:78px; }
}
@media (prefers-reduced-motion:reduce) { .hero-film { transition:none; } }

/* Drainage category and series pages. */
.product-grid[hidden], .product-resources[hidden], .page-intro[hidden] { display:none; }
.product-breadcrumbs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:38px; color:var(--muted); font-size:.94rem; }
.product-breadcrumbs a:hover { color:var(--blue); text-decoration:underline; }
.drainage-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px 28px; }
.drainage-card { display:block; min-width:0; border-bottom:1px solid var(--line); padding-bottom:19px; }
.drainage-card-image { display:grid; grid-template:minmax(0,1fr) / minmax(0,1fr); place-items:end center; height:285px; padding:14px; background:var(--white,#fff); }
.drainage-card img { width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; object-position:center bottom; transform-origin:center bottom; mix-blend-mode:multiply; transition:transform .25s ease; }
.drainage-card:hover img { transform:scale(1.035); }
.drainage-card h2 { font-size:1.2rem; margin:18px 0 0; letter-spacing:-.02em; }
.drainage-card:hover h2 { color:var(--blue); }
.drainage-card:focus-visible,.drainage-thumbnails button:focus-visible,.drainage-step:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.drainage-image-pending { color:var(--muted); font-size:1rem; }
.drainage-series-title { font-size:clamp(2.8rem,6vw,5.4rem); line-height:1.05; letter-spacing:-.05em; margin:0 0 40px; }
.drainage-detail { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr); gap:clamp(32px,7vw,110px); align-items:start; }
.drainage-gallery { min-width:0; }
.drainage-stage { height:clamp(350px,44vw,620px); display:grid; place-items:center; padding:16px; touch-action:pan-y; }
.drainage-stage img { width:100%; height:100%; min-height:0; object-fit:contain; mix-blend-mode:multiply; user-select:none; -webkit-user-drag:none; }
.drainage-caption { color:var(--muted); margin:15px 0; text-align:center; font-size:.94rem; }
.drainage-gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:18px 0; font-size:.94rem; }
.drainage-step { padding:10px; border:1px solid var(--line); background:white; color:var(--blue); cursor:pointer; }
.drainage-step:hover { border-color:var(--blue); }
.drainage-thumbnails { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.drainage-thumbnails button { display:grid; place-items:center; width:80px; height:90px; padding:8px; background:white; border:1px solid var(--line); cursor:pointer; }
.drainage-thumbnails button[aria-pressed=true] { border:2px solid var(--blue); }
.drainage-thumbnails img { width:100%; height:100%; object-fit:contain; min-height:0; }
.drainage-info { padding-top:22px; }
.drainage-documents { border-block:1px solid var(--line); padding:28px 0; margin:32px 0; }
.drainage-documents h2 { font-size:1.3rem; margin:0 0 15px; }
.drainage-documents p { margin-bottom:0; color:var(--muted); }
.drainage-actions { display:flex; flex-wrap:wrap; gap:20px; align-items:center; }
@media(max-width:930px) { .drainage-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 20px; } .drainage-card-image { height:235px; } }
@media(max-width:700px) {
 .product-breadcrumbs { margin-bottom:26px; }
 .drainage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px; }
 .drainage-card-image { height:205px; padding:8px; }
 .drainage-card h2 { font-size:1.05rem; margin-top:12px; }
 .drainage-detail { grid-template-columns:1fr; gap:24px; }
 .drainage-stage { height:430px; padding:8px; }
 .drainage-series-title { margin-bottom:24px; }
 .drainage-info { padding-top:0; }
}
@media(prefers-reduced-motion:reduce) { .drainage-card img { transition:none; } .drainage-card:hover img { transform:none; } }
#drainage-content h1 { overflow-wrap:anywhere; hyphens:auto; }

/* Produktmenü mit freistehenden Pumpen und Teaser Anwendungen. */
.product-flyout { padding:0; }
.product-menu-layout { display:block; padding-block:clamp(22px,2.4vw,34px) clamp(14px,1.6vw,22px); }
.product-menu-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-block-end:clamp(14px,1.4vw,20px); border-block-end:1px solid var(--line); }
.product-menu-head h2 { font-size:clamp(1.5rem,2vw,1.9rem); font-weight:560; letter-spacing:-.035em; line-height:1.15; }
.product-menu-close { display:grid; place-items:center; width:44px; height:44px; margin-inline-end:-10px; background:transparent; border:0; color:var(--navy); cursor:pointer; }
.product-menu-close svg { width:24px; height:24px; }
.product-menu-close:focus-visible, .menu-family:focus-visible, .product-menu-teaser:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.product-flyout .menu-families { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; }
.menu-family {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:clamp(14px,1.6vw,22px);
  padding:clamp(14px,1.3vw,18px) clamp(14px,1.6vw,24px) clamp(14px,1.3vw,18px) 0; border-block-start:0; border-block-end:1px solid var(--line);
  cursor:pointer; text-decoration:none;
}
.product-flyout .menu-family:nth-child(odd) { border-inline-end:1px solid var(--line); }
.product-flyout .menu-family:nth-child(even) { padding-inline-start:clamp(14px,1.6vw,24px); }
.menu-family-image { display:block; flex:none; width:clamp(112px,9.3vw,136px); height:clamp(128px,10.4vw,152px); padding:0; background:transparent; border:0; }
/* Match the visible pump height, compensating for padding in each source file. */
.menu-family-image, .product-photo { position:relative; overflow:hidden; }
.menu-family-image img, .product-photo img { display:block; position:absolute; top:50%; left:50%; width:auto; height:var(--product-source-height,94%); max-width:none; min-height:0; object-fit:contain; transform:translate(var(--product-anchor-x,-50%),var(--product-anchor-y,-50%)); mix-blend-mode:multiply; }
:is(.menu-family-image,.product-photo) img[src^="assets/ug.webp"] { --product-source-height:129.0196%; --product-anchor-x:-50.3571%; --product-anchor-y:-51.5306%; }
:is(.menu-family-image,.product-photo) img[src^="assets/vm.webp"] { --product-source-height:159.1825%; --product-anchor-x:-50.1887%; --product-anchor-y:-49.569%; }
:is(.menu-family-image,.product-photo) img[src^="assets/drain-l-33.7.webp"] { --product-source-height:97.681%; --product-anchor-x:-48.8359%; --product-anchor-y:-49.6996%; }
:is(.menu-family-image,.product-photo) img[src^="assets/sewage.webp"] { --product-source-height:100.963%; --product-anchor-x:-50.5682%; --product-anchor-y:-51.341%; }
:is(.menu-family-image,.product-photo) img[src^="assets/sewage-hi-blue-variant-3-v3.webp"] { --product-source-height:99.1648%; --product-anchor-x:-47.168%; --product-anchor-y:-49.6094%; }
.menu-family-text { display:grid; gap:5px; min-width:0; }
.menu-family-arrow { width:22px; height:12px; position:relative; color:var(--navy); }
.menu-family-arrow::before { content:''; position:absolute; inset-inline:0 2px; top:50%; border-top:1.5px solid currentColor; }
.menu-family-arrow::after { content:''; position:absolute; inset-inline-end:1px; top:50%; width:8px; height:8px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:translateY(-50%) rotate(45deg); }
[dir=rtl] .menu-family-arrow { transform:scaleX(-1); }
.menu-family:is(:hover,:focus-visible) .menu-family-arrow { color:var(--blue); }
.product-flyout .product-menu-links { margin-block-start:10px; }
.product-flyout .product-menu-links a { font-size:1.05rem; color:var(--blue); }
.product-menu-teaser { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1fr); height:clamp(170px,16vw,240px); border-block-start:1px solid var(--line); color:var(--navy); text-decoration:none; }
.product-menu-teaser-copy { display:flex; align-items:center; padding-block:24px; padding-inline:clamp(26px,3.6vw,52px) 32px; }
.product-menu-teaser-copy span { font-size:clamp(1.6rem,2.5vw,2.5rem); font-weight:620; letter-spacing:-.04em; line-height:1.1; max-width:13ch; }
.product-menu-teaser:hover .product-menu-teaser-copy span { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.15em; text-decoration-color:var(--blue); }
.product-menu-teaser-image { overflow:hidden; min-height:0; height:100%; }
.product-menu-teaser-image img { width:100%; height:100%; object-fit:cover; object-position:center 55%; }
.mobile-products .menu-family-arrow { width:18px; }
@media (min-width:1024px) and (max-height:820px) {
  .menu-family-image { width:108px; height:128px; }
  .product-menu-teaser { height:150px; }
}
@media (width < 1024px) {
  .mobile-products .menu-families { padding-inline-start:0; }
  .mobile-products .menu-family { grid-template-columns:88px minmax(0,1fr) auto; gap:16px; padding:10px 2px 10px 0; }
  .mobile-products .menu-family-image { width:88px; height:104px; padding:0; }
  .mobile-products .menu-series { display:none; }
  .mobile-products .menu-family-name { min-width:0; font-size:1.06rem; font-weight:520; overflow-wrap:anywhere; hyphens:auto; }
  .mobile-products .product-menu-links { padding-inline-start:0; }
  .mobile-products .product-menu-links a { color:var(--blue); }
}

/* Mobile Länder- und Sprachwahl: Sprache zuerst */
#market .market-language-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; margin-block-start:14px; }
#market .market-language-choice { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:56px; padding:8px 4px; background:transparent; border:0; border-block-end:1px solid var(--line); font-size:1.15rem; font-weight:500; color:var(--navy); text-align:start; cursor:pointer; }
#market .market-language-choice[aria-pressed=true] { border-block-end:2px solid var(--blue); }
#market .market-language-choice[aria-pressed=true]::after { content:''; flex:none; width:12px; height:7px; margin-inline-end:6px; border-left:2px solid var(--blue); border-bottom:2px solid var(--blue); transform:rotate(-45deg) translateY(-2px); }
#market .market-language-choice:focus-visible, #market .market-back:focus-visible, #market.market-country-stage .market-country:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
#market.market-language-stage .market-search, #market.market-language-stage .market-toolbar, #market.market-country-stage .market-toolbar { display:none; }
#market .market-back { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 4px; margin-block:6px 4px; background:transparent; border:0; color:var(--blue); font-size:1rem; cursor:pointer; }
#market .market-back::before { content:''; width:8px; height:8px; border-left:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg); }
[dir=rtl]#market .market-back::before, #market[dir=rtl] .market-back::before { transform:rotate(-135deg); }
#market .market-flat-list { list-style:none; margin:0; padding:0; }
#market.market-country-stage .market-country { min-height:62px; padding:10px 2px; border-block-end:1px solid var(--line); gap:14px; }
#market.market-country-stage .market-country-label { display:grid; gap:2px; text-align:start; min-width:0; }
#market.market-country-stage .market-link-label { font-size:1.08rem; font-weight:560; color:var(--navy); }
#market .market-english-name { color:var(--muted); font-size:.86rem; }
#market.market-country-stage .market-frequency { font-size:.9rem; }

.drainage-intro-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px 40px; }
.drainage-catalog { display:grid; gap:4px; flex:none; padding-block-start:clamp(6px,1vw,16px); }
.drainage-catalog-link { display:inline-flex; align-items:center; gap:10px; min-height:40px; color:var(--blue); font-size:1.05rem; text-decoration:underline; text-decoration-thickness:1px; text-decoration-color:#a9b8d3; text-underline-offset:.28em; }
.drainage-catalog-link.is-pending { color:var(--muted); text-decoration:none; }
.drainage-catalog-link .download-icon { width:20px; height:20px; flex:none; }
.drainage-catalog-meta { color:var(--muted); font-size:.9rem; padding-inline-start:30px; }


/* Approved V4, pages 1–2: one pump image and two document cards. */
.inner-section:has(.series-product) { padding-block:26px 32px; }
.is-series .product-breadcrumbs { margin-bottom:22px; font-size:.875rem; }
.series-product { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); grid-template-areas:"gallery summary" "gallery copy" "gallery documents" "gallery notes"; column-gap:clamp(32px,4vw,58px); row-gap:20px; align-items:start; }
.series-summary { grid-area:summary; min-width:0; }
.series-summary h1 { margin:0; font-size:clamp(2.35rem,3.4vw,3rem); font-weight:600; line-height:1.08; letter-spacing:-.045em; }
.series-tagline { margin-top:10px; color:var(--muted); font-size:1.0625rem; line-height:1.35; }
.series-copy { grid-area:copy; margin:0; font-size:1rem; line-height:1.55; max-width:65ch; }
.series-gallery { grid-area:gallery; align-self:start; min-width:0; }
.series-stage { display:grid; place-items:center; height:clamp(350px,calc(100dvh - 205px),535px); touch-action:pan-y; }
.series-stage img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; user-select:none; -webkit-user-drag:none; }
.series-image-caption { margin-top:9px; color:var(--muted); font-size:.75rem; text-align:center; line-height:1.4; }
.series-gallery-controls { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:8px; color:var(--muted); font-size:.8rem; }
.series-image-step { width:44px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:3px; background:#fff; color:var(--blue); font-size:1.15rem; }
.series-documents { grid-area:documents; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; min-width:0; }
.series-documents .doc-card { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto; gap:12px; min-width:0; padding:18px; border:1px solid var(--line); border-radius:4px; background:#fff; }
.doc-card-head { min-width:0; }
.series-documents .doc-card-head h3 { margin:0 0 7px; color:var(--navy); font-size:clamp(1rem,1.5vw,1.25rem); font-weight:650; line-height:1.2; overflow-wrap:anywhere; }
.series-documents .doc-card-head p { margin:0; color:var(--muted); font-size:.8125rem; line-height:1.45; }
.series-documents .doc-card-preview { display:grid; place-items:center; height:174px; margin:0; min-width:0; }
.series-documents :is(.doc-sketch,.doc-exploded,.doc-thumb) { display:block; width:auto; height:100%; max-width:100%; min-height:0; aspect-ratio:160/210; object-fit:contain; }
.doc-card-foot { display:grid; gap:6px; justify-items:stretch; }
.doc-download { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; padding:10px 8px; border-radius:4px; background:var(--blue); color:#fff; font-size:.8125rem; font-weight:600; line-height:1.35; text-align:center; text-decoration:none; }
.doc-download:not(.is-disabled):hover { background:var(--blue-hover); }
.doc-download .download-icon { width:18px; height:18px; flex:none; }
.doc-download.is-disabled { background:var(--blue); color:#fff; opacity:.65; cursor:default; }
.doc-download-short { display:none; }
.doc-meta { display:block; min-height:1.4em; color:var(--muted); font-size:.6875rem; line-height:1.4; text-align:center; }
.doc-status { color:var(--muted); }
.series-document-notes { grid-area:notes; margin-top:-10px; color:var(--muted); font-size:.76rem; line-height:1.45; }
.series-document-notes p { line-height:inherit; margin:0 0 4px; }
.series-symbolic-note { font-size:.6875rem; }
.doc-download:focus-visible,.series-image-step:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
@media (min-width:1000px) and (max-height:780px) {
  .inner-section:has(.series-product) { padding-block:22px 26px; }
  .is-series .product-breadcrumbs { margin-bottom:18px; }
  .series-product { row-gap:17px; }
  .series-summary h1 { font-size:2.5rem; }
  .series-tagline { margin-top:9px; }
  .series-copy { font-size:.96rem; line-height:1.5; }
  .series-documents .doc-card-preview { height:152px; }
  .series-documents .doc-card { padding:16px; gap:11px; }
}
@media (min-width:1000px) and (max-height:680px) {
  .inner-section:has(.series-product) { padding-block:14px 22px; }
  .is-series .product-breadcrumbs { margin-bottom:12px; font-size:.82rem; }
  .series-product { row-gap:12px; }
  .series-summary h1 { font-size:2.15rem; }
  .series-tagline { font-size:.94rem; margin-top:7px; }
  .series-copy { font-size:.875rem; line-height:1.5; }
  .series-stage { height:clamp(300px,calc(100dvh - 190px),440px); }
  .series-documents .doc-card { padding:14px; gap:8px; }
  .series-documents .doc-card-head h3 { font-size:1rem; margin-bottom:6px; }
  .series-documents .doc-card-head p { font-size:.75rem; }
  .series-documents .doc-card-preview { height:104px; }
  .doc-download { font-size:.78rem; }
}
@media (max-width:999px) {
  .inner-section:has(.series-product) { padding-block:22px 30px; }
  .series-product { grid-template-columns:minmax(0,1fr); grid-template-areas:"summary" "gallery" "copy" "documents" "notes"; row-gap:18px; }
  .series-summary h1 { font-size:2.4rem; }
  .series-copy { max-width:65ch; }
  .series-stage { height:300px; }
  .series-gallery { width:100%; }
  .series-documents .doc-card-head h3 { font-size:1.15rem; }
}
@media (max-width:700px) {
  .inner-section:has(.series-product) { padding-block:20px 24px; }
  .is-series .product-breadcrumbs { gap:7px; font-size:.72rem; margin-bottom:18px; }
  .series-product { row-gap:14px; }
  .series-summary h1 { font-size:1.95rem; }
  .series-tagline { font-size:.94rem; margin-top:8px; }
  .series-copy { font-size:.875rem; line-height:1.5; }
  .series-stage { height:clamp(160px,24dvh,210px); }
  .series-gallery-controls { margin-top:6px; }
  .series-documents { grid-template-columns:minmax(0,1fr); gap:12px; }
  .series-documents .doc-card { grid-template-columns:56px minmax(0,1fr); grid-template-rows:auto auto; gap:8px 16px; padding:12px; }
  .series-documents .doc-card-head { grid-column:2; grid-row:1; align-self:center; }
  .series-documents .doc-card-head h3 { font-size:1rem; margin-bottom:7px; }
  .series-documents .doc-card-head p { font-size:.72rem; line-height:1.4; }
  .series-documents .doc-card-preview { grid-column:1; grid-row:1; height:64px; }
  .series-documents .doc-card-foot { grid-column:1 / -1; grid-row:2; }
  .doc-download { min-height:44px; font-size:.875rem; padding-block:10px; }
  .doc-download-long { display:none; }
  .doc-download-short { display:inline; }
  .doc-meta { font-size:.6875rem; }
  .series-document-notes { margin-top:-2px; }
}

/* VM/VMC/VMN: approved V5, native-resolution side views and short material notes. */
:is(.menu-family-image,.product-photo) img[src^="assets/vm/vm-side-castiron-v5.webp"] {
  --product-source-height:95.21%; --product-anchor-x:-52.1484%; --product-anchor-y:-50.4639%;
}
.inner-section:has(.vm-family:not([hidden])) { padding-block:34px 40px; }
.vm-family .product-breadcrumbs { margin-bottom:26px; font-size:.875rem; }
.vm-intro { display:flex; justify-content:space-between; align-items:flex-start; gap:24px 38px; margin-bottom:30px; }
.vm-intro > div:first-child { min-width:0; }
.vm-intro h1 { margin:0; font-size:clamp(2.1rem,4.1vw,3.6rem); line-height:1.08; font-weight:600; letter-spacing:-.04em; hyphens:none; overflow-wrap:normal; }
.vm-intro p { max-width:65ch; margin:15px 0 0; color:var(--muted); font-size:1rem; line-height:1.55; }
.vm-intro .drainage-catalog { padding-top:5px; }
.vm-intro .drainage-catalog-link { font-size:.94rem; }
.vm-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.vm-card { min-width:0; display:flex; flex-direction:column; padding:20px 24px 24px; border:1px solid var(--line); border-radius:6px; background:#fff; text-decoration:none; transition:border-color .16s ease; }
.vm-card-image { display:grid; place-items:center; height:clamp(285px,35dvh,390px); }
.vm-card-image img { width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.vm-card-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-block:18px 13px; }
.vm-card-heading h2 { margin:0; font-size:clamp(1.7rem,2.3vw,2.15rem); font-weight:650; letter-spacing:-.035em; line-height:1.1; }
.vm-card-arrow { color:var(--blue); font-size:2rem; line-height:1; }
.vm-points { margin:0; padding-inline-start:1.12em; color:var(--muted); font-size:.94rem; line-height:1.45; display:grid; gap:5px; }
.vm-points li::marker { color:var(--blue); }
.vm-points li:first-child { color:var(--navy); font-weight:650; }
.vm-card:hover { border-color:var(--blue); }
.vm-card:hover h2 { color:var(--blue); }
.vm-card:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.vm-family-note { margin:20px 0 0; color:var(--muted); font-size:.8rem; line-height:1.5; }
.vm-series-copy p { margin:0 0 10px; }
.vm-series-copy .vm-points { font-size:.875rem; }
.vm-documents { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.vm-documents .doc-card { padding:15px; gap:12px; }
.vm-documents .doc-card-head h3 { font-size:1.03rem; line-height:1.25; }
.vm-documents .doc-card-preview { height:130px; }
.vm-documents .doc-download { min-height:48px; font-size:.76rem; }
.vm-document-symbol { position:relative; height:100%; width:auto; max-width:100%; aspect-ratio:747 / 1030; overflow:hidden; background:#fff; }
.vm-document-symbol img { position:absolute; left:-36.6794%; top:-9.7087%; width:173.3601%; max-width:none; height:auto; }
@media (min-width:1000px) {
  .vm-series-product { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); column-gap:clamp(26px,3.2vw,48px); row-gap:17px; }
}
@media (min-width:1000px) and (max-height:780px) {
  .vm-documents .doc-card-preview { height:105px; }
  .vm-documents .doc-card { padding:13px; gap:9px; }
}
@media (max-width:1100px) {
  .vm-intro { flex-direction:column; gap:12px; }
  .vm-intro .drainage-catalog { padding:0; }
  .vm-card { padding:17px 18px 20px; }
  .vm-points { font-size:.875rem; }
}
@media (max-width:700px) {
  .inner-section:has(.vm-family:not([hidden])) { padding-block:22px 30px; }
  .vm-family .product-breadcrumbs { margin-bottom:22px; gap:7px; font-size:.78rem; }
  .vm-intro { margin-bottom:24px; }
  .vm-intro h1 { font-size:clamp(1.85rem,7.5vw,2.4rem); }
  .vm-intro p { margin-top:13px; font-size:.94rem; }
  .vm-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .vm-card { padding:19px 22px 22px; }
  .vm-card-image { height:230px; }
  .vm-card-heading { margin-block:16px 13px; }
  .vm-card-heading h2 { font-size:1.75rem; }
  .vm-points { font-size:.94rem; }
  .vm-family-note { font-size:.75rem; }
  .vm-documents { grid-template-columns:minmax(0,1fr); }
  .vm-documents .doc-card { padding:12px; gap:8px 16px; }
  .vm-documents .doc-card-preview { height:68px; }
  .vm-documents .doc-download { min-height:44px; font-size:.875rem; }
  .vm-documents .doc-download-long { display:inline; }
  .vm-documents .doc-download-short { display:none; }
}

/* Approved horizontal family: one HMC at the entry, five separate series. */
.product-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.product-grid .product-name strong { grid-column:1 / -1; font-size:clamp(.875rem,1.12vw,1.05rem); hyphens:none; overflow-wrap:normal; }
.product-grid .product-name small { grid-column:1; grid-row:2; }
.product-grid .product-name .arrow { grid-column:2; grid-row:2; }
:is(.menu-family-image,.product-photo) img[src^="assets/hm/horizontal-hmc-v1.webp"] {
  width:92%; height:92%; max-width:100%; max-height:100%; object-fit:contain;
  transform:translate(-50%,-50%);
}
.inner-section:has(.hm-family:not([hidden])) { padding-block:30px 40px; }
.hm-family .product-breadcrumbs { margin-bottom:25px; }
.hm-intro { margin-bottom:30px; }
.hm-intro h1 { margin:0; font-size:clamp(2rem,4vw,3.5rem); line-height:1.1; font-weight:600; letter-spacing:-.04em; hyphens:none; overflow-wrap:normal; }
.hm-intro p { max-width:88ch; margin:16px 0 0; color:var(--muted); font-size:1rem; line-height:1.55; }
.hm-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.hm-card { min-width:0; display:flex; flex-direction:column; padding:16px 16px 20px; border:1px solid var(--line); border-radius:4px; background:#fff; color:var(--navy); text-decoration:none; }
.hm-card-image { display:grid; place-items:center; height:190px; }
.hm-card-image img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.hm-card-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; }
.hm-card-heading h2 { margin:0; font-size:clamp(1.6rem,2.3vw,2.1rem); line-height:1.1; font-weight:650; letter-spacing:-.03em; }
.hm-card-arrow { color:var(--blue); font-size:1.3rem; }
[dir=rtl] .hm-card-arrow { transform:scaleX(-1); }
.hm-card-kind { margin:10px 0 20px; color:var(--muted); font-size:.82rem; line-height:1.4; }
.hm-points { margin:0; padding-inline-start:1em; display:grid; gap:8px; color:var(--muted); font-size:.85rem; line-height:1.45; }
.hm-points li::marker { color:var(--blue); }
.hm-points li:first-child { color:var(--navy); }
.hm-card-tail { margin:22px 0 0; padding-top:4px; color:var(--muted); font-size:.75rem; line-height:1.4; }
.hm-card:hover { border-color:var(--blue); }
.hm-card:hover h2 { color:var(--blue); }
.hm-card:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.hm-family .series-copy > p { margin:0 0 14px; }
.hm-family .series-copy .hm-points { font-size:.875rem; }
@media (max-width:1150px) and (min-width:701px) {
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .product-grid .product-card:nth-child(3n) { border-right:0; }
  .product-grid .product-card:nth-child(-n+3) { border-bottom:1px solid var(--line); }
  .hm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-grid .product-name { padding:16px 12px; }
  .product-grid .product-name strong { font-size:clamp(.75rem,3.1vw,1rem); }
  .product-grid .product-name small { font-size:.73rem; }
  .product-grid .product-card:nth-child(-n+4) { border-bottom:1px solid var(--line); }
  .inner-section:has(.hm-family:not([hidden])) { padding-block:22px 28px; }
  .hm-family .product-breadcrumbs { margin-bottom:22px; font-size:.78rem; }
  .hm-intro { margin-bottom:24px; }
  .hm-intro h1 { font-size:clamp(1.8rem,7.5vw,2.4rem); }
  .hm-intro p { margin-top:13px; font-size:.94rem; }
  .hm-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .hm-card { display:grid; grid-template-columns:minmax(85px,.8fr) minmax(0,1.2fr); grid-template-areas:"image heading" "image kind" "image points" "image tail"; gap:5px 14px; padding:16px 14px; }
  .hm-card-image { grid-area:image; height:145px; align-self:center; }
  .hm-card-heading { grid-area:heading; margin:0; }
  .hm-card-heading h2 { font-size:1.6rem; }
  .hm-card-kind { grid-area:kind; margin:0 0 5px; font-size:.75rem; }
  .hm-card .hm-points { grid-area:points; font-size:.75rem; gap:5px; }
  .hm-card-tail { grid-area:tail; margin:7px 0 0; padding:0; font-size:.68rem; }
}
:is(.menu-family-image,.product-photo) img[src^="assets/hms-blau-ohne-kabel-v2.webp"] { width:94%; height:auto; max-height:94%; object-fit:contain; }

/* Only series-detail photos open the image viewer; overview cards navigate. */
.product-image-trigger { position:relative; display:grid; place-items:center; width:100%; height:100%; min-width:0; min-height:0; margin:0; padding:0; border:0; background:transparent; color:var(--blue); cursor:zoom-in; }
.product-image-trigger > img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.product-image-trigger:focus-visible { outline:2px solid var(--blue); outline-offset:4px; border-radius:3px; }
.product-image-badge { position:absolute; inset-inline-end:4px; bottom:4px; width:34px; height:34px; display:grid; place-items:center; color:var(--blue); border:1px solid #dbe2ec; border-radius:50%; background:#fffffff2; box-shadow:0 2px 8px #08102709; transition:background .15s,border-color .15s; }
.product-image-badge svg { width:21px; height:21px; }
.product-image-trigger:hover .product-image-badge { background:#edf3fc; border-color:#a6b9d8; }

dialog.product-image-dialog { width:min(1040px,calc(100vw - 40px)); height:min(960px,calc(100dvh - 40px)); max-width:none; max-height:none; padding:0; margin:auto; border:0; border-radius:8px; overflow:hidden; background:#fff; color:var(--navy); box-shadow:0 24px 100px #0005; }
.product-image-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; animation:product-view-in .18s ease-out; }
.product-image-dialog::backdrop { background:#081027b8; backdrop-filter:blur(5px); }
.product-image-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:10px 16px 10px 22px; border-bottom:1px solid #e8edf3; }
.product-image-head h2 { min-width:0; margin:0; font-size:1.1rem; font-weight:600; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-image-close { flex:none; width:44px; height:44px; padding:10px; display:grid; place-items:center; border:0; border-radius:50%; color:var(--navy); background:transparent; }
.product-image-close svg { width:24px; height:24px; }
.product-image-close:hover { background:var(--soft); }
.product-image-stage { min-width:0; min-height:0; display:grid; place-items:center; overflow:auto; padding:18px; overscroll-behavior:contain; scrollbar-gutter:stable; background:#fff; }
.product-image-full { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; cursor:zoom-in; user-select:none; -webkit-user-drag:none; }
.product-image-stage.is-enlarged { display:block; }
.product-image-stage.is-enlarged .product-image-full { width:auto; height:auto; max-width:none; max-height:none; margin:0 auto; cursor:zoom-out; }
.product-image-foot { padding:10px 18px; display:flex; justify-content:center; border-top:1px solid #e8edf3; }
.product-image-zoom { display:inline-flex; gap:9px; align-items:center; justify-content:center; min-height:44px; padding:8px 16px; border:1px solid #d5deeb; border-radius:4px; color:var(--blue); background:#fff; font-size:.875rem; }
.product-image-zoom svg { width:21px; height:21px; }
.product-image-zoom:hover { background:#f3f6fb; }
.product-image-zoom:focus-visible,.product-image-close:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
@keyframes product-view-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .product-image-dialog[open] { animation:none; } .product-image-badge { transition:none; } }
@media (max-width:700px) {
  dialog.product-image-dialog { width:calc(100vw - 20px); height:calc(100dvh - 20px); border-radius:6px; }
  .product-image-head { padding:8px 10px 8px 16px; }
  .product-image-head h2 { font-size:1rem; }
  .product-image-stage { padding:12px; }
  .product-image-badge { width:34px; height:34px; }
}

/* Keep the product, short copy and download actions in the first desktop view. */
@media (min-width:1000px) {
  .inner-section:has(.series-product) { padding-block:18px 24px; }
  #drainage-content.is-series .product-breadcrumbs { margin-bottom:14px; font-size:.8125rem; }
  .series-product,.vm-series-product { row-gap:13px; }
  .series-summary h1 { font-size:clamp(2.1rem,2.8vw,2.65rem); }
  .series-tagline { margin-top:6px; font-size:.97rem; }
  .series-stage { height:clamp(285px,calc(100dvh - 175px),520px); }
  .series-copy { font-size:.9375rem; line-height:1.45; }
  .series-copy > p,.vm-series-copy > p,.hm-family .series-copy > p { margin:0 0 8px; }
  .series-copy :is(.vm-points,.hm-points) { display:flex; flex-wrap:wrap; column-gap:25px; row-gap:4px; font-size:.8125rem; line-height:1.4; padding-inline-start:1.05em; }
  .series-copy :is(.vm-points,.hm-points) li { padding-inline-end:3px; }
  .series-documents .doc-card { padding:14px; gap:10px; }
  .series-documents .doc-card-head h3 { font-size:1rem; margin-bottom:6px; }
  .series-documents .doc-card-head p { font-size:.75rem; }
  .series-documents .doc-card-preview { height:clamp(86px,15dvh,146px); }
  .vm-documents .doc-card-preview { height:clamp(86px,15dvh,130px); }
  .series-document-notes { margin-top:-3px; }
}
@media (min-width:1000px) and (max-height:700px) {
  .inner-section:has(.series-product) { padding-block:12px 20px; }
  #drainage-content.is-series .product-breadcrumbs { margin-bottom:10px; }
  .series-product,.vm-series-product { row-gap:10px; }
  .series-summary h1 { font-size:2.05rem; }
  .series-tagline { font-size:.9rem; }
  .series-copy { font-size:.875rem; }
  .series-stage { height:clamp(260px,calc(100dvh - 145px),440px); }
  .series-documents .doc-card { padding:12px; gap:8px; }
  .series-documents .doc-card-preview,.vm-documents .doc-card-preview { height:82px; }
}
