/* =========================================================
   NextGen Immobilien - Static Website
   Dateien: index.html, kontakt.html, impressum.html, datenschutz.html
   ========================================================= */

:root {
  --bg: #080806;
  --bg-2: #11110d;
  --surface: #15140f;
  --surface-2: #1d1b14;
  --text: #f8f3e7;
  --muted: rgba(248, 243, 231, .72);
  --muted-2: rgba(248, 243, 231, .54);
  --gold: #b58a2b;
  --gold-light: #d7b463;
  --gold-soft: rgba(181, 138, 43, .16);
  --line: rgba(255, 255, 255, .10);
  --white: #ffffff;
  --dark-text: #18160f;
  --paper: #f6f0e3;
  --paper-2: #fffaf1;
  --shadow: 0 28px 70px rgba(0, 0, 0, .36);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-h: 86px;
  font-synthesis-weight: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(181, 138, 43, .18), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(215, 180, 99, .10), transparent 28%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--gold-light);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 12px;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background: var(--bg);
  color: var(--text);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, .97), rgba(246, 240, 227, .98));
  color: var(--dark-text);
}

#leistungen {
  position: relative;
  overflow: hidden;
}

#leistungen::before {
  content: none;
}

#leistungen::after {
  content: none;
}

#leistungen > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 7.3rem);
}


h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: inherit;
  opacity: .9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0804;
  box-shadow: 0 16px 34px rgba(181, 138, 43, .24);
}

.btn-primary:hover {
  box-shadow: 0 22px 46px rgba(181, 138, 43, .34);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(215, 180, 99, .45);
  background: rgba(181, 138, 43, .10);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition:
    height .35s ease,
    background-color .75s ease,
    border-color .75s ease,
    backdrop-filter .75s ease;
}

.site-header.scrolled {
  height: 74px;
  background: rgba(255, 250, 241, .94);
  border-bottom-color: rgba(24, 22, 15, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 176px;
  min-width: 144px;
  position: relative;
}

.brand img {
  width: 100%;
  height: auto;
  transition: opacity .45s ease;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/ngi-logo-farbig.png") center / contain no-repeat;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.site-header.scrolled .brand:hover img,
.site-header.scrolled .brand:focus-visible img {
  opacity: 0;
}

.site-header.scrolled .brand:hover::after,
.site-header.scrolled .brand:focus-visible::after {
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: rgba(248, 243, 231, .92);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
}

.site-header.scrolled .main-nav a {
  color: rgba(24, 22, 15, .84);
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
  color: var(--dark-text);
  background: rgba(24, 22, 15, .08);
}

.main-nav .nav-cta {
  margin-left: 8px;
  color: #0b0905;
  background: var(--gold-light);
}

.main-nav .nav-cta:hover {
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(24, 22, 15, .18);
  background: rgba(255, 255, 255, .56);
  border-radius: 14px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark-text);
  margin: 5px 0;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, .96) 0%, rgba(8, 8, 6, .82) 42%, rgba(8, 8, 6, .35) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1900&q=82") center/cover;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    radial-gradient(circle at 70% 32%, rgba(181, 138, 43, .22), transparent 28%);
}

.contact-bg {
  background:
    linear-gradient(90deg, rgba(8, 8, 6, .95), rgba(8, 8, 6, .64)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1900&q=82") center/cover;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-16px, 10px, 0); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .62fr);
  gap: 50px;
  align-items: center;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-text {
  max-width: 690px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
  max-width: 660px;
}

.hero-stats article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--gold-light);
  letter-spacing: -.05em;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.hero-card {
  justify-self: end;
}

.glass-card {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  border-radius: 999px;
  background: rgba(215, 180, 99, .22);
  filter: blur(6px);
}

.card-kicker {
  color: var(--gold-light);
  font-weight: 900;
  margin-bottom: 14px;
}

.glass-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  position: relative;
}

.glass-card p:not(.card-kicker) {
  margin-top: 18px;
  color: var(--muted);
  position: relative;
}

.mini-progress {
  height: 8px;
  background: rgba(255, 255, 255, .10);
  border-radius: 999px;
  overflow: hidden;
  margin: 26px 0 12px;
}

.mini-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: inherit;
  transition: width .75s ease;
}

.glass-card small {
  color: var(--muted-2);
  font-weight: 700;
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  width: 28px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold-light);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollDot 1.7s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* Intro strip */

.intro-strip {
  padding: 24px 0 44px;
  margin-top: 54px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  z-index: 3;
}

.intro-item {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.intro-item span {
  display: inline-flex;
  color: var(--white);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.intro-item h3 {
  margin-bottom: 12px;
}

.intro-item p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.72;
  max-width: 62ch;
}

.intro-left {
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border-color: rgba(255, 255, 255, .18);
}

.intro-right {
  background: linear-gradient(145deg, rgba(181, 138, 43, .24), rgba(181, 138, 43, .10));
  border-color: rgba(215, 180, 99, .32);
}

.intro-right span {
  color: var(--gold-light);
}


.intro-strip.intro-enhanced {
  min-height: 240svh;
  padding: 0;
}

.intro-strip.intro-enhanced .intro-grid {
  position: sticky;
  top: 104px;
  height: calc(100svh - 140px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}

.intro-strip.intro-enhanced .intro-fly-item {
  height: 50%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform .65s cubic-bezier(.2, .75, .2, 1), opacity .35s ease;
}

.intro-strip.intro-enhanced .intro-left {
  transform: translate3d(-140px, 0, 0) scale(.97);
}

.intro-strip.intro-enhanced .intro-right {
  transform: translate3d(140px, 0, 0) scale(.97);
}

.intro-strip.intro-enhanced[data-intro-step="1"] .intro-left,
.intro-strip.intro-enhanced[data-intro-step="2"] .intro-left {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.intro-strip.intro-enhanced[data-intro-step="2"] .intro-right {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Split / concept */

.split {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 72px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: .9fr 1fr;
}

.split-copy h2 {
  margin-bottom: 24px;
}

.split-copy p + p {
  margin-top: 18px;
  color: rgba(24, 22, 15, .72);
}

body:not(.home) .split-copy p + p {
  color: inherit;
}

#konzept .split-copy p,
#bewertungen .split-copy p {
  color: rgba(248, 243, 231, .72);
}

#bewertungen .split {
  align-items: start;
}

#konzept {
  scroll-margin-top: 76px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.feature-list span {
  border: 1px solid rgba(215, 180, 99, .30);
  background: rgba(181, 138, 43, .12);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: .92rem;
}

.visual-stack {
  position: relative;
}

.concept-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.concept-step {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 10, 8, .5);
  box-shadow: var(--shadow);
}

.concept-step:nth-child(1) {
  transform: translateY(18px);
}

.concept-step:nth-child(2) {
  transform: translateY(0);
}

.concept-step:nth-child(3) {
  grid-column: 1 / -1;
  width: min(68%, 320px);
  justify-self: center;
  transform: translateY(-8px);
}

.concept-step img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.concept-step figcaption {
  padding: 10px 14px 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(8, 8, 6, .82);
}

.visual-stack::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 1px solid rgba(215, 180, 99, .38);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.floating-note {
  position: absolute;
  left: -28px;
  bottom: 30px;
  width: min(290px, 86%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 8, 6, .82);
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  color: var(--gold-light);
  margin-bottom: 6px;
}

.floating-note span {
  color: var(--muted);
}


/* Services */

.section-soft .eyebrow,
.section-soft .service-icon {
  color: var(--gold);
}

.section-soft .section-heading p {
  color: rgba(24, 22, 15, .68);
  margin-top: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(24, 22, 15, .12);
  border: 1px solid rgba(24, 22, 15, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(24, 22, 15, .18);
}

.service-image {
  aspect-ratio: 1 / 1;
  height: auto;
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .42), transparent);
  transition: background .25s ease;
}

.service-card:hover .service-image::after {
  background: linear-gradient(0deg, rgba(181, 138, 43, .32), transparent);
}

.service-body {
  padding: 28px;
}

.service-icon {
  display: inline-flex;
  font-size: .86rem;
  letter-spacing: .16em;
  font-weight: 900;
  margin-bottom: 18px;
}

.service-body h3 {
  margin-bottom: 14px;
}

.service-body p {
  color: rgba(24, 22, 15, .68);
  margin-bottom: 22px;
}

.service-body a {
  color: var(--gold);
  font-weight: 900;
}

.service-body a::after {
  content: " →";
}

/* Process */

.process-section {
  padding-top: 150px;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.process-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .30), rgba(0, 0, 0, 0));
  z-index: 0;
}

.process-section::before {
  content: none;
}

.process-section > .container {
  position: relative;
  z-index: 1;
}

.process-section.process-enhanced {
  min-height: 300svh;
  padding-top: 0;
}

.process-stage {
  display: grid;
  gap: 26px;
  padding-top: 52px;
}

.process-section.process-enhanced .process-stage {
  position: sticky;
  top: 122px;
  min-height: calc(100svh - 168px);
  align-content: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow: visible;
}

.timeline-item {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 250px;
}

.process-section.process-enhanced .timeline-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.985);
  transition: opacity .35s ease, transform .45s ease;
}

.process-section.process-enhanced .timeline-item.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.timeline-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(4) { grid-column: 4; grid-row: 1; }
.timeline-item:nth-child(5) { grid-column: 4; grid-row: 2; }
.timeline-item:nth-child(6) { grid-column: 3; grid-row: 2; }
.timeline-item:nth-child(7) { grid-column: 2; grid-row: 2; }

.timeline-item:nth-child(1)::after,
.timeline-item:nth-child(2)::after,
.timeline-item:nth-child(3)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
  font-size: 1.35rem;
  font-weight: 900;
  opacity: 0;
  transition: opacity .25s ease;
}

.timeline-item:nth-child(4)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-size: 1.35rem;
  font-weight: 900;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s ease;
}

.timeline-item:nth-child(5)::after,
.timeline-item:nth-child(6)::after {
  content: "←";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
  font-size: 1.35rem;
  font-weight: 900;
  opacity: 0;
  transition: opacity .25s ease;
}

.process-section.process-enhanced .timeline-item.is-active::after {
  opacity: 1;
}

.timeline-item span {
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: .18em;
}

.timeline-item h3 {
  margin: 42px 0 14px;
}

.timeline-item p {
  color: var(--muted);
}

.process-mobile-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.process-mobile-controls span {
  min-width: 72px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.process-nav-btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border: 1px solid rgba(215, 180, 99, .45);
  color: var(--gold-light);
  background: rgba(181, 138, 43, .12);
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

/* Projects */

.references {
  overflow: hidden;
}

.references .section-heading p {
  color: rgba(24, 22, 15, .72);
  margin-top: 18px;
}

.references .section-heading h2 {
  color: var(--dark-text);
}

.project-showcase {
  position: relative;
  min-height: 520px;
}

.project-showcase-item {
  display: none;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 22, 15, .12);
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72));
  box-shadow: var(--shadow);
}

.project-showcase-item.is-active {
  display: grid;
}

.project-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-showcase-copy h3 {
  margin-bottom: 16px;
}

.project-showcase-copy p:last-child {
  color: rgba(24, 22, 15, .74);
  margin-bottom: 0;
}

.project-gallery {
  display: grid;
  gap: 14px;
}

.project-gallery img {
  width: 100%;
  height: clamp(280px, 38vw, 420px);
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
}

.project-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-gallery-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 180, 99, .45);
  color: var(--gold);
  background: rgba(181, 138, 43, .12);
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
}

.project-gallery-controls span {
  color: rgba(24, 22, 15, .74);
  font-weight: 800;
}

.project-showcase-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.project-cta-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(260px, 100%);
  margin: 16px auto 14px;
}

.project-cta-divider span {
  flex: 0 0 auto;
  color: rgba(24, 22, 15, .62);
  font-size: .88rem;
  font-weight: 700;
}

.project-cta-divider::before,
.project-cta-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(24, 22, 15, .18);
}

.project-cta {
  width: fit-content;
  display: flex;
  margin: 0 auto;
}

.references .project-showcase-actions .btn-ghost {
  color: var(--dark-text);
  border-color: rgba(24, 22, 15, .22);
  background: rgba(255, 255, 255, .58);
}

/* Testimonials */

.testimonial-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 34px;
  min-height: 460px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.testimonial-panel::before {
  content: "“";
  position: absolute;
  right: 26px;
  top: -38px;
  font-size: 12rem;
  color: rgba(181, 138, 43, .16);
  font-family: Georgia, serif;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeSlide .35s ease both;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.stars {
  color: var(--gold-light);
  letter-spacing: .12em;
  margin-bottom: 28px;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.04em;
  position: relative;
  z-index: 1;
}

.testimonial p {
  margin-top: 28px;
  color: var(--muted);
  font-weight: 800;
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 900;
}

.demo-note {
  display: block;
  color: var(--muted-2);
  margin-top: 18px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.trust-grid div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--gold-light);
  margin-bottom: 10px;
}

.trust-grid span {
  color: var(--muted);
  font-weight: 800;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 10%, rgba(181, 138, 43, .20), transparent 28%),
    #fff;
  border: 1px solid rgba(24, 22, 15, .08);
  box-shadow: 0 22px 55px rgba(24, 22, 15, .11);
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px rgba(24, 22, 15, .17);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(24, 22, 15, .08);
  margin-bottom: 20px;
}

.team-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
}

.team-card p {
  color: rgba(24, 22, 15, .68);
}

/* CTA */

.cta-section {
  padding-top: 80px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(215, 180, 99, .26), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--muted);
  max-width: 680px;
}

/* Footer */

.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: #050504;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .55fr .55fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-logo {
  width: 260px;
  margin-bottom: 18px;
}

.footer-grid p {
  color: var(--muted);
  max-width: 460px;
}

.footer-social {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 16px !important;
  color: var(--muted) !important;
  font-weight: 800;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin: 10px 0;
  transition: color .2s ease;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: var(--muted-2);
  font-size: .92rem;
}

/* Contact page */

.subhero {
  min-height: 62svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 80px) 0 80px;
  overflow: hidden;
}

.subhero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.subhero-content h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  margin-bottom: 24px;
}

.subhero-content p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.contact-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  gap: 28px;
  align-items: start;
}

.contact-card,
.info-card,
.opening-card,
.map-card,
.legal-card {
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(28px, 4vw, 46px);
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label,
.checkbox-row {
  color: var(--text);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: var(--text);
  border-radius: 18px;
  outline: none;
  padding: 15px 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

select option {
  color: #18160f;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(215, 180, 99, .72);
  box-shadow: 0 0 0 4px rgba(181, 138, 43, .16);
  background: rgba(255, 255, 255, .10);
}

.error-message {
  display: none;
  color: #ffb3a7;
  font-size: .88rem;
  font-weight: 700;
}

.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select {
  border-color: rgba(255, 130, 110, .85);
}

.form-row.has-error .error-message,
.privacy-error.show {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.form-submit {
  justify-self: start;
  margin-top: 8px;
}

.form-success {
  display: none;
  padding: 16px;
  border: 1px solid rgba(102, 210, 132, .32);
  background: rgba(102, 210, 132, .11);
  color: #c6ffd5;
  border-radius: 18px;
  font-weight: 800;
}

.form-success.show {
  display: block;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.info-card,
.opening-card {
  padding: 28px;
}

.info-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 20px;
}

.info-card a,
.info-card span {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 800;
}

.info-card a:hover {
  color: var(--gold-light);
}

.map-card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 180, 99, .12), rgba(255, 255, 255, .035));
}

.map-embed {
  position: absolute;
  inset: -52px 0 0 0;
  width: 100%;
  height: calc(100% + 52px);
  border: 0;
  filter: saturate(.9) contrast(1.02);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  min-height: 120px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(8, 8, 6, .82);
  border: 1px solid rgba(215, 180, 99, .38);
  box-shadow: var(--shadow);
}

.map-pin strong {
  color: var(--gold-light);
  font-size: 1.35rem;
}

.map-pin span {
  color: var(--muted);
  font-size: .9rem;
}

.map-route {
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 900;
  color: var(--gold-light);
  text-decoration: underline;
}

.opening-card h3 {
  margin-bottom: 18px;
}

.opening-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.opening-card li + li {
  margin-top: 8px;
}

/* Legal */

.legal-main {
  padding-top: var(--header-h);
  min-height: 100svh;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  max-width: 900px;
}

.legal-card h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 34px 0 12px;
}

.legal-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.legal-card .btn {
  margin-top: 18px;
}

.legal-nav {
  display: flex;
}

/* Reveal Animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }

/* Responsive */

@media (max-width: 1050px) {
  :root {
    --header-h: 78px;
  }

  .brand {
    width: 164px;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .service-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item:nth-child(5),
  .timeline-item:nth-child(6),
  .timeline-item:nth-child(7) {
    grid-column: auto;
  }

  .timeline-item::after {
    content: none !important;
  }

  .project-showcase {
    min-height: auto;
  }

  .project-showcase-item {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .process-stage {
    gap: 22px;
    padding-top: 30px;
  }

  .process-stage .section-heading {
    max-width: none;
    margin-bottom: 8px;
  }

  .process-stage .section-heading h2 {
    max-width: 14ch;
  }

  .process-section.process-mobile {
    min-height: auto;
    padding-top: 0;
  }

  .process-section.process-mobile .timeline {
    display: block;
  }

  .process-section.process-mobile .timeline-item {
    display: none;
    min-height: 0;
    padding: 24px;
    opacity: 1;
    transform: none;
  }

  .process-section.process-mobile .timeline-item.is-active {
    display: block;
  }

  .process-section.process-mobile .timeline-item::after {
    content: none !important;
  }

  .process-section.process-mobile .timeline-item h3 {
    margin-top: 28px;
  }

  .process-section.process-mobile .timeline-item p {
    font-size: 1rem;
  }

  .process-section.process-mobile .process-mobile-controls {
    display: flex;
  }

  .process-nav-btn {
    width: 52px;
    min-width: 52px;
  }

  .testimonial-panel,
  .contact-card,
  .info-card,
  .opening-card,
  .legal-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .intro-strip {
    min-height: auto;
    padding: 24px 0 34px;
  }

  .intro-grid {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .intro-fly-item {
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  #konzept.section {
    padding-top: 34px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  #konzept.section {
    padding-top: 28px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    min-height: 100svh;
    padding: 104px 18px 28px;
    background: rgba(8, 8, 6, .96);
    backdrop-filter: blur(18px);
    display: grid;
    align-content: start;
    gap: 10px;
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    color: rgba(248, 243, 231, .86);
    font-size: 1.08rem;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
  }

  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(8, 8, 6, .78), rgba(8, 8, 6, .96)),
      url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1500&q=82") center/cover;
  }

  .hero-content h1 {
    max-width: 11ch;
  }

  .hero-text {
    max-width: 34rem;
  }

  .hero-card {
    width: 100%;
  }

  .hero-stats,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 24px;
    padding-top: 18px;
  }

  .intro-item {
    min-height: auto;
    padding: 28px;
  }


  .hero-actions,
  .cta-card,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-card .btn,
  .contact-form .form-submit {
    justify-content: center;
  }

  .floating-note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -42px;
  }

  .concept-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .concept-step:nth-child(1),
  .concept-step:nth-child(2),
  .concept-step:nth-child(3) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
    transform: none;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .process-stage {
    gap: 22px;
    padding-top: 30px;
  }

  .process-stage .section-heading {
    max-width: none;
    margin-bottom: 8px;
  }

  .process-stage .section-heading h2 {
    max-width: 14ch;
  }

  .process-section.process-mobile {
    min-height: auto;
    padding-top: 0;
  }

  .process-section.process-mobile .timeline {
    display: block;
  }

  .process-section.process-mobile .timeline-item {
    display: none;
    min-height: 0;
    padding: 24px;
    opacity: 1;
    transform: none;
  }

  .process-section.process-mobile .timeline-item.is-active {
    display: block;
  }

  .process-section.process-mobile .timeline-item::after {
    content: none !important;
  }

  .process-section.process-mobile .timeline-item h3 {
    margin-top: 28px;
  }

  .process-section.process-mobile .timeline-item p {
    font-size: 1rem;
  }

  .process-section.process-mobile .process-mobile-controls {
    display: flex;
  }

  .process-mobile-controls .btn {
    width: 52px;
    min-width: 52px;
  }

  .service-card,
  .team-card,
  .project-showcase-item,
  .testimonial-panel {
    box-shadow: 0 20px 46px rgba(0, 0, 0, .22);
  }

  .project-showcase-copy,
  .project-gallery,
  .split-copy,
  .section-heading {
    max-width: none;
  }

  .project-showcase-copy h3,
  .project-showcase-copy p,
  .project-kicker,
  .project-gallery-controls,
  .project-showcase-actions {
    text-align: center;
  }

  .project-gallery-controls {
    justify-content: center;
    gap: 14px;
  }

  .project-showcase-actions {
    justify-content: center;
    margin-top: 24px;
  }

  .project-cta-divider {
    margin: 14px auto 12px;
  }

  .project-gallery img {
    height: 320px;
  }

  .split-copy,
  .testimonial-panel,
  .contact-card,
  .info-card,
  .opening-card {
    text-align: left;
  }

  .testimonial-panel {
    min-height: 0;
  }

  .testimonial blockquote {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .slider-controls {
    justify-content: center;
  }

  .team-photo {
    border-radius: 22px;
  }

  .team-card {
    min-height: unset;
    padding: 24px;
  }

  .contact-grid {
    gap: 18px;
  }

  .subhero {
    min-height: 54svh;
    padding: calc(var(--header-h) + 56px) 0 56px;
  }

  .subhero-content h1 {
    max-width: 11ch;
  }

  .map-card {
    min-height: 280px;
  }

  .map-pin {
    width: min(170px, calc(100% - 28px));
    min-height: 0;
    padding: 16px 14px;
  }

  .legal-main {
    padding-top: calc(var(--header-h) - 8px);
  }

  .legal-card h1,
  .legal-card h2 {
    word-break: break-word;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 74px;
    --radius-lg: 26px;
    --radius-md: 20px;
  }

  .brand {
    width: 136px;
  }

  .container {
    width: min(100% - 22px, var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .eyebrow {
    font-size: .72rem;
    letter-spacing: .16em;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  h3 {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }

  .hero-stats article {
    padding: 18px;
  }

  .glass-card,
  .contact-card,
  .info-card,
  .opening-card,
  .testimonial-panel {
    border-radius: 24px;
  }

  .project-showcase-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-showcase-item {
    padding: 18px;
    gap: 18px;
  }

  .process-stage .section-heading h2 {
    max-width: 100%;
  }

  .process-section.process-mobile .timeline-item {
    padding: 20px;
    border-radius: 24px;
  }

  .process-mobile-controls {
    margin-top: 14px;
  }

  .process-nav-btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .project-showcase-actions .btn,
  .project-cta {
    width: 100%;
  }

  .project-cta-divider {
    width: min(220px, 100%);
  }

  .project-gallery img {
    height: 236px;
    border-radius: 18px;
  }

  .project-gallery-controls button,
  .slider-controls button {
    width: 42px;
    height: 42px;
  }

  .testimonial-panel {
    padding: 22px;
  }

  .testimonial-panel::before {
    right: 18px;
    top: -18px;
    font-size: 8rem;
  }

  .testimonial blockquote {
    font-size: 1.18rem;
    line-height: 1.3;
  }

  .testimonial p {
    margin-top: 20px;
    font-size: .95rem;
  }

  .team-card,
  .contact-card,
  .info-card,
  .opening-card,
  .legal-card {
    padding: 20px;
  }

  .team-photo {
    margin-bottom: 16px;
  }

  .team-card h3 {
    margin-bottom: 10px;
  }

  .subhero {
    min-height: 48svh;
    padding: calc(var(--header-h) + 44px) 0 44px;
  }

  .subhero-content p {
    font-size: 1rem;
  }

  .form-row label,
  .checkbox-row,
  input,
  textarea,
  select {
    font-size: .98rem;
  }

  .map-card {
    min-height: 250px;
  }

  .map-pin {
    width: min(154px, calc(100% - 22px));
    border-radius: 22px;
  }

  .map-pin strong {
    font-size: 1.15rem;
  }

  .map-pin span {
    font-size: .82rem;
  }

  .opening-card ul {
    padding-left: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-logo {
    width: 200px;
  }

  .footer-grid p {
    max-width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }

  .legal-card h2 {
    margin-top: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
