/* =========================================================
   Isar Constructions UG — Premium Dark / Cinematic Stylesheet
   Anthrazit · Gold · Off-White
   ========================================================= */

@import url("../fonts/fonts.css");

:root {
  /* Backgrounds */
  --bg:        #0D0E11;
  --bg-2:      #14161A;
  --bg-3:      #181B20;
  --surface:   #1C1F25;
  --surface-2: #23262D;
  --concrete:  #2A2D33;

  /* Brand */
  --gold:       #C9A961;
  --gold-light: #E2C988;
  --gold-dark:  #A6884A;

  /* Text */
  --cream:     #F4F2EC;
  --text:      #F1EFE9;
  --text-soft: #B7B9BE;
  --text-mute: #888B92;

  /* Lines */
  --line:      rgba(201, 169, 97, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-mute: rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 14px 40px rgba(201, 169, 97, 0.28);

  /* Image overlays (rescue amateur photos) */
  --ov-soft: linear-gradient(180deg, rgba(13,14,17,0.10) 0%, rgba(13,14,17,0.55) 60%, rgba(13,14,17,0.92) 100%);
  --ov-card: linear-gradient(180deg, rgba(13,14,17,0.15) 0%, rgba(13,14,17,0.50) 55%, rgba(13,14,17,0.90) 100%);
  --ov-hero: linear-gradient(180deg, rgba(13,14,17,0.45) 0%, rgba(13,14,17,0.35) 35%, rgba(13,14,17,0.75) 80%, rgba(13,14,17,0.96) 100%);

  --container: 1280px;
  --radius:    6px;
  --radius-lg: 16px;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --header-h:  84px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--concrete); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 22px; } }

/* ---------- Typography helpers ---------- */
.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.accent {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn .arrow { font-size: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary { background: var(--gold); color: #15130C; box-shadow: 0 8px 24px rgba(201,169,97,0.18); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--glow-gold); }

.btn-ghost { background: rgba(255,255,255,0.02); color: var(--cream); border-color: rgba(244,242,236,0.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,169,97,0.06); }

.btn-dark { background: var(--surface); color: var(--cream); border-color: var(--line-soft); }
.btn-dark:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-lg { padding: 19px 38px; font-size: 15px; }
.btn-block { width: 100%; }

/* Text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.link-more::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-more:hover::after { transform: translateX(5px); }
.link-more:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.header.scrolled {
  background: rgba(13, 14, 17, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { height: 50px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; color: var(--cream); }
.logo-text small { font-size: 9.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
@media (max-width: 768px) { .logo-mark { height: 42px; } }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-soft); position: relative; padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--gold);
}
.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span { width: 24px; height: 1.6px; background: var(--cream); transition: all 0.35s var(--ease); transform-origin: center; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 980px) {
  /* On mobile the scrolled header must NOT use backdrop-filter:
     it would become the containing block for the fixed nav overlay
     and shrink it to header height. Use a solid background instead. */
  .header.scrolled {
    background: rgba(13,14,17,0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav {
    position: fixed; inset: 0; top: 0;
    flex-direction: column; justify-content: center; gap: 8px;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 24px; font-family: "Cormorant Garamond", serif; color: var(--cream); padding: 14px 0; }
  .nav a.active::after { display: none; }
  .menu-toggle { display: flex; z-index: 100; }
  .header-cta .btn { display: none; }
  .header-cta .menu-toggle { display: flex; }
}

/* ---------- Section system ---------- */
.section { padding: 130px 0; position: relative; }
.section-sm { padding: 90px 0; }
@media (max-width: 768px) { .section { padding: 84px 0; } .section-sm { padding: 60px 0; } }

.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); opacity: 0.7; }
.eyebrow.center { justify-content: center; }

.h-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.06; font-weight: 600; letter-spacing: -0.01em;
  color: var(--cream); max-width: 760px;
}
.h-title .accent { display: inline; }
.h-sub { font-size: 17.5px; line-height: 1.7; color: var(--text-soft); max-width: 620px; margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 64px; }
.section-head .h-sub { margin-top: 14px; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.center-head .h-title { margin: 0 auto; }
.center-head .h-sub { margin: 22px auto 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- HERO (cinematic) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--ov-hero); }
.hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%; padding: 0 40px 92px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 1.0; font-weight: 600; letter-spacing: -0.015em;
  color: var(--cream); max-width: 14ch; margin-bottom: 30px;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--text-soft); max-width: 560px; margin-bottom: 40px; }
.hero-sub strong { color: var(--cream); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-mute); }
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollline 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollline { 0%,100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(var(--header-h) + 28px); padding-bottom: 64px; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--container); margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 30px; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: none; }
.trust-item .ic { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.trust-item b { display: block; font-size: 14px; color: var(--cream); font-weight: 600; }
.trust-item span { font-size: 12px; color: var(--text-mute); }
@media (max-width: 880px) {
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 480px) {
  .trustbar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .trust-item:last-child { border-bottom: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--bg); padding: 22px 0; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 42s linear infinite; }
.marquee-item { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 22px; color: var(--text-soft); padding: 0 34px; display: flex; align-items: center; gap: 34px; white-space: nowrap; }
.marquee-item::after { content: "◆"; color: var(--gold); font-size: 9px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Positioning / statement ---------- */
.statement { text-align: center; max-width: 940px; margin: 0 auto; }
.statement p { font-family: "Cormorant Garamond", serif; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; font-weight: 500; color: var(--cream); }
.statement p em { font-style: italic; color: var(--gold); }

/* ---------- Service cards (image bg + overlay) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; isolation: isolate; border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease);
}
.service-card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 0.8s var(--ease-out); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov-card); transition: opacity 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); border-color: var(--line); }
.service-card:hover .bg { transform: scale(1.07); }
.service-card .s-num { font-family: "Cormorant Garamond", serif; font-size: 15px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: auto; }
.service-card h3 { font-size: 25px; font-weight: 700; color: var(--cream); margin: 18px 0 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 18px; line-height: 1.6; }
.service-card .link-more { font-size: 13px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 340px; } }

/* ---------- Signature project (split cinematic) ---------- */
.signature { position: relative; overflow: hidden; }
.signature-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 0; }
.signature-media { position: relative; min-height: 560px; overflow: hidden; }
.signature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg-2) 100%); }
.signature-body { background: var(--bg-2); padding: 80px clamp(32px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.signature-body .h-title { font-size: clamp(30px, 3.6vw, 48px); }
.signature-meta { display: flex; gap: 34px; margin: 30px 0; flex-wrap: wrap; }
.signature-meta .m b { display: block; font-size: 22px; color: var(--gold); font-family: "Cormorant Garamond", serif; }
.signature-meta .m span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }
@media (max-width: 900px) {
  .signature-grid { grid-template-columns: 1fr; }
  .signature-media { min-height: 320px; }
  .signature-media::after { background: linear-gradient(180deg, transparent 55%, var(--bg-2) 100%); }
}

/* ---------- Before / After slider ---------- */
.ba-wrap { max-width: 1040px; margin: 0 auto; }
.ba { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-layer { clip-path: inset(0 0 0 50%); }
.ba .ba-label { position: absolute; bottom: 18px; z-index: 4; font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; padding: 7px 14px; background: rgba(13,14,17,0.7); color: var(--cream); border: 1px solid var(--line-soft); border-radius: 100px; backdrop-filter: blur(4px); }
.ba .lbl-before { left: 18px; }
.ba .lbl-after { right: 18px; color: var(--gold); border-color: var(--line); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold); z-index: 5; transform: translateX(-50%); }
.ba-handle .grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #15130C; display: grid; place-items: center; font-size: 15px; font-weight: 700; box-shadow: var(--glow-gold); }
.ba-cap { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-mute); letter-spacing: 0.04em; }
.ba-wrap.portrait { max-width: 600px; }
.ba.portrait { aspect-ratio: 3/4; }
.ba-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 880px; margin: 0 auto; }
.ba-duo .ba-wrap.portrait { max-width: 100%; }
@media (max-width: 720px) { .ba-duo { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Project gallery grid ---------- */
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); aspect-ratio: 4/5; isolation: isolate; transition: transform 0.5s var(--ease-out); }
.project-card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 0.8s var(--ease-out); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov-card); }
.project-card:hover { transform: translateY(-5px); }
.project-card:hover .bg { transform: scale(1.06); }
.project-card .info { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; }
.project-card .tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 14px; }
.project-card h3 { font-size: 23px; font-weight: 600; color: var(--cream); margin-bottom: 5px; letter-spacing: -0.01em; }
.project-card .meta { font-size: 13px; color: var(--text-soft); }
.project-card.span-8 { grid-column: span 8; aspect-ratio: 16/10; }
.project-card.span-6 { grid-column: span 6; aspect-ratio: 3/2; }
.project-card.span-4 { grid-column: span 4; }
.project-card.span-12 { grid-column: span 12; aspect-ratio: 21/9; }
@media (max-width: 900px) {
  .project-card.span-8, .project-card.span-6, .project-card.span-4, .project-card.span-12 { grid-column: span 12; aspect-ratio: 4/3; }
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
.step { padding: 40px 32px 40px 0; border-right: 1px solid var(--line-soft); position: relative; }
.step:last-child { border-right: none; padding-right: 0; }
.step .num { font-family: "Cormorant Garamond", serif; font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: 22px; }
.step h4 { font-size: 20px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-soft); }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } .step { padding: 30px 26px 30px 0; } .step:nth-child(2) { border-right: none; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } .step { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 28px 0; } .step:last-child { border-bottom: none; } }

/* ---------- B2B band ---------- */
.b2b { position: relative; overflow: hidden; background: var(--bg-3); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.b2b::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(201,169,97,0.10), transparent 55%); }
.b2b-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.b2b-list { display: grid; gap: 2px; }
.b2b-list .row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.b2b-list .row:last-child { border-bottom: none; }
.b2b-list .ck { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; font-size: 13px; }
.b2b-list .row b { display: block; color: var(--cream); font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.b2b-list .row span { font-size: 13.5px; color: var(--text-soft); }
@media (max-width: 900px) { .b2b-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.adv-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.adv-item .ck { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(201,169,97,0.08); border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.adv-item b { display: block; font-size: 15px; color: var(--cream); margin-bottom: 4px; }
.adv-item p { font-size: 13px; color: var(--text-mute); }
@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr; gap: 44px; } .adv-list { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { text-align: center; padding: 54px 24px; border-right: 1px solid var(--line-soft); }
.stat-item:last-child { border-right: none; }
.stat-item .big { font-family: "Cormorant Garamond", serif; font-size: clamp(46px, 6vw, 76px); font-weight: 600; color: var(--gold); line-height: 1; }
.stat-item .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); margin-top: 16px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr; } .stat-item { border-right: none; border-bottom: 1px solid var(--line-soft); } .stat-item:last-child { border-bottom: none; } }

/* ---------- CTA banner ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 130px 40px; background: var(--bg-2); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(201,169,97,0.10), transparent 55%), radial-gradient(circle at 75% 60%, rgba(201,169,97,0.07), transparent 55%); }
.cta > * { position: relative; }
.cta h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(36px, 5.2vw, 70px); font-weight: 600; line-height: 1.05; color: var(--cream); margin-bottom: 18px; }
.cta h2 .accent { color: var(--gold); }
.cta p { font-size: 18px; color: var(--text-soft); max-width: 540px; margin: 0 auto 38px; }

/* ---------- Footer ---------- */
.footer { background: #0A0B0E; border-top: 1px solid var(--line-soft); padding: 90px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 64px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { font-size: 14px; color: var(--text-soft); max-width: 320px; margin-bottom: 24px; }
.footer-contact { display: grid; gap: 8px; font-size: 14px; color: var(--text-soft); }
.footer-contact a:hover { color: var(--gold); }
.footer h5 { color: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { font-size: 14px; color: var(--text-soft); transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-mute); padding-top: 30px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-mute); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(13,14,17,0.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); }
.sticky-cta .btn { flex: 1; padding: 14px; }
@media (max-width: 768px) { .sticky-cta { display: flex; gap: 10px; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 80px; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.page-hero.has-media { padding: calc(var(--header-h) + 130px) 0 90px; }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: var(--ov-hero); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: "Cormorant Garamond", serif; font-size: clamp(40px, 5.5vw, 80px); line-height: 1.03; font-weight: 600; letter-spacing: -0.015em; color: var(--cream); max-width: 16ch; margin-bottom: 22px; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero .lead { font-size: 19px; color: var(--text-soft); max-width: 620px; }
.crumbs { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { margin: 0 10px; color: var(--gold); }

/* ---------- Two-column content ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; align-items: start; }
.two-col .side { position: sticky; top: calc(var(--header-h) + 30px); }
.two-col .side h3 { font-family: "Cormorant Garamond", serif; font-size: 28px; color: var(--cream); font-weight: 600; margin-bottom: 16px; }
.two-col .side p { color: var(--text-soft); font-size: 15px; }
.two-col .body > p { font-size: 17px; color: var(--text-soft); margin-bottom: 20px; line-height: 1.75; }
.two-col .body h3 { font-family: "Cormorant Garamond", serif; font-size: 26px; color: var(--cream); margin: 36px 0 14px; font-weight: 600; }
.two-col .body ul { list-style: none; display: grid; gap: 12px; margin: 8px 0 24px; }
.two-col .body ul li { padding-left: 26px; position: relative; color: var(--text-soft); font-size: 15.5px; }
.two-col .body ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } .two-col .side { position: static; } }

/* ---------- Feature cards (leistungen) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 40px 36px; transition: all 0.4s var(--ease); position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.feature-card:hover { border-color: var(--line); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .num { font-family: "Cormorant Garamond", serif; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.feature-card h3 { font-size: 23px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.feature-card p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 18px; }
.feature-card ul { list-style: none; display: grid; gap: 0; }
.feature-card ul li { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--text-soft); display: flex; align-items: center; gap: 12px; }
.feature-card ul li:last-child { border-bottom: none; }
.feature-card ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Job cards ---------- */
.jobs-grid { display: grid; gap: 16px; }
.job-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 32px 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: all 0.3s var(--ease); }
.job-card:hover { border-color: var(--line); transform: translateX(5px); }
.job-card h3 { font-size: 21px; font-weight: 700; color: var(--cream); margin-bottom: 8px; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-mute); }
.job-card .meta span { display: inline-flex; align-items: center; gap: 7px; }
.job-card .meta span::before { content: "◆"; color: var(--gold); font-size: 7px; }
@media (max-width: 620px) { .job-card { flex-direction: column; align-items: flex-start; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 9px; }
.form input, .form textarea, .form select { width: 100%; padding: 16px 18px; font-family: inherit; font-size: 15px; color: var(--cream); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); background: var(--surface-2); }
.form textarea { resize: vertical; min-height: 150px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A961' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-soft); }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.form-check a { color: var(--gold); text-decoration: underline; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Contact info card */
.contact-card { background: var(--surface); border: 1px solid var(--line-soft); padding: 40px; border-radius: var(--radius-lg); }
.contact-card h3 { font-family: "Cormorant Garamond", serif; font-size: 24px; color: var(--gold); margin-bottom: 24px; }
.contact-card .info-row { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-card .info-row:last-child { border-bottom: none; }
.contact-card .info-row .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 5px; }
.contact-card .info-row .val { font-size: 16px; color: var(--cream); }
.contact-card .info-row a:hover { color: var(--gold); }

/* ---------- Legal ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-family: "Cormorant Garamond", serif; font-size: 26px; color: var(--cream); margin: 40px 0 16px; font-weight: 600; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 17px; color: var(--cream); margin: 26px 0 12px; font-weight: 600; }
.legal-content p { color: var(--text-soft); font-size: 15px; margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin: 0 0 14px 22px; color: var(--text-soft); font-size: 15px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--gold); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 1000; background: var(--surface); color: var(--cream); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); max-width: 1180px; margin: 0 auto; opacity: 0; transform: translateY(20px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.cookie-banner.cookie-visible { opacity: 1; transform: none; }
.cookie-content { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cookie-text strong { display: block; font-size: 15px; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.cookie-text p { font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 12px 22px; font-size: 13px; font-weight: 600; border-radius: var(--radius); border: 1px solid transparent; transition: all 0.25s var(--ease); white-space: nowrap; }
.cookie-reject { background: transparent; color: var(--cream); border-color: var(--line-soft); }
.cookie-reject:hover { border-color: var(--cream); }
.cookie-accept { background: var(--gold); color: #15130C; }
.cookie-accept:hover { background: var(--gold-light); }
@media (max-width: 720px) {
  .cookie-banner { padding: 20px; bottom: 84px; left: 8px; right: 8px; }
  .cookie-content { grid-template-columns: 1fr; gap: 16px; }
  .cookie-buttons { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.maxw-720 { max-width: 720px; }

/* ---------- Geführter Foto-Rundgang ---------- */
.walk { max-width: 860px; margin: 0 auto; }
.btn-sm { padding: 11px 20px; font-size: 13px; }
.walk-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  background: #000; border: 1px solid var(--line-soft);
  box-shadow: 0 50px 130px rgba(0,0,0,0.6); touch-action: pan-y;
}
.walk-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 0.9s var(--ease);
  animation: walkKen 16s ease-in-out infinite alternate; will-change: opacity, transform;
}
.walk-img.is-active { opacity: 1; z-index: 1; }
@keyframes walkKen { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.walk-grad {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0) 42%);
  box-shadow: inset 0 0 90px rgba(0,0,0,0.45);
}
.walk-counter {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  font-size: 11px; letter-spacing: 0.14em; color: var(--cream);
  background: rgba(13,14,17,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 13px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.12);
}
.walk-cap { position: absolute; left: 24px; bottom: 22px; z-index: 4; pointer-events: none; }
.walk-room { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; color: #fff; line-height: 1.1; }
.walk-sub { display: block; margin-top: 4px; font-size: 13.5px; letter-spacing: 0.02em; color: rgba(255,255,255,0.78); }
.walk-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: var(--cream); padding-bottom: 3px;
  background: rgba(13,14,17,0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.walk-nav:hover { background: rgba(201,169,97,0.92); color: #0D0E11; border-color: var(--gold); }
.walk-prev { left: 16px; }
.walk-next { right: 16px; }
.walk-auto {
  position: absolute; left: 16px; top: 16px; z-index: 5; display: inline-flex;
  align-items: center; gap: 9px; cursor: pointer; color: #0D0E11;
  background: rgba(201,169,97,0.94); border: 0; padding: 9px 16px 9px 12px; border-radius: 100px;
  box-shadow: 0 12px 40px rgba(201,169,97,0.4); transition: transform 0.25s var(--ease);
}
.walk-auto:hover { transform: translateY(-1px); }
.walk-auto-ic { font-size: 11px; }
.walk-auto-tx { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.walk.is-playing .walk-auto { background: rgba(13,14,17,0.55); color: var(--cream); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.walk.is-playing .walk-auto-ic::before { content: "❚❚"; }
.walk.is-playing .walk-auto-ic { font-size: 0; }
.walk.is-playing .walk-auto-ic::before { font-size: 9px; letter-spacing: 1px; }
.walk-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.walk-dot {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-size: 12px; letter-spacing: 0.04em; color: var(--text-mute);
  background: transparent; border: 1px solid var(--line-soft); padding: 8px 15px; border-radius: 100px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.walk-dot-i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-soft); transition: background 0.25s var(--ease); }
.walk-dot:hover { color: var(--cream); border-color: var(--gold); }
.walk-dot.active { color: #0D0E11; background: var(--gold); border-color: var(--gold); }
.walk-dot.active .walk-dot-i { background: #0D0E11; }
.walk-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--text-mute); font-size: 13px; }

@media (max-width: 768px) {
  .walk-room { font-size: 24px; }
  .walk-sub { font-size: 12.5px; }
  .walk-nav { width: 42px; height: 42px; font-size: 22px; }
  .walk-cap { left: 16px; bottom: 16px; }
  .walk-foot { justify-content: center; text-align: center; }
  .walk-dot-l { display: none; }
  .walk-dot { padding: 9px; }
  .walk-dot-i { width: 7px; height: 7px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: clamp(16px, 4vw, 56px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage {
  position: relative; max-width: 1180px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb-figure {
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%; max-height: 78vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lb-img.loaded { opacity: 1; transform: scale(1); }
.lb-caption {
  color: var(--text-soft); font-size: 0.92rem; letter-spacing: 0.01em;
  text-align: center; max-width: 60ch; line-height: 1.5;
}
.lb-caption b { color: var(--text); font-weight: 600; }
.lb-count { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 22, 26, 0.72); color: var(--text);
  border: 1px solid var(--line-soft); cursor: pointer;
  font-size: 1.5rem; line-height: 1; z-index: 3;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lb-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.lb-prev { left: -8px; }
.lb-next { right: -8px; }
.lb-close {
  position: fixed; top: clamp(14px, 3vw, 30px); right: clamp(14px, 3vw, 30px);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 22, 26, 0.72); color: var(--text);
  border: 1px solid var(--line-soft); cursor: pointer;
  font-size: 1.4rem; line-height: 1; z-index: 4;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lb-close:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
body.lb-lock { overflow: hidden; }
@media (max-width: 720px) {
  .lb-btn { width: 44px; height: 44px; font-size: 1.25rem; }
  .lb-prev { left: 0; } .lb-next { right: 0; }
  .lb-img { max-height: 70vh; }
}

/* ---------- Referenzen-Filter ---------- */
.ref-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 0 38px;
}
.ref-filter button {
  appearance: none; cursor: pointer;
  padding: 9px 20px; border-radius: 100px;
  background: var(--surface); color: var(--text-soft);
  border: 1px solid var(--line-soft); font-size: 0.9rem; letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ref-filter button:hover { color: var(--text); border-color: var(--line); }
.ref-filter button.active {
  background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 600;
}
.project-card.is-hidden { display: none; }

/* ---------- Passende Projekte (Leistung → Referenz) ---------- */
.rel-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .rel-projects { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: none; }
}
