/* HomePro — navy and steel blue from the logo, salmon from the business card, concrete grey */
:root {
  --ink: #121b25; --ink2: #182433; --ink3: #213042; --line: rgba(220, 232, 244, .12);
  --text: #eef2f6; --mute: rgba(232, 239, 246, .68); --hi: #e9a084; --blue: #6fa3cc; --steel: #4980a7;
  --paper: #eceff1; --dark: #16212d; --dmute: #556170;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --head: "Jost", "Manrope", system-ui, sans-serif;
  --pad: clamp(18px, 4.6vw, 72px); --e: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--hi); }
.h2 { font: 600 clamp(34px, 5vw, 64px)/1.06 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.lead { color: var(--mute); max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border-radius: 999px; border: 0; background: var(--hi); color: #1a1310;
  font: 700 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .3s var(--e), box-shadow .3s; box-shadow: 0 10px 30px rgba(233, 160, 132, .25); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(233, 160, 132, .38); }
.btn--sm { padding: 12px 20px; font-size: 13px; }
.lnk { font: 600 14px/1 var(--sans); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); transition: background .4s, transform .5s var(--e); }
.bar.is-solid { background: rgba(18, 27, 37, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar.is-hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font: 700 22px/1 var(--head); letter-spacing: -.02em; }
.logo svg { width: 42px; height: 34px; flex: none; }
.logo svg .pl { fill: #a6afb6; opacity: .55; }
.logo svg .ln { fill: none; stroke: #5b93bd; stroke-width: 30; stroke-linejoin: round; stroke-linecap: round; }
.logo b { color: #6fa3cc; font-weight: 800; }
.nav { display: flex; gap: 26px; }
.nav a { font: 600 14px/1 var(--sans); text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--hi); }

/* ---------- hero ---------- */
.hero { position: relative; height: 620vh; background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, 0) 26%, rgba(10, 11, 13, 0) 42%, rgba(10, 11, 13, .62) 70%, rgba(10, 11, 13, .9) 100%),
              linear-gradient(90deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, 0) 60%); }
.hero__txt--b .big { display: inline-block; padding: .35em .6em; border-radius: 18px; background: rgba(10, 11, 13, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__txt { position: absolute; left: var(--pad); right: var(--pad); opacity: 0; will-change: opacity, transform; pointer-events: none; }
.hero__txt.on { pointer-events: auto; }
.hero__txt--a { bottom: clamp(40px, 10vh, 110px); max-width: 640px; }
.hero__txt--a h1 { font: 700 clamp(46px, 8vw, 112px)/.95 var(--head); letter-spacing: -.035em; margin: 14px 0 18px; text-shadow: 0 4px 40px rgba(0, 0, 0, .45); }
.hero__sub { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255, 255, 255, .88); max-width: 460px; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.hero__hint { display: flex; align-items: center; gap: 12px; margin-top: 26px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero__hint i { position: relative; width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; }
.hero__hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--hi); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero__txt--b { top: 50%; transform: translateY(-50%); text-align: center; }
.hero__txt--b .big { font: 700 clamp(30px, 4.6vw, 64px)/1.05 var(--head); letter-spacing: -.02em; text-shadow: 0 4px 40px rgba(0, 0, 0, .55); }
.hero__txt--b em, .hero__txt--c em { font-style: normal; color: var(--hi); }
.hero__txt--c { bottom: clamp(40px, 10vh, 110px); max-width: 720px; }
.hero__txt--c h2 { font: 700 clamp(38px, 6.2vw, 88px)/1 var(--head); letter-spacing: -.03em; text-shadow: 0 4px 40px rgba(0, 0, 0, .55); margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero__prog { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; height: 2px; background: rgba(255, 255, 255, .15); }
.hero__prog i { display: block; height: 100%; width: 100%; background: var(--hi); transform-origin: 0 50%; transform: scaleX(0); }
.hero__load { position: absolute; right: var(--pad); top: 84px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: opacity .6s; }
.hero__load.done { opacity: 0; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.h2 em { font-style: normal; color: var(--hi); }

/* about */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__txt { display: grid; gap: 22px; }
.about__txt .h2 em { display: block; margin-top: 12px; font-size: .56em; line-height: 1.2; color: var(--blue); }
.stamps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.stamps li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink2); }
.stamps b { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 2px solid var(--hi); color: var(--hi); font: 700 19px/1 var(--head); transform: rotate(-8deg); }
.stamps span { font: 600 13px/1.3 var(--sans); color: var(--mute); }
.about__pics { position: relative; padding-bottom: 20%; }
.ph { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink3); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption, .gal figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 999px; background: rgba(18, 27, 37, .8); font: 600 12px/1 var(--sans); letter-spacing: .04em; }
.ph--a { aspect-ratio: 4 / 3; }
.ph--b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 5px solid var(--ink); }

/* services */
.services { background: var(--ink2); border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 14px; }
.svc { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink3); isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--e); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 18, 26, 0) 30%, rgba(12, 18, 26, .9) 100%); }
.svc:hover img { transform: scale(1.05); }
.svc__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: grid; gap: 6px; }
.svc h3 { font: 600 21px/1.15 var(--head); }
.svc p { color: rgba(238, 242, 246, .82); font-size: 14.5px; line-height: 1.5; }
.svc--big { grid-column: span 2; grid-row: span 2; }
.svc--big .svc__txt { padding: 28px; gap: 10px; }
.svc--big h3 { font-size: clamp(30px, 3.4vw, 46px); }
.svc--big p { font-size: 16px; max-width: 460px; }
.tag { justify-self: start; padding: 6px 11px; border-radius: 999px; background: var(--hi); color: #1a1310; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }

/* before / after */
.ba__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ba__tabs button { font: 600 14px/1 var(--sans); color: var(--text); background: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.ba__tabs button[aria-selected="true"] { background: var(--steel); border-color: var(--steel); }
.ba { position: relative; overflow: hidden; border-radius: 20px; background: var(--ink3); width: min(100%, 600px); aspect-ratio: 3 / 4; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba.is-land { width: min(100%, 980px); aspect-ratio: 4 / 3; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__a { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__lbl { position: absolute; top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(18, 27, 37, .82); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba__lbl--a { left: 14px; } .ba__lbl--b { right: 14px; color: var(--hi); }
.ba__h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__h i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.ba__h i::before, .ba__h i::after { content: ""; position: absolute; top: 50%; margin-top: -7px; border: 7px solid transparent; }
.ba__h i::before { left: 6px; border-right-color: var(--dark); } .ba__h i::after { right: 6px; border-left-color: var(--dark); }
.ba__r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* german standard: light concrete section */
.std { background: var(--paper); color: var(--dark); }
.std .eyebrow { color: #b0603f; }
.std .lead { color: var(--dmute); }
.std__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
.std__list li { display: grid; gap: 8px; align-content: start; }
.std__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 8px; }
.std__list h3 { font: 600 21px/1.2 var(--head); display: flex; gap: 10px; align-items: baseline; }
.std__list h3::before { content: "✓"; color: var(--steel); font-weight: 700; }
.std__list p { color: var(--dmute); font-size: 15.5px; }

/* gallery + lightbox */
.gal { columns: 3 260px; column-gap: 14px; }
.gal figure { position: relative; break-inside: avoid; margin-bottom: 14px; overflow: hidden; border-radius: 16px; cursor: zoom-in; background: var(--ink3); }
.gal img { width: 100%; transition: transform 1.2s var(--e); }
.gal figure:hover img { transform: scale(1.04); }
[hidden] { display: none !important; }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; align-content: center; gap: 12px; padding: 20px; background: rgba(8, 12, 18, .94); }
.lb img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.lb p { color: var(--mute); font-size: 14px; }
.lb__x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink3); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* process */
.process { background: var(--steel); background-image:
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .07) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .07) 31px 32px); }
.process .eyebrow { color: #fff; opacity: .85; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(255, 255, 255, .4); }
.steps li { position: relative; padding-top: 56px; opacity: .35; transform: translateY(18px); transition: opacity .8s var(--e), transform .8s var(--e); }
.steps li.in { opacity: 1; transform: none; }
.steps span { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); color: #1a1310; font: 700 16px/1 var(--head); }
.steps h3 { font: 600 21px/1.2 var(--head); margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, .9); font-size: 15px; }

/* contact */
.contact .eyebrow { margin-bottom: 14px; }
.phone { display: inline-block; margin: 0 0 22px; white-space: nowrap; font: 600 clamp(30px, 3.6vw, 48px)/1 var(--head); text-decoration: none; color: var(--text); }
.phone:hover { color: var(--hi); }
.msg { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.btn--viber { background: #7360f2; color: #fff; box-shadow: none; }
.btn--wa { background: #25d366; color: #0b2a17; box-shadow: none; }
.info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .5s var(--e), opacity .4s; }
.fab svg { width: 26px; height: 26px; fill: #1a1310; }
.fab.is-hide { transform: translateY(140%); opacity: 0; pointer-events: none; }

.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact .lead { margin: 16px 0 30px; }
.info { display: grid; gap: 14px; }
.info div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.info dt { color: var(--mute); font-size: 14px; }
.info dd { font-weight: 600; }
.form { display: grid; gap: 14px; background: var(--ink2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.form input, .form select, .form textarea { font: 500 16px/1.4 var(--sans); color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form .btn { margin-top: 6px; }
.form__ok { color: var(--hi); font-weight: 600; }
.foot { padding: 34px 0; border-top: 1px solid var(--line); }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.foot .logo { margin-right: 0; font-size: 18px; color: var(--text); }
.foot .logo svg { width: 32px; height: 26px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .std__list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps li { padding: 0 0 0 66px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-auto-rows: 180px; gap: 10px; }
  .svc__txt { padding: 14px; }
  .svc p { display: none; }
  .svc--big p { display: block; font-size: 14.5px; }
  .svc--big .svc__txt { padding: 18px; }
  .svc h3 { font-size: 17px; }
  .std__list { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 96px 1fr; }
  .msg .btn { flex: 1 1 auto; }
  .bar .btn--sm { padding: 10px 14px; font-size: 12px; }
  .hero { height: 580vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steps li { opacity: 1; transform: none; }
}
