/* GN Dach GmbH — black / silver / red, matching the logo */
:root {
  --red: #e3262b;
  --red-d: #b3141a;
  --bg: #0a0a0c;
  --panel: #121215;
  --line: #24242a;
  --text: #e9e9ec;
  --muted: #9a9ca3;
  --light: #f3f3f1;
  --ink: #16171a;
  --radius: 14px;
  --head: 'Montserrat', '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: 84px; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
.red { color: var(--red); }
.metal { background: linear-gradient(180deg, #fff 0%, #e3e5e8 45%, #9ea3aa 62%, #eceef0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; margin-top: 40px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
.eyebrow { font: 700 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head .eyebrow { justify-content: center; }
.head p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 18px; }
.head--left { text-align: left; margin-left: 0; }
.head--left .eyebrow { justify-content: flex-start; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font: 700 15px/1 var(--head); letter-spacing: .02em; transition: transform .25s, box-shadow .25s, background .25s, color .25s; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -8px rgba(227,38,43,.6); }
.btn--red:hover { background: #f0393e; box-shadow: 0 14px 36px -8px rgba(227,38,43,.8); }
.btn--ghost { border: 1.5px solid #3a3b42; color: #fff; background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: #fff; }
.btn--white { background: #fff; color: var(--red-d); }
.btn--ghost-w { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, padding .35s; padding: 14px 0; }
.header.is-solid { background: rgba(8,8,10,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 6px 0; }
.header__inner { display: flex; align-items: center; gap: 28px; }
.header__logo img { height: 62px; width: auto; mix-blend-mode: lighten; transition: height .35s; }
.header.is-solid .header__logo img { height: 52px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 600 15px/1 var(--head); color: #d6d7da; position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .3s; }
.nav a:hover::after { right: 0; }
.header__phone { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--head); white-space: nowrap; }
.header__phone svg, .contact__list svg { width: 18px; height: 18px; fill: var(--red); stroke: var(--red); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; margin-left: auto; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px auto; transition: transform .3s, opacity .3s; }

/* hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; transform: scale(1.1); animation: kenburns 24s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 45%, rgba(227,38,43,.20), transparent 70%), linear-gradient(90deg, var(--bg) 25%, rgba(10,10,12,.55)); z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); z-index: 1; }
@keyframes kenburns { to { transform: scale(1.22) translate(-2%, -2%); } }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.4vw, 70px); font-weight: 900; margin-bottom: 24px; }
.hero__lead { font-size: 19px; color: #c3c5ca; max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; color: var(--muted); font-size: 15px; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.hero__facts b { color: #fff; font-weight: 600; }
.hero__visual { position: relative; aspect-ratio: 1 / .92; }
#rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__tag { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(18,18,21,.82); border: 1px solid var(--line); backdrop-filter: blur(8px); font: 600 13px/1 var(--head); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.hero__tag i { width: 10px; height: 10px; border-radius: 50%; }
.hero__tag--a { top: 30%; right: -2%; }
.hero__tag--a i { background: var(--red); box-shadow: 0 0 12px var(--red); }
.hero__tag--b { top: 62%; left: -4%; animation-delay: -2.5s; }
.hero__tag--b i { background: #ffb547; box-shadow: 0 0 12px #ffb547; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__script { position: absolute; bottom: -2%; right: 4%; font: 400 clamp(26px, 3vw, 40px)/1 'Kaushan Script', cursive; color: #fff; transform: rotate(-6deg); text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.hero__script::after { content: ""; display: block; height: 3px; margin-top: 10px; background: linear-gradient(90deg, transparent, var(--red)); border-radius: 3px; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; z-index: 3; width: 26px; height: 42px; border: 2px solid #4a4b52; border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* photo strip */
.strip { overflow: hidden; padding: 6px 0 20px; }
.strip__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip img { width: 300px; height: 210px; object-fit: cover; border-radius: 12px; filter: saturate(.85); transition: filter .3s, transform .3s; }
.strip img:hover { filter: none; transform: scale(1.03); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 120px 0; position: relative; }
.section--panel { background: var(--panel); }
.section--light { background: var(--light); color: var(--ink); }
.section--light .head p:not(.eyebrow), .section--light p { color: #4c4f56; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.05) 20%, rgba(10,10,12,.92) 72%); transition: background .4s; }
.card:hover img { transform: scale(1.08); }
.card:hover::before { background: linear-gradient(180deg, rgba(120,10,14,.25) 0%, rgba(10,10,12,.95) 70%); }
.card__body { padding: 28px; }
.card__no { font: 800 14px/1 var(--head); color: var(--red); letter-spacing: .15em; }
.card h3 { margin: 10px 0 10px; font-size: 24px; }
.card p { color: #c0c2c7; font-size: 15px; }
.card__more { display: inline-block; margin-top: 16px; font: 700 14px/1 var(--head); color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 4px; }

.ticker { margin-top: 70px; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { font: 800 28px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px #50525a; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }

/* roof build-up: 3D layers */
.aufbau { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.layers-list { list-style: none; counter-reset: l; display: grid; gap: 10px; }
.layers-list li { counter-increment: l; padding: 16px 20px 16px 64px; border-radius: 12px; border: 1px solid var(--line); position: relative; cursor: pointer; transition: border-color .3s, background .3s, transform .3s; }
.layers-list li::before { content: "0" counter(l); position: absolute; left: 20px; top: 17px; font: 800 15px/1 var(--head); color: #5d6068; transition: color .3s; }
.layers-list b { font: 700 17px/1.3 var(--head); display: block; }
.layers-list span { display: block; color: var(--muted); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s, margin .4s; }
.layers-list li.is-active { border-color: var(--red); background: rgba(227,38,43,.07); transform: translateX(6px); }
.layers-list li.is-active::before { color: var(--red); }
.layers-list li.is-active span { max-height: 80px; opacity: 1; margin-top: 6px; }

.stack-scene { height: 560px; perspective: 1800px; display: grid; place-items: center; }
.stack { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-40deg); }
.slab { position: absolute; inset: 0; transform-style: preserve-3d; --t: 22px; --z: 0px; transform: translateZ(var(--z)); transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .4s; cursor: pointer; }
.slab .top { position: absolute; inset: 0; transform: translateZ(var(--t)); }
.slab .side-l, .slab .side-r { position: absolute; }
.slab .side-l { left: 0; right: 0; bottom: 0; height: var(--t); transform-origin: bottom; transform: rotateX(-90deg); }
.slab .side-r { top: 0; bottom: 0; right: 0; width: var(--t); transform-origin: right; transform: rotateY(90deg); }
.slab--5 { --t: 46px; }
.slab--5 .top { background: #8f949b radial-gradient(circle at 30% 30%, #a3a8ae 0 1px, transparent 2px) 0 0/9px 9px; }
.slab--5 .side-l { background: #6d7178; } .slab--5 .side-r { background: #5b5f65; }
.slab--4 { --t: 6px; }
.slab--4 .top { background: linear-gradient(135deg, #7fb4d9, #b8d9ef 50%, #7fb4d9); opacity: .92; }
.slab--4 .side-l { background: #5a8fb5; } .slab--4 .side-r { background: #4c7da0; }
.slab--3 { --t: 58px; }
.slab--3 .top { background: #f2c14a repeating-linear-gradient(45deg, transparent 0 10px, rgba(160,110,10,.28) 10px 12px); }
.slab--3 .side-l { background: #e0ac2f repeating-linear-gradient(90deg, transparent 0 8px, rgba(150,95,0,.35) 8px 10px); }
.slab--3 .side-r { background: #c8961f repeating-linear-gradient(0deg, transparent 0 8px, rgba(150,95,0,.35) 8px 10px); }
.slab--2 { --t: 9px; }
.slab--2 .top { background: linear-gradient(135deg, #ef3b40, #b3141a); box-shadow: 0 0 40px rgba(227,38,43,.5); }
.slab--2 .side-l { background: #9a1015; } .slab--2 .side-r { background: #860d12; }
.slab--1 { --t: 16px; }
.slab--1 .top { background: radial-gradient(circle, #c9cbcf 0 1.5px, transparent 2.5px) 0 0/7px 7px, radial-gradient(circle, #45474c 0 1.5px, transparent 2.5px) 3px 3px/7px 7px, #6f7176; }
.slab--1 .side-l { background: #55575c; } .slab--1 .side-r { background: #46484c; }
/* closed = compact stack; open = exploded */
.stack .slab--5 { --z: 0px; } .stack .slab--4 { --z: 46px; } .stack .slab--3 { --z: 52px; } .stack .slab--2 { --z: 110px; } .stack .slab--1 { --z: 119px; }
.stack.is-open .slab--4 { --z: 110px; } .stack.is-open .slab--3 { --z: 190px; } .stack.is-open .slab--2 { --z: 300px; } .stack.is-open .slab--1 { --z: 380px; }
.stack.is-open { transform: rotateX(58deg) rotateZ(-40deg) translateZ(-190px); }
.stack { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.slab.is-active { filter: brightness(1.18) drop-shadow(0 0 18px rgba(227,38,43,.6)); }
.stack.is-open .slab.is-active { transform: translateZ(calc(var(--z) + 26px)); }

/* service details */
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail__grid--rev .detail__text { order: 2; }
.detail--alt { background: linear-gradient(180deg, var(--bg), #111114 50%, var(--bg)); }
.detail__text h2 { margin-bottom: 22px; }
.detail__text > p:not(.eyebrow):not(.detail__quote) { color: #b9bbc1; margin-bottom: 14px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; 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'/%3E%3C/svg%3E") center/12px no-repeat; }
.detail__quote { font: 600 18px/1.5 var(--head); border-left: 3px solid var(--red); padding-left: 18px; color: #fff; }
.mosaic { display: grid; gap: 14px; }
.mosaic--3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; height: 560px; }
.mosaic--3 figure:first-child { grid-row: span 2; }
.mosaic--2 { grid-template-columns: 1fr 1fr; height: 520px; }
.mosaic--2 figure:last-child { margin-top: 70px; }
.zoom { overflow: hidden; border-radius: var(--radius); position: relative; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zoom:hover img { transform: scale(1.07); }
.zoom::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 600 22px/1 var(--body); opacity: 0; transform: scale(.6); transition: .3s; }
.zoom:hover::after { opacity: 1; transform: none; }

/* terraces */
.terr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; height: 480px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about__pics { position: relative; height: 560px; }
.about__p1 { position: absolute; left: 0; top: 0; width: 78%; height: 78%; object-fit: cover; border-radius: var(--radius); }
.about__p2 { position: absolute; right: 0; bottom: 0; width: 52%; height: 58%; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--light); }
.about__badge { position: absolute; left: 6%; bottom: 4%; background: var(--red); color: #fff; padding: 20px 24px; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(227,38,43,.6); }
.about__badge b { display: block; font: 900 34px/1 var(--head); }
.about__badge span { font: 600 13px/1.3 var(--head); }
.about__text h2 { margin-bottom: 22px; color: var(--ink); }
.about__text p:not(.eyebrow) { margin-bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.values div { background: #fff; border-radius: 12px; padding: 18px; border-top: 3px solid var(--red); box-shadow: 0 10px 30px -18px rgba(0,0,0,.3); }
.values b { font: 800 16px/1.2 var(--head); display: block; color: var(--ink); }
.values span { font-size: 14px; color: #6b6e75; }
.process { margin-top: 120px; }
.process h2 { color: var(--ink); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 18px); opacity: .5; }
.steps li { text-align: center; position: relative; }
.steps span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #fff; border: 2px solid var(--red); font: 900 24px/1 var(--head); color: var(--red); box-shadow: 0 0 0 8px var(--light); transition: background .3s, color .3s; }
.steps li:hover span { background: var(--red); color: #fff; }
.steps b { font: 800 19px/1.2 var(--head); color: var(--ink); }
.steps p { font-size: 15px; margin-top: 8px; }

/* clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { padding: 30px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .35s, border-color .35s; }
.client:hover { transform: translateY(-8px); border-color: var(--red); }
.client svg { width: 46px; height: 46px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; }
.client b { font: 800 17px/1.25 var(--head); display: block; margin-bottom: 8px; }
.client p { font-size: 14.5px; color: var(--muted); }
.clients__note { text-align: center; margin-top: 44px; font: 600 18px/1.4 var(--head); color: #c9cbd0; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #c9cbd0; font: 600 14px/1 var(--head); cursor: pointer; transition: .25s; }
.filters button:hover { border-color: #fff; color: #fff; }
.filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in; animation: pop .5s both; }
.gallery figure.more:not(.show), .gallery figure.hide { display: none; }
.gallery img { width: 100%; transition: transform .7s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font: 600 13px/1.2 var(--head); transform: translateY(100%); transition: transform .35s; }
.gallery figure:hover figcaption { transform: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 110px 0; background: linear-gradient(120deg, #8e0e13, var(--red) 55%, #ff4a4f); text-align: center; }
#ctaRain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.cta__inner { position: relative; max-width: 820px; }
.cta h2 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; }
.cta p { color: #ffe1e2; font-size: 19px; margin-bottom: 34px; }
.cta .hero__actions { justify-content: center; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info h2 { margin-bottom: 20px; }
.contact__info > p:not(.eyebrow) { color: #b9bbc1; }
.contact__list { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s; }
.contact__list li:hover { border-color: var(--red); }
.contact__list svg { width: 22px; height: 22px; flex: none; }
.contact__list small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact__list a, .contact__list span { font: 600 17px/1.3 var(--head); }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 36px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), #ff7a7d); }
.form h3 { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font: 600 13px/1 var(--head); color: #c9cbd0; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid #2c2d33; background: #0c0c0e; color: #fff; font: 400 16px/1.4 var(--body); transition: border-color .25s, box-shadow .25s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,38,43,.15); }
.form .invalid { border-color: var(--red); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; }

/* footer */
.footer { background: #050506; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.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 b { color: #fff; font: 700 15px/1 var(--head); margin-bottom: 8px; }
.footer__grid a:hover { color: #fff; }
.footer__logo { width: 240px; mix-blend-mode: lighten; }
.footer__script { font: 400 26px/1 'Kaushan Script', cursive; color: #fff; margin-top: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: #6d7077; font-size: 13px; letter-spacing: .04em; }

/* overlays */
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); 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: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__close, .lb__prev, .lb__next { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .25s; }
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: var(--red); }
.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: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 40px; width: min(440px, 90vw); position: relative; }
.modal__box h3 { margin-bottom: 18px; }
.modal__box p { color: #c9cbd0; margin-bottom: 14px; }
.modal__box .lb__close { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 24px; }

.callbar { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .clients .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .clients .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4), .clients .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .3s; }
.clients .reveal:nth-child(5) { transition-delay: .4s; }
.hero .reveal:nth-child(2) { transition-delay: .1s; } .hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; } .hero .reveal:nth-child(5) { transition-delay: .4s; }

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

/* responsive */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; background: rgba(8,8,10,.97); flex-direction: column; justify-content: center; align-items: center; gap: 28px; transform: translateX(100%); visibility: hidden; transition: transform .4s, visibility .4s; }
  .nav a { font-size: 24px; }
  .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); }
  .header__cta { display: none; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero__scroll { display: none; }
  .hero__inner, .aufbau, .detail__grid, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .detail__grid--rev .detail__text { order: 0; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .section { padding: 84px 0; }
  .stack-scene { height: 600px; zoom: .8; overflow: hidden; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .terr__grid { grid-template-columns: 1fr 1fr; height: auto; }
  .terr__grid .terr__big { grid-column: span 2; height: 360px; }
  .terr__grid figure:not(.terr__big) { height: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
  .callbar a { padding: 16px; text-align: center; font: 700 15px/1 var(--head); background: #17171a; }
  .callbar__red { background: var(--red) !important; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header__logo img, .header.is-solid .header__logo img { height: 46px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 360px; }
  .checks { grid-template-columns: 1fr; }
  .mosaic--3 { height: 460px; }
  .mosaic--2 { height: 340px; }
  .about__pics { height: 400px; }
  .values { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .stack-scene { zoom: .6; height: 640px; }
  .hero__tag { font-size: 11px; padding: 8px 12px; }
  .hero__tag--b { left: 0; }
  .hero__tag--a { right: 0; }
  .ticker span { font-size: 20px; }
  .strip img { width: 220px; height: 160px; }
  .footer__grid { grid-template-columns: 1fr; }
}
