/* BauFix Greilich – Website v2 (mehrseitig)
   Schrift lokal: Archivo (SIL Open Font License). Keine externen Ressourcen. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0F0F11;
  --night: #141416;
  --ink: #1C1D20;
  --steel: #26282C;
  --grey: #3A3C41;
  --muted: #6B6862;
  --line: #E2DFD8;
  --paper: #F5F4F0;
  --white: #FFFFFF;
  --gold: #C9971E;
  --gold-light: #E2B84A;
  --gold-dark: #9C7414;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-stretch: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-stretch: 74%; font-weight: 760; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.02; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(42px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .015em; }
p { margin: 0; }
.eyebrow {
  font-size: 13px; font-weight: 650; font-stretch: 112%; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; max-width: 62ch; color: var(--muted); }
.dark .lead, .hero .lead { color: #C9C6BF; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--sans); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn-gold { color: var(--black); background: linear-gradient(135deg, #EDC968 0%, #D6A62C 45%, #B8891A 100%); box-shadow: 0 6px 18px rgba(201,151,30,.28), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-line { color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-dark { color: var(--white); background: var(--black); }
.btn-outline { color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); pointer-events: none; transition: left .6s ease; }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.btn-gold:hover { box-shadow: 0 10px 28px rgba(201,151,30,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:hover svg { transform: scale(1.12) rotate(-6deg); }
.btn:active { transform: translateY(1px) scale(.96); transition-duration: .08s; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none; background: rgba(255,255,255,.45); animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; text-decoration: none; color: var(--gold-dark); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }
.dark .link-arrow { color: var(--gold-light); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15,15,17,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); transition: background-color .3s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; transition: min-height .3s var(--ease); }
.scrolled .site-header .wrap { min-height: 64px; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand img { height: 42px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { position: relative; text-decoration: none; font-size: 14px; font-weight: 650; font-stretch: 108%; letter-spacing: .1em; text-transform: uppercase; color: #CFCCC5; padding: 6px 0; transition: color .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--white); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-btns { display: flex; gap: 10px; }
.nav-btns .btn { padding: 11px 20px; font-size: 13px; }
.btn-mail { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-mail:hover { background: var(--white); color: var(--black); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); width: 46px; height: 46px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .brand img { height: 40px; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-120%); transition: transform .35s var(--ease); }
  .menu-open .nav { transform: none; }
  .nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-btns { padding-top: 18px; }
  .nav-btns .btn { flex: 1; justify-content: center; }
  .site-header .wrap { min-height: 64px; }
}

/* ---------- hero with moving background ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); min-height: min(92vh, 900px); display: flex; align-items: center; padding-block: clamp(64px, 10vh, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-grid { position: absolute; inset: -60px; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 60px 60px; animation: gridmove 24s linear infinite; mask-image: radial-gradient(ellipse at 65% 50%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 65% 50%, #000 0%, transparent 75%); }
@keyframes gridmove { to { transform: translate(60px, 60px); } }
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; left: 45%; top: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(201,151,30,.22) 0%, rgba(201,151,30,0) 60%); animation: glow 16s ease-in-out infinite alternate; }
@keyframes glow { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12%, 18%) scale(1.15); } 100% { transform: translate(8%, 6%) scale(.95); } }
.hero-villa { position: absolute; right: -6%; top: 50%; width: min(78vw, 1250px); transform: translateY(calc(-50% + var(--py, 0px))); z-index: -1; pointer-events: none; }
.hero-villa svg { width: 100%; height: auto; display: block; animation: drift 22s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-2.5%, -1.5%) scale(1.04); } }
.hero-villa .dl { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + .2s); }
.hero-villa .df { opacity: 0; animation: fadein 1.6s ease forwards 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,20,22,.96) 0%, rgba(20,20,22,.82) 38%, rgba(20,20,22,.15) 72%, rgba(20,20,22,.35) 100%); pointer-events: none; }
.hero-inner { display: grid; gap: 28px; max-width: 700px; }
.hero-logo { width: min(620px, 100%); height: auto; }
.hero h1.slogan { font-size: clamp(22px, 2.6vw, 34px); font-stretch: 100%; letter-spacing: .06em; line-height: 1.3; color: #EDEBE6; }
.hero h1.slogan span { color: var(--gold-light); }
.hero .anim { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; }
.hero .anim:nth-child(2) { animation-delay: .15s; } .hero .anim:nth-child(3) { animation-delay: .3s; } .hero .anim:nth-child(4) { animation-delay: .45s; } .hero .anim:nth-child(5) { animation-delay: .6s; }
@keyframes up { to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-light); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-villa { width: 150vw; right: -55%; top: auto; bottom: -4%; transform: none; opacity: .55; }
  .hero::after { background: linear-gradient(180deg, rgba(20,20,22,.6) 0%, rgba(20,20,22,.88) 60%); }
  .scroll-hint { display: none; }
}

/* page hero (sub pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); padding-block: clamp(70px, 11vw, 140px) clamp(50px, 7vw, 90px); }
.page-hero .hero-grid { mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 70%); }
.page-hero .hero-glow { left: 60%; top: -40%; }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero .lead { color: #C9C6BF; }
.crumbs { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9D9A93; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; color: #CFCCC5; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* ---------- trust bar ---------- */
.trust { background: var(--black); color: #E6E3DC; border-top: 1px solid rgba(255,255,255,.08); }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust li { display: flex; gap: 14px; align-items: center; font-size: 15px; line-height: 1.35; }
.trust li strong { display: block; color: var(--white); font-stretch: 108%; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
.trust svg { width: 34px; height: 34px; flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.paper { background: var(--paper); }
.dark { background: var(--night); color: var(--white); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.section-head.split > div { display: grid; gap: 18px; max-width: 780px; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 34px 28px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,20,22,.12); border-color: var(--gold); }
.service .num { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.service svg { width: 52px; height: 52px; }
.service p { color: var(--muted); flex: 1; }
@media (max-width: 1080px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.proj-grid .wide { grid-column: 1 / -1; }
.card { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--black); color: var(--white); text-decoration: none; aspect-ratio: 4 / 3; isolation: isolate; }
.card.wide { aspect-ratio: 21 / 9; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.card:hover img { transform: scale(1.06); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,15,17,0) 35%, rgba(15,15,17,.9) 100%); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 38px); display: grid; gap: 10px; }
.card .meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #D9D5CC; }
.card h3 { font-size: clamp(22px, 2.6vw, 36px); max-width: 24ch; }
.card .tag { position: absolute; top: 20px; left: 20px; background: rgba(15,15,17,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--gold-light); border: 1px solid rgba(201,151,30,.5); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card .link-arrow { color: var(--gold-light); }
@media (max-width: 760px) {
  .proj-grid { grid-template-columns: 1fr; gap: 18px; }
  .card, .card.wide { aspect-ratio: 4 / 3.4; }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 34px 26px 10px 0; display: grid; gap: 12px; align-content: start; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-size: clamp(44px, 5vw, 64px); font-weight: 760; font-stretch: 74%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--gold); transition: width 1.2s var(--ease); transition-delay: var(--d, 0s); }
.steps li.in::after { width: 70%; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- about (short) ---------- */
.about { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about figure { margin: 0; position: relative; }
.about figure img { border-radius: 20px; width: 100%; }
.about figure::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 20px; z-index: -1; }
.about-text { display: grid; gap: 22px; }
.about-text p { font-size: 19px; color: var(--grey); max-width: 56ch; }
.about-sign { font-weight: 760; font-stretch: 80%; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; }
.about-sign span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--gold-dark); font-stretch: 108%; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about figure { max-width: 360px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--gold); box-shadow: 0 12px 30px rgba(20,20,22,.07); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); padding-block: clamp(70px, 9vw, 120px); }
.cta .hero-grid { mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%); z-index: -1; }
.cta .hero-glow { left: 20%; top: -60%; z-index: -1; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta h2 { max-width: 16ch; }
.cta-contact { display: grid; gap: 14px; }
.cta-contact a, .cta-contact div { display: flex; align-items: center; gap: 14px; font-size: 19px; text-decoration: none; color: #EDEBE6; }
.cta-contact svg { width: 22px; height: 22px; color: var(--gold-light); flex: none; }
.cta-contact a:hover { color: var(--gold-light); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- leistungen detail ---------- */
.svc-detail { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 28px 48px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail svg { width: 64px; height: 64px; }
.svc-detail .txt { display: grid; gap: 16px; align-content: start; }
.svc-detail .txt p { color: var(--grey); font-size: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.checks li { position: relative; padding: 14px 18px 14px 50px; background: var(--paper); border-radius: 12px; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- case study ---------- */
.case-hero-img { position: relative; margin: 0; background: var(--black); }
.case-hero-img img { width: 100%; max-height: 82vh; object-fit: cover; }
.case-hero-img figcaption { position: absolute; right: 16px; top: 14px; font-size: 13px; color: #fff; background: rgba(15,15,17,.6); padding: 6px 12px; border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: -60px; position: relative; z-index: 2; background: var(--white); box-shadow: 0 24px 50px rgba(20,20,22,.10); }
.facts div { padding: 24px 26px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.facts dd { margin: 0; font-weight: 650; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; margin-top: -30px; } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts div { border-left: 0; border-top: 1px solid var(--line); } .facts div:first-child { border-top: 0; } }
.case-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); }
.case-body .txt { display: grid; gap: 20px; align-content: start; }
.case-body .txt p { font-size: 19px; color: var(--grey); }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } }

/* before / after slider */
.ba-list { display: grid; gap: clamp(36px, 5vw, 64px); }
.ba-item { display: grid; gap: 14px; }
.ba-item h3 { font-size: clamp(20px, 2vw, 26px); }
.ba-slider { position: relative; overflow: hidden; border-radius: 18px; background: var(--black); aspect-ratio: var(--ar, 16/9); max-height: 82vh; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--white); z-index: 2; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: linear-gradient(135deg, #EDC968, #B8891A); color: var(--black); font-weight: 800; font-size: 22px; display: grid; place-items: center; letter-spacing: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba-slider input:focus-visible ~ .ba-handle::after { outline: 3px solid var(--white); outline-offset: 3px; }
.ba-lbl { position: absolute; top: 16px; z-index: 2; pointer-events: none; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(15,15,17,.72); color: var(--white); }
.ba-lbl.l { left: 16px; } .ba-lbl.r { right: 16px; background: var(--gold); color: var(--black); }
.ba-hint { font-size: 14px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; display: grid; gap: 10px; }
.gallery .g-img { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-nav a { display: grid; gap: 6px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.case-nav a:hover { border-color: var(--gold); transform: translateY(-3px); }
.case-nav small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.case-nav strong { font-stretch: 85%; text-transform: uppercase; font-size: 19px; line-height: 1.2; }
.case-nav .next { text-align: right; }
@media (max-width: 640px) { .case-nav { grid-template-columns: 1fr; } .case-nav .next { text-align: left; } }

/* contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: grid; gap: 12px; padding: 32px 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(20,20,22,.1); border-color: var(--gold); }
.contact-card svg { width: 30px; height: 30px; color: var(--gold); }
.contact-card .label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.contact-card .value { font-size: 20px; font-weight: 650; line-height: 1.35; word-break: break-word; }
.contact-card small { color: var(--muted); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #A9A69F; padding-block: 70px 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img { width: 220px; height: auto; margin-bottom: 18px; }
.foot-grid h4 { margin: 0 0 14px; color: var(--white); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; color: #CFCCC5; transition: color .2s; }
.foot-grid a:hover { color: var(--gold-light); }
.foot-slogan { color: var(--gold-light); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-top: 12px; }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform: translateY(140%); transition: transform .4s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
  .show-callbar .callbar { transform: none; }
  .callbar .btn { justify-content: center; padding: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
  .callbar .btn-dark { border-color: rgba(255,255,255,.2); }
  body { padding-bottom: 0; }
}

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,10,12,.92); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 10px; }
.lb-close { position: fixed; top: 16px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--black); font-size: 28px; line-height: 1; cursor: pointer; }

/* legal */
.legal { padding-block: clamp(60px, 8vw, 110px); }
.legal .wrap { max-width: 860px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin-top: 22px; }
.legal p, .legal li, .legal address { color: var(--grey); font-style: normal; }
.legal a { color: var(--gold-dark); }
.stand { font-size: 14px; color: var(--muted); margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-villa .dl { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
.page-hero h1 { font-size: clamp(32px, 6.4vw, 84px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.stats { list-style: none; margin: 6px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); }
.stats li { display: grid; gap: 4px; }
.stats strong { font-size: clamp(44px, 5vw, 64px); font-weight: 760; font-stretch: 74%; line-height: 1; color: var(--gold); }
.stats span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: var(--grey); line-height: 1.3; }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats li { align-content: start; }
