/* ==========================================================================
   Tepelná čerpadla – Petr Teska
   ========================================================================== */

@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("../fonts/onest-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("../fonts/onest-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("../fonts/onest-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("../fonts/onest-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("../fonts/onest-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("../fonts/onest-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --ink: #16181b;
  --ink-2: #3b3f45;
  --muted: #6b6f75;
  --line: #e1dfd8;
  --accent: #c4512b;
  --accent-ink: #a8421f;
  --dark: #141618;
  --dark-2: #1d2023;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.h-md { font-size: clamp(24px, 2.4vw, 32px); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font-size: 16px; font-weight: 500; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); }
.btn--light:hover { color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(244, 243, 239, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 64px;
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; flex-direction: column; gap: 4px; line-height: 1; }
.logo__name { position: relative; align-self: flex-start; font-size: 26px; font-weight: 600; letter-spacing: -0.045em; padding-right: .42em; }
.logo__deg { position: absolute; right: 0; top: -.08em; font-size: .62em; font-weight: 500; color: var(--accent); letter-spacing: 0; transition: transform .6s var(--ease); }
.logo:hover .logo__deg { transform: translateY(-3px) rotate(90deg); }
.logo__sub { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 1px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; font-size: 15.5px; }
.nav__links a { position: relative; color: var(--ink-2); transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { height: 44px; padding: 0 18px; font-size: 15px; }
.nav__phone svg { width: 15px; height: 15px; }
.nav__phone:hover svg { transform: none; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 0 var(--gutter);
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav__links { flex-direction: column; gap: 6px; font-size: 34px; letter-spacing: -0.02em; }
  .nav__links a { color: var(--ink); display: block; padding: 4px 0; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav__links a::after { display: none; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav__links a { opacity: 1; transform: none; }
  .menu-open .nav__links li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .nav__links li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .nav__links li:nth-child(4) a { transition-delay: .12s; }
  .menu-open .nav__links li:nth-child(5) a { transition-delay: .16s; }
  .menu-open { overflow: hidden; }
  .menu-open .header { background: var(--bg); box-shadow: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: #eceae4; }
.section--dark .muted, .section--dark .eyebrow { color: #9a9ea3; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 24px; } .section-head .eyebrow { margin-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero__copy h1 { margin-bottom: 28px; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.045em; }
.hero__copy h1 em { font-style: normal; color: var(--accent); }
.hero__copy .lead { max-width: 36ch; margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { --mx: 0; --my: 0; position: relative; aspect-ratio: 1; display: grid; place-items: center; margin-right: calc(var(--gutter) * -0.6); }
.hero__disc {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #f1f0eb 55%, #e8e6df 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero__pulse { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: pulse 6s var(--ease) infinite; pointer-events: none; }
.hero__pulse:nth-of-type(2) { animation-delay: 2s; }
.hero__pulse:nth-of-type(3) { animation-delay: 4s; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 0; } 15% { opacity: .45; } 100% { transform: scale(1.32); opacity: 0; } }
.hero__rings { position: absolute; width: 82%; aspect-ratio: 1; overflow: visible; }
.hero__rings circle { fill: none; stroke: var(--line); stroke-width: 1; }
.hero__rings .ring-dot { fill: var(--accent); stroke: none; }
.hero__rings .ring-dot--2 { fill: var(--ink); }
.hero__air { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__air .flow { stroke-width: 1.6; }
.hero__unit { position: relative; width: 58%; filter: drop-shadow(0 50px 50px rgba(20, 22, 24, .25)); will-change: transform;
  translate: calc(var(--mx) * -16px) calc(var(--my) * -12px); }
.hero__tag {
  position: absolute; z-index: 2;
  translate: calc(var(--mx) * 22px) calc(var(--my) * 18px);
}
.hero__tag > div {
  background: var(--surface); border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(20,22,24,.28);
  font-size: 14px; line-height: 1.35; animation: bob 6s ease-in-out infinite;
}
.hero__tag strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.hero__tag--a { right: 3%; bottom: 18%; }
.hero__tag--b { left: 2%; top: 20%; }
.hero__tag--b > div { animation-delay: -2s; animation-duration: 7s; }
.hero__tag--c { left: 10%; bottom: 9%; }
.hero__tag--c > div { animation-delay: -4s; animation-duration: 8s; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.hero__tag--c i { width: 8px; height: 8px; border-radius: 50%; background: #3f9a5a; box-shadow: 0 0 0 0 rgba(63,154,90,.5); animation: live 2s ease-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63,154,90,.5); } 100% { box-shadow: 0 0 0 10px rgba(63,154,90,0); } }

.ticker { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__group span { display: inline-flex; align-items: center; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.025em; color: var(--ink-2); white-space: nowrap; }
.ticker__group span::after { content: "°"; color: var(--accent); margin: 0 .9em 0 1em; font-size: .8em; transform: translateY(-.2em); }
@keyframes ticker { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 34px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__label { font-size: 15px; color: var(--muted); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin: 8px auto 0; }
  .hero__tag > div { font-size: 13px; padding: 11px 14px; }
  .hero__tag strong { font-size: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .stat { padding-right: 12px; } .stat + .stat { padding-left: 16px; } .stat:nth-child(3) { padding-left: 0; } .stat__num { font-size: 30px; } .stat__label { font-size: 14px; } }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.how__text h2 { margin: 22px 0 28px; }
.how__text p + p { margin-top: 18px; }
.how__diagram { background: var(--bg); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.how__diagram svg { width: 100%; }
.how__caption { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.how__caption b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }

.flow { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 9; animation: flow 1.2s linear infinite; }
.flow--cold { stroke: #7d9bb0; }
.flow--warm { stroke: var(--accent); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.fan { transform-box: fill-box; transform-origin: center; animation: spin 3.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.heat-wave { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; opacity: 0; animation: rise 3s var(--ease) infinite; }
.heat-wave:nth-of-type(2) { animation-delay: 1s; }
.heat-wave:nth-of-type(3) { animation-delay: 2s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }

.choose {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--ink); color: #eceae4;
}
.choose h3 { font-size: clamp(22px, 2.2vw, 28px); max-width: 14ch; }
.choose p { color: #b7b9bc; max-width: 56ch; }
@media (max-width: 960px) {
  .how { grid-template-columns: 1fr; }
  .choose { grid-template-columns: 1fr; }
  .how__caption { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease), transform .5s var(--ease);
}
.product:hover { box-shadow: inset 0 0 0 1px #cfccc3, 0 30px 60px -36px rgba(20, 22, 24, .35); transform: translateY(-4px); }
.product--wide { grid-column: span 7; }
.product--narrow { grid-column: span 5; }
.product--half { grid-column: span 6; }
.product__media { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(180deg, #f7f6f2 0%, #ecebe5 100%); display: grid; place-items: center; overflow: hidden; }
.product__media img { position: absolute; left: 12%; top: 10%; width: 76%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.product__media img.cover { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__kicker { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.product__title { font-size: clamp(24px, 2.2vw, 30px); }
.product__text { color: var(--ink-2); max-width: 48ch; }
.product__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: #f6e7e0; color: var(--accent-ink); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.product__media .badge { position: absolute; top: 18px; left: 18px; }
.product__arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.product__arrow svg { width: 15px; height: 15px; }
.product:hover .product__arrow { background: var(--ink); color: #fff; box-shadow: none; }
.product__link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } .product--wide, .product--narrow, .product--half { grid-column: auto; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: 10px; background: var(--dark-2); padding: 0; border: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .92; }
.gallery__item:hover img { transform: scale(1.05); opacity: 1; }
.gallery__item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery__item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery__item:nth-child(5) { grid-column: span 5; grid-row: span 1; }
.gallery__item:nth-child(6) { grid-column: span 3; grid-row: span 1; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gallery__zoom svg { width: 15px; height: 15px; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(12, 13, 14, .92); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; padding: 60px 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1000px, 100%); max-height: 100%; width: auto; border-radius: 6px; transform: scale(.97); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .25s; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox button svg { width: 18px; height: 18px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #9a9ea3; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__big { font-size: clamp(88px, 11.5vw, 168px); font-weight: 500; letter-spacing: -0.06em; line-height: .82; color: var(--ink); }
.about__big sup { font-size: .32em; vertical-align: top; position: relative; top: .12em; margin-left: .04em; color: var(--accent); letter-spacing: 0; }
.about__bigcap { margin-top: 18px; color: var(--muted); max-width: 26ch; }
.about__text h2 { margin: 22px 0 30px; }
.about__text p + p { margin-top: 18px; }
.about__list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.about__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.about__list li:nth-child(odd) { padding-right: 18px; }
.about__list span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.contact__intro h2 { margin: 22px 0 24px; }
.contact__direct { margin: 40px 0 0; display: grid; gap: 4px; }
.contact__direct a { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.25; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.contact__direct a:hover { background-size: 100% 1px; color: #fff; }
.branches { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid #2c3034; }
.branch { padding: 20px 0; border-bottom: 1px solid #2c3034; display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 15.5px; }
.branch dt { color: #9a9ea3; }
.branch dd { margin: 0; }
.branch dd span { display: block; color: #9a9ea3; font-size: 14px; }

.form { background: var(--dark-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; align-content: start; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: #9a9ea3; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: transparent; border: 0; border-bottom: 1px solid #3a3f44; border-radius: 0;
  padding: 8px 0 12px; transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #5f646a; }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form__note { font-size: 13.5px; color: #7f8389; max-width: 40ch; }
.form__status { grid-column: 1 / -1; font-size: 15px; min-height: 1em; }
.form__status.is-ok { color: #9fd0a8; }
.form__status.is-err { color: #f0a58c; }
.hp { position: absolute; left: -9999px; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .branch { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #9a9ea3; font-size: 14.5px; padding: 0 0 36px; }
.footer__top { border-top: 1px solid #2c3034; padding-top: 36px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.footer .logo__name { color: #eceae4; }
.footer .logo__sub { color: #7f8389; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13.5px; color: #6f7378; }

/* ---------- Product subpage ---------- */
.p-hero { padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(60px, 8vw, 110px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: clamp(36px, 5vw, 64px); }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.p-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.p-hero h1 { margin: 22px 0 26px; }
.p-hero .lead { max-width: 44ch; margin-bottom: 36px; }
.p-hero__media { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(180deg, #fff 0%, #ecebe5 100%); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.p-hero__media img { position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.p-hero__media img.cover { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
@media (max-width: 860px) { .p-hero__grid { grid-template-columns: 1fr; } }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.spec { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.spec:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.spec__v { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; font-weight: 500; }
.spec__l { color: var(--muted); font-size: 15px; max-width: 26ch; }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(n) { padding-left: 0; border-left: 0; }
  .spec:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

.prose-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.prose-split + .prose-split { margin-top: clamp(64px, 8vw, 110px); }
.prose-split h2 { font-size: clamp(26px, 2.6vw, 36px); position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.prose figure { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.prose figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .prose-split { grid-template-columns: 1fr; } .prose-split h2 { position: static; } }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

.cta-band { background: var(--ink); color: #eceae4; border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3vw, 42px); max-width: 18ch; }
.cta-band p { color: #b7b9bc; margin-top: 14px; max-width: 46ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.others .product__media { aspect-ratio: 16 / 10; }
.product__media .badge { z-index: 1; }
.others .product__body { padding: 22px 24px 24px; }
.others .product__title { font-size: 22px; }
@media (max-width: 860px) { .others { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .is-in .split-line > span { transform: none; }

.js .hero__disc, .js .hero__rings { opacity: 0; transform: scale(.88); transition: opacity 1.2s var(--ease) .1s, transform 1.6s var(--ease) .1s; }
.js .is-loaded .hero__disc, .js .is-loaded .hero__rings { opacity: 1; transform: none; }
.js .hero__unit { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--ease) .3s, transform 1.4s var(--ease) .3s; }
.js .is-loaded .hero__unit { opacity: 1; transform: translateY(var(--py, 0px)); transition: opacity 1.2s var(--ease) .3s, transform 1.4s var(--ease) .3s; }
.js .is-loaded.is-settled .hero__unit { transition: opacity 1.2s var(--ease), transform .1s linear; }
.hero__rings .ring-orbit { transform-origin: 50% 50%; animation: spin 40s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .split-line > span, .js .hero__unit { opacity: 1 !important; transform: none !important; }
}

/* ---------- Additions v2 ---------- */
.about__since { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.quote { margin: 44px 0 0; padding: 34px 0 0; border-top: 1px solid var(--line); position: relative; }
.quote::before { content: "„"; position: absolute; left: -.04em; top: -18px; font-size: 96px; line-height: 1; color: var(--accent); opacity: .9; }
.quote p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); padding-top: 38px; }
.quote footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.quote footer::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 36px; margin-top: 40px; }
.brands small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 100%; }
.brands span { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }

.map { grid-column: 1 / -1; position: relative; margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; height: clamp(320px, 34vw, 460px); background: #23272a; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.map.is-in iframe { transform: none; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,.95); }
.map__pin::before, .map__pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); animation: pin 2.6s ease-out infinite; }
.map__pin::after { animation-delay: 1.3s; }
@keyframes pin { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(4.2); opacity: 0; } }
.map__card { position: absolute; left: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 20px 22px; max-width: 320px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.map__card p { color: var(--muted); font-size: 15px; margin: 6px 0 14px; line-height: 1.45; }
.map__card strong { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.map__credit { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #9a9ea3; }
.map__credit a { text-decoration: underline; }

/* clip reveal for images */
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.8s var(--ease), opacity .4s; transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: none; }
.js .product:hover .product__media.is-in img, .js .gallery__item.is-in:hover img { transform: scale(1.05); transition-delay: 0s; }

/* eyebrow line draws in */
.js .eyebrow[data-reveal]::before { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
.js .eyebrow[data-reveal].is-in::before { transform: none; }

@media (max-width: 560px) {
  .hero__tag--c { display: none; }
  .map { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="clip"] { clip-path: none !important; }
  .js [data-reveal="clip"] img, .js .hero__disc, .js .hero__rings { transform: none !important; opacity: 1 !important; }
  .ticker__track { animation: none; }
}

/* uniform product specs */
.product__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 0; border-top: 1px solid var(--line); }
.product__specs div { padding: 14px 12px 0 0; min-width: 0; }
.product__specs div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.product__specs dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.product__specs dd { margin: 5px 0 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.product__more { font-size: 15px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 480px) { .product__specs dd { font-size: 15px; } .product__specs div + div { padding-left: 10px; } }

/* hero unit: spinning fans behind the grille, light sweep, idle float */
.hero__unit-in { position: relative; animation: float 7s ease-in-out infinite; }
.hero__unit-in img { display: block; width: 100%; height: auto; }
.hero__fans { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .4; }
.hero__fans .fan { fill: #4a4e52; transform-box: view-box; transform-origin: 0 0; animation: spin 1.9s linear infinite; }
.hero__fans .fan--2 { animation-duration: 2.2s; animation-delay: -.7s; }
.hero__fans .fan circle { fill: #2a2d30; }
.hero__sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.3) 47%, rgba(255,255,255,.08) 52%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: 130% 0;
  -webkit-mask: url(../img/aquarea-m.png) center / 100% 100% no-repeat; mask: url(../img/aquarea-m.png) center / 100% 100% no-repeat;
  animation: sheen 9s var(--ease) 1.6s infinite;
}
@keyframes sheen { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .hero__fans { opacity: 0; transition: opacity 1.6s ease 1.4s; }
.js .is-loaded .hero__fans { opacity: .4; }
@media (prefers-reduced-motion: reduce) {
  .hero__unit-in, .hero__fans .fan, .hero__sheen { animation: none !important; }
  .hero__sheen { display: none; }
}

/* privacy page + legal footer */
.p-hero--text .lead { max-width: 52ch; margin-bottom: 0; }
.legal-card { padding: 20px 22px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink) !important; line-height: 1.6; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-top: clamp(56px, 7vw, 96px); font-size: 14px; color: var(--muted); }
.footer__legal { width: 100%; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: #fff; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.nf { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.nf h1 { margin: 22px 0 26px; }
.nf .lead { max-width: 42ch; margin-bottom: 36px; }
.nf__num { font-size: clamp(120px, 20vw, 300px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; color: var(--ink); text-align: center; }
.nf__num span { display: inline-block; width: .66em; height: .66em; margin: 0 .03em; border: .11em solid var(--accent); border-radius: 50%; box-sizing: border-box; vertical-align: baseline; position: relative; animation: nfPulse 3.2s ease-in-out infinite; }
@keyframes nfPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.9); } }
.nf__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.nf__links a { color: var(--ink-2); transition: color .25s; }
.nf__links a:hover { color: var(--accent); }
@media (max-width: 860px) { .nf__grid { grid-template-columns: 1fr; } .nf__num { order: -1; text-align: left; } }
