/* GN Dach GmbH — v3: soft light theme, scroll-story 3D layers, helper, insulation slider */
:root {
  --bg: #f8f6f3;
  --white: #ffffff;
  --stone: #f0ece6;
  --sky-bg: #eef4f7;
  --line: #e4dfd7;
  --ink: #1f2a33;
  --ink-2: #3b4752;
  --muted: #68747e;
  --red: #d6373e;
  --red-d: #b72a31;
  --red-soft: #fbeaea;
  --blue: #7fb0cf;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(31,42,51,.35);
  --head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; margin-top: 36px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 23px; font-weight: 800; }
.u { background: linear-gradient(transparent 62%, rgba(214,55,62,.18) 62%); color: var(--red-d); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 700 13px/1 var(--head); color: var(--muted); margin-bottom: 18px; }
.pill i, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); display: inline-block; }
.head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.head p:not(.pill) { color: var(--muted); margin-top: 14px; font-size: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 12px; font: 700 15px/1 var(--head); transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; border: 0; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(214,55,62,.7); }
.btn--red:hover { background: var(--red-d); }
.btn--soft { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn--soft:hover { border-color: var(--ink); }
.btn--full { width: 100%; }

/* reading progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red), #f08a8e); z-index: 70; }

/* top bar + header */
.topbar { background: var(--stone); font-size: 13.5px; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 16px; }
.topbar__inner span { display: flex; align-items: center; gap: 10px; }
.topbar__links { gap: 22px !important; font-weight: 600; color: var(--ink); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(248,246,243,.88); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.header.is-solid { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(31,42,51,.35); }
.header__inner { display: flex; align-items: center; gap: 28px; padding: 12px 0; }
.logo-tile { display: inline-flex; background: #040405; border-radius: 12px; padding: 5px 12px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.6); }
.logo-tile img { height: 48px; width: auto; }
.logo-tile--lg img { height: 70px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font: 600 15px/1 var(--head); color: var(--ink-2); padding: 8px 0; position: relative; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; border-radius: 2px; background: var(--red); transition: left .3s, right .3s; }
.nav a:not(.nav__cta):hover::after, .nav a.is-current::after { left: 0; right: 0; }
.nav__cta { background: var(--red); color: #fff !important; padding: 12px 18px !important; border-radius: 10px; box-shadow: 0 10px 22px -12px rgba(214,55,62,.7); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; margin-left: auto; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .3s, opacity .3s; }

/* hero */
.hero { padding: 64px 0 40px; background: radial-gradient(60% 70% at 90% 10%, #e6f0f5 0%, transparent 70%), radial-gradient(40% 50% at 0% 100%, #fbefe9 0%, transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.weather { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 12px 18px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.weather small { display: block; font-size: 12.5px; color: var(--muted); }
.weather b { font: 800 18px/1.2 var(--head); display: block; min-width: 92px; transition: opacity .3s, transform .3s; }
.weather b.swap { opacity: 0; transform: translateY(6px); }
.weather__icon { position: relative; width: 52px; height: 52px; border-radius: 14px; background: var(--sky-bg); }
.w { position: absolute; inset: 6px; width: 40px; height: 40px; fill: none; stroke: #5d7f96; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s; }
.w.on { opacity: 1; transform: none; }
.w--rain .wd { stroke: var(--blue); animation: rainy 1s linear infinite; }
.w--snow .wd { stroke: #9cc0d6; animation: snowy 2s linear infinite; }
.w--sun circle { stroke: #e8a33b; fill: #fdf0d5; }
.w--sun .wd { stroke: #e8a33b; animation: spin 10s linear infinite; transform-origin: 24px 24px; }
.w--wind .wd { animation: windy 1.6s ease-in-out infinite; }
@keyframes rainy { from { transform: translateY(-3px); opacity: .3; } to { transform: translateY(3px); opacity: 1; } }
@keyframes snowy { 50% { transform: translateY(3px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes windy { 50% { transform: translateX(3px); } }
.weather__ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e6f3ea; color: #2e7d4f; font-weight: 800; }

.collage { position: relative; height: 560px; }
.collage figure { position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(31,42,51,.5); border: 6px solid #fff; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.c1 { inset: 0 18% 14% 0; animation: floaty 9s ease-in-out infinite; }
.c2 { width: 38%; height: 42%; right: 0; top: 6%; animation: floaty 7s ease-in-out infinite -2s; }
.c3 { width: 40%; height: 40%; right: 6%; bottom: 0; animation: floaty 8s ease-in-out infinite -4s; }
.c1 img { animation: zoomy 18s ease-in-out infinite alternate; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes zoomy { to { transform: scale(1.08); } }
.collage__badge { position: absolute; left: 4%; bottom: 4%; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 270px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.collage__badge b { display: block; font: 800 15px/1.2 var(--head); color: var(--ink); }
.collage__badge svg { width: 34px; height: 34px; flex: none; fill: var(--red-soft); stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* quick services */
.quick { padding: 30px 0 10px; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.q { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.q:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d0c4; }
.q__ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); display: grid; place-items: center; transition: background .3s; }
.q:hover .q__ico { background: var(--red); }
.q__ico svg { width: 30px; height: 30px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.q:hover .q__ico svg { stroke: #fff; }
.q b { font: 800 16px/1.2 var(--head); }
.q small { color: var(--muted); font-size: 13.5px; }

/* sections */
.section { padding: 100px 0; }
.section--stone { background: var(--stone); }
.section--sky { background: var(--sky-bg); }

/* helper */
.helper { display: grid; grid-template-columns: 340px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.helper__opts { display: grid; gap: 8px; align-content: start; }
.helper__opts button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 700 15px/1.3 var(--head); color: var(--ink-2); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.helper__opts button span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--red-soft); color: var(--red); transition: background .25s, color .25s; }
.helper__opts button svg, .pstep span svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.helper__opts button.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.helper__opts button:hover { border-color: #d0c8bc; transform: translateX(3px); }
.helper__opts button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.helper__out { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; padding: 10px; }
.helper__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.helper__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.helper__out.swap .helper__img img, .helper__out.swap .helper__text { opacity: 0; transform: translateY(10px); }
.helper__text { transition: opacity .35s, transform .35s; }
.helper__tag { display: inline-block; font: 800 12px/1 var(--head); color: var(--red-d); background: var(--red-soft); padding: 7px 10px; border-radius: 8px; margin-bottom: 12px; }
.helper__text h3 { margin-bottom: 10px; }
.helper__text p { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 9px; margin: 18px 0 22px; }
.checks--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 5px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4 10-10' fill='none' stroke='%23fff' stroke-width='3.5'/%3E%3C/svg%3E") center/11px no-repeat; }

/* scroll story with 3D layers */
.story { position: relative; height: 420vh; background: linear-gradient(180deg, var(--bg), var(--sky-bg) 30%, var(--sky-bg) 70%, var(--bg)); }
.story__sticky { position: sticky; top: 76px; height: calc(100vh - 76px); display: flex; align-items: center; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.story__intro { color: var(--muted); margin-top: 10px; }
.story__card { margin-top: 26px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--layer, var(--red)); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); min-height: 150px; transition: border-color .4s; }
.story__card.swap b, .story__card.swap p { opacity: 0; transform: translateY(8px); }
.story__card b, .story__card p { display: block; transition: opacity .3s, transform .3s; }
.story__no { font: 800 13px/1 var(--head); color: var(--muted); letter-spacing: .08em; }
.story__card b { font: 800 24px/1.2 var(--head); margin: 10px 0 6px; }
.story__card p { color: var(--muted); }
.story__dots { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.story__dots li { height: 6px; flex: 1; border-radius: 6px; background: #dbe3e8; overflow: hidden; position: relative; }
.story__dots li::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--f, 0)); transform-origin: left; }
.story__done { margin-top: 18px; font: 800 16px/1.3 var(--head); color: #2e7d4f; background: #e6f3ea; padding: 12px 16px; border-radius: 12px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.story__done.on { opacity: 1; transform: none; }

.stack-scene { position: relative; display: grid; place-items: center; }
.roof { width: 100%; max-width: 540px; height: auto; max-height: calc(100vh - 130px); overflow: visible; }
.roof .tf { stroke: transparent; stroke-width: 3; stroke-linejoin: round; transition: stroke .3s; }
.roof .slab.is-active .tf { stroke: var(--red); }

/* insulation slider */
.thermo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.thermo__text h2 { margin-bottom: 14px; }
.thermo__text > p:not(.pill) { color: var(--muted); }
.thermo__keys { display: grid; gap: 14px; margin-top: 26px; }
.thermo__keys > div { display: flex; gap: 14px; align-items: flex-start; }
.thermo__keys span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.thermo__keys b { display: block; color: var(--ink); font: 800 16px/1.3 var(--head); }
.k { width: 46px; height: 46px; flex: none; padding: 8px; border-radius: 13px; background: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--shadow); }
.k--warm { stroke: #ef8a4c; } .k--warm path { animation: rainy 1.6s ease-in-out infinite alternate; }
.k--drop { stroke: var(--blue); fill: #e5f0f7; }
.k--house { stroke: var(--red); }
.compare { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(31,42,51,.55); border: 6px solid #fff; aspect-ratio: 520 / 400; user-select: none; touch-action: pan-y; }
.cmp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmp-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.2); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 16px/1 var(--head); color: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.heatOut path { animation: escape 2.6s ease-in infinite; opacity: 0; }
.heatOut path:nth-child(2) { animation-delay: .5s; } .heatOut path:nth-child(3) { animation-delay: 1s; } .heatOut path:nth-child(4) { animation-delay: 1.5s; } .heatOut path:nth-child(5) { animation-delay: 2s; }
@keyframes escape { 0% { transform: translateY(40px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-70px); opacity: 0; } }
.heatIn path { animation: stayin 3s ease-in-out infinite; }
.heatIn path:nth-child(2) { animation-delay: 1s; } .heatIn path:nth-child(3) { animation-delay: 2s; }
@keyframes stayin { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-14px); opacity: 1; } }
.rainG path { animation: fallG 1.2s linear infinite; }
.rainG path:nth-child(even) { animation-delay: .6s; }
@keyframes fallG { from { transform: translateY(-20px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(60px); opacity: 0; } }

/* services */
.svc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.svc:last-child { margin-bottom: 0; }
.svc--rev .svc__media { order: 2; }
.svc__media { position: relative; height: 460px; }
.svc__media img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -32px rgba(31,42,51,.55); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc__media img:first-child { inset: 0 22% 12% 0; width: 78%; height: 88%; }
.svc__media img:last-child { width: 46%; height: 52%; right: 0; bottom: 0; border: 6px solid var(--bg); }
.svc:hover .svc__media img:first-child { transform: translate(-6px, -6px); }
.svc:hover .svc__media img:last-child { transform: translate(6px, 6px); }
.svc__no { font: 800 13px/1 var(--head); color: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.svc__body h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 12px; }
.svc__body > p:not(.quote) { color: var(--muted); }
.quote { font: 700 16.5px/1.5 var(--head); padding: 14px 18px; background: var(--red-soft); border-radius: 12px; color: var(--red-d); }

/* gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filters button { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); font: 700 14px/1 var(--head); cursor: pointer; transition: .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.gallery { columns: 4 230px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; animation: pop .45s both; background: #fff; }
.gallery figure.hide { display: none; }
.gallery img { width: 100%; transition: transform .7s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.95); border-radius: 9px; padding: 6px 10px; font: 700 12.5px/1.2 var(--head); color: var(--ink); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }

/* process path */
.path { position: relative; }
.path__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
.path__line path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: calc(var(--len, 1200) * (1 - var(--p, 0))); }
.path__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pstep { text-align: center; padding-top: 20px; }
.pstep span { width: 76px; height: 76px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--red); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s, border-color .4s; }
.pstep.done span { transform: translateY(-6px) rotate(-4deg); border-color: var(--red); box-shadow: 0 18px 30px -16px rgba(214,55,62,.6); }
.pstep b { font: 800 19px/1.2 var(--head); }
.pstep p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .35s, box-shadow .35s; }
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.client svg { width: 46px; height: 46px; padding: 9px; border-radius: 14px; background: var(--red-soft); fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 14px; }
.client b { font: 800 17px/1.25 var(--head); display: block; margin-bottom: 8px; }
.client p { font-size: 14.5px; color: var(--muted); }
.note { text-align: center; margin-top: 36px; font: 700 18px/1.4 var(--head); color: var(--ink-2); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__head h2 { margin-bottom: 14px; }
.faq__head p:not(.pill) { color: var(--muted); margin-bottom: 22px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #e9c9ca; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 34px 16px 0; font: 700 16.5px/1.4 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; background: var(--red-soft); color: var(--red-d); display: grid; place-items: center; font-size: 20px; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p:not(.pill) { color: var(--muted); }
.cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.cinfo > * { display: grid; gap: 2px; padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.cinfo > a:hover { border-color: var(--red); transform: translateY(-3px); }
.cinfo svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.cinfo small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cinfo b { font: 700 15.5px/1.35 var(--head); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.form.flash { animation: flash 1.2s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 6px var(--red-soft), var(--shadow); } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font: 700 13px/1 var(--head); color: var(--ink-2); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-soft); }
.form .invalid { border-color: var(--red); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; }
.form__hint.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* photo attachments */
.photos { display: grid; gap: 8px; }
.photos__label { font: 700 13px/1 var(--head); color: var(--ink-2); }
.photos__label small, .photos__note { font: 400 13px/1.4 var(--body); color: var(--muted); }
.photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.form .photos__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1; border: 2px dashed var(--line); border-radius: 14px; background: var(--bg); color: var(--red); cursor: pointer; transition: border-color .25s, background .25s; text-align: center; padding: 6px; }
.form .photos__add:hover, .form .photos__add:focus-within { border-color: var(--red); background: var(--red-soft); }
.photos__add input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photos__add b { font: 800 30px/1 var(--head); }
.photos__add small { font: 600 11px/1.2 var(--head); color: var(--ink-2); }
.photos__add.is-full { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--stone); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(31,42,51,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.thumb.busy::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.6) center/26px no-repeat; }
.form-done { text-align: center; padding: 30px 10px; display: grid; gap: 12px; justify-items: center; }
.form-done svg { width: 64px; height: 64px; color: #2e7d4f; }
.form-done p { color: var(--muted); }

/* footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 60px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.footer__grid > div:first-child { align-items: flex-start; }
.footer__grid b { color: var(--ink); font: 800 15px/1 var(--head); margin-bottom: 6px; }
.footer__grid a:hover { color: var(--red-d); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: #8a949c; font-size: 13px; }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 800 20px/1 var(--head); color: var(--red); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }

/* overlays */
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; background: rgba(31,42,51,.88); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open, .modal.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 14px; }
.lb__close, .lb__prev, .lb__next { position: absolute; background: #fff; border: 0; color: var(--ink); width: 50px; height: 50px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: background .25s, color .25s; }
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: var(--red); color: #fff; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.modal__box { background: #fff; border-radius: 18px; padding: 40px; width: min(440px, 90vw); position: relative; }
.modal__box h3 { margin-bottom: 16px; }
.modal__box p { color: var(--muted); margin-bottom: 12px; }
.modal__box .lb__close { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 22px; box-shadow: none; background: var(--stone); }
.callbar { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.quick__grid .reveal:nth-child(2), .clients .reveal:nth-child(2) { transition-delay: .08s; }
.quick__grid .reveal:nth-child(3), .clients .reveal:nth-child(3) { transition-delay: .16s; }
.quick__grid .reveal:nth-child(4), .clients .reveal:nth-child(4) { transition-delay: .24s; }
.clients .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1100px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
  .quick__grid { grid-template-columns: 1fr 1fr; }
  .helper { grid-template-columns: 1fr; }
  .helper__opts { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
/* about / managing director – opens as a sheet from the menu */
html.no-scroll { overflow: hidden; }
.about-sheet { position: relative; background: var(--bg); border-radius: 26px; width: min(1060px, 92vw); max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; padding: 64px 56px 56px; transform: translateY(24px) scale(.98); transition: transform .35s; }
.modal.open .about-sheet { transform: none; }
.about-sheet .lb__close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 24px; box-shadow: none; background: var(--stone); }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.boss { position: relative; margin: 0; }
.boss::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: 28px; background: linear-gradient(135deg, var(--red-soft), var(--sky-bg)); }
.boss__photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--stone); }
.boss__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boss__tag { position: absolute; left: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.94); border-left: 4px solid var(--red); box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.boss__tag b { font: 800 18px/1.1 var(--head); color: var(--ink); }
.boss__tag span { font-size: 14px; color: var(--muted); }
.about__text p:not(.pill) { color: var(--muted); margin-top: 14px; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.values li { padding: 9px 16px; border-radius: 999px; background: var(--red-soft); color: #a8262d; font: 700 14px/1 var(--head); }
.about__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-sheet { width: 100vw; max-height: none; height: 100%; border-radius: 0; padding: 72px 20px 110px; }
  .boss { max-width: 420px; margin: 0 auto 0 0; width: calc(100% - 18px); }
}

@media (max-width: 900px) {
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .nav { position: fixed; inset: 0; background: rgba(248,246,243,.98); flex-direction: column; justify-content: center; align-items: center; gap: 24px; transform: translateX(100%); visibility: hidden; transition: transform .4s, visibility .4s; }
  .nav a { font-size: 22px; }
  .nav.open { transform: none; visibility: visible; }
  .burger { display: block; position: relative; z-index: 60; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding-top: 36px; }
  .hero__grid, .thermo, .svc, .faq, .contact { grid-template-columns: 1fr; gap: 36px; }
  .svc--rev .svc__media { order: 0; }
  .collage { height: 420px; }
  .section { padding: 76px 0; }
  .story { height: 380vh; }
  .story__sticky { top: 64px; height: calc(100vh - 64px); align-items: flex-start; padding-top: 18px; }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story h2 { font-size: 26px; }
  .story__intro, .story .pill { display: none; }
  .story__card { margin-top: 12px; min-height: 0; padding: 16px 18px; }
  .story__card b { font-size: 20px; }
  .story__card p { font-size: 15px; }
  .story__done { margin-top: 10px; font-size: 14px; }
  .stack-scene { margin-top: 6px; }
  .roof { max-height: 46vh; }
  .helper__out { grid-template-columns: 1fr; }
  .helper__img { aspect-ratio: 16 / 10; }
  .path__line { display: none; }
  .path__steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .svc { margin-bottom: 70px; }
  .svc__media { height: 360px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .totop { bottom: 76px; right: 14px; }
  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -8px 24px -12px rgba(31,42,51,.4); }
  .callbar a { padding: 16px; text-align: center; font: 700 15px/1 var(--head); background: #fff; }
  .callbar__red { background: var(--red) !important; color: #fff; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .logo-tile img { height: 40px; }
  .collage { height: 330px; }
  .collage__badge { display: none; }
  .quick__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .q { grid-template-columns: 1fr; padding: 14px; row-gap: 8px; }
  .q__ico { grid-row: auto; width: 44px; height: 44px; }
  .q small { display: none; }
  .helper { padding: 12px; border-radius: 18px; }
  .helper__opts { grid-template-columns: 1fr 1fr; }
  .helper__opts button { padding: 11px 10px; font-size: 13.5px; gap: 8px; }
  .helper__opts button span { width: 26px; height: 26px; }
  .checks--2, .cinfo, .form__row { grid-template-columns: 1fr; }
  .svc__media { height: 290px; }
  .clients { grid-template-columns: 1fr; }
  .path__steps { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}
