/* ============================================
   ImmoKplus+ — Editorial Dark + Gold
   ============================================ */

:root {
  --color-gold:       #ffca00;
  --color-gold-deep:  #d6aa02;
  --color-gold-soft:  rgba(255, 202, 0, 0.12);
  --color-orange:     #f58220;
  --color-bg:         #0a0a0a;
  --color-bg-soft:    #111111;
  --color-bg-elev:    #161616;
  --color-line:       rgba(255, 255, 255, 0.08);
  --color-line-strong:rgba(255, 255, 255, 0.18);
  --color-text:       #f3f0e8;
  --color-text-mute:  #9a9890;
  --color-text-dim:   #6b6a64;

  --font-sans:    "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Barlow", system-ui, sans-serif;

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  --container:   1280px;
  --container-wide: 1480px;
  --gutter:      clamp(1.25rem, 4vw, 3rem);

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

/* -----------------------------------------
   Typography
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.display {
  font-size: clamp(3.25rem, 8.5vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.display .accent {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 300;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

p { color: var(--color-text-mute); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text);
  font-weight: 300;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

/* -----------------------------------------
   Layout helpers
   ----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
}
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .lead { margin-top: 1.5rem; }

/* -----------------------------------------
   Buttons
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(255, 202, 0, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-line-strong);
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease);
}
.link-arrow:hover { gap: 1rem; color: #fff; border-color: #fff; }

/* -----------------------------------------
   Header / Nav
   ----------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  border-bottom-color: var(--color-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.scrolled .nav-logo img { height: 42px; }

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  padding: 0.5rem 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--color-gold); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text);
}
.nav-phone svg { width: 16px; height: 16px; fill: var(--color-gold); }
.nav-phone:hover { color: var(--color-gold); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 16px; }

.nav-toggle.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* -----------------------------------------
   Hero
   ----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 14vh;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.85);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 202, 0, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.7) 60%, var(--color-bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  flex: 1;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero-text {
  max-width: 760px;
}
.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero-text .display {
  margin-bottom: 2rem;
}
.hero-text .display .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.08em;
}
.hero-text .display .line span {
  display: inline-block;
  animation: heroReveal 1s var(--ease-out) backwards;
}
.hero-text .display .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-text .display .line:nth-child(3) span { animation-delay: 0.3s; }

@keyframes heroReveal {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero-text .lead {
  margin-bottom: 2.5rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--color-text-mute);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-meta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
}
.hero-meta-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-meta-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
}
.hero-meta-stat .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-mute);
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: var(--color-gold);
  animation: scrollLine 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -----------------------------------------
   Story / Journey
   ----------------------------------------- */
.story {
  background: var(--color-bg-soft);
  position: relative;
}
.story::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 80px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
}

.story-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
.journey-step {
  background: var(--color-bg-soft);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transition: background 0.4s var(--ease);
}
.journey-step:hover {
  background: var(--color-bg-elev);
}
.journey-step .num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  display: block;
}
.journey-step .num::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  background: var(--color-gold);
  margin-top: 0.75rem;
}
.journey-step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.journey-step p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -----------------------------------------
   Services Grid
   ----------------------------------------- */
.services {
  background: var(--color-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  cursor: pointer;
  isolation: isolate;
}
.service-card .img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.service-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
  transition: background 0.5s var(--ease);
}
.service-card:hover .img img { transform: scale(1.08); }
.service-card:hover::after {
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.98) 100%);
}

.service-card .content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card .num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  font-weight: 600;
}
.service-card .info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.service-card .info p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease) 0.1s, margin-top 0.5s var(--ease);
}
.service-card:hover .info p {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* -----------------------------------------
   Feature split (alternating image + text)
   ----------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.feature-img:hover img { transform: scale(1.04); }

.feature-text .section-title { margin-bottom: 1.5rem; }
.feature-text .lead { margin-bottom: 2rem; }
.feature-text ul {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature-text li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--color-text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-line);
}
.feature-text li::before {
  content: "+";
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* -----------------------------------------
   Quote
   ----------------------------------------- */
.quote-section {
  background: var(--color-bg-soft);
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "“";
  position: absolute;
  top: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: clamp(10rem, 22vw, 18rem);
  line-height: 0.85;
  color: var(--color-gold);
  opacity: 0.07;
  pointer-events: none;
}
.quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 2rem;
}
.quote blockquote .accent { color: var(--color-gold); font-style: italic; }
.quote cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* -----------------------------------------
   Team
   ----------------------------------------- */
.team {
  background: var(--color-bg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 980px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  background: var(--color-bg-soft);
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.03); }
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}
.team-name {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}
.team-card p { font-size: 0.95rem; line-height: 1.65; }

/* -----------------------------------------
   CTA strip
   ----------------------------------------- */
.cta {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.25) saturate(0.6);
}
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 90%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-inner h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.cta-inner p { margin-bottom: 2.5rem; }
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -----------------------------------------
   Footer
   ----------------------------------------- */
.site-footer {
  background: #050505;
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid var(--color-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}
.footer-brand img { height: 64px; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.95rem; max-width: 32ch; line-height: 1.65; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-col a {
  color: var(--color-text-mute);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: var(--color-gold); padding-left: 0.5rem; }

.footer-contact a, .footer-contact p {
  color: var(--color-text-mute);
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}
.footer-contact svg {
  width: 16px; height: 16px;
  fill: var(--color-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}
.footer-bottom .legal { display: flex; gap: 1.5rem; }
.footer-bottom .legal a:hover { color: var(--color-gold); }

/* -----------------------------------------
   Page hero (subpages)
   ----------------------------------------- */
.page-hero {
  position: relative;
  padding: 14rem 0 6rem;
  background: var(--color-bg-soft);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--color-gold-soft), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 16ch;
}
.page-hero .lead { margin-top: 1.5rem; }

/* -----------------------------------------
   Services list (über uns)
   ----------------------------------------- */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-row {
  background: var(--color-bg-soft);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.4s var(--ease);
}
.service-row:hover { background: var(--color-bg-elev); }
.service-row .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
}
.service-row h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.service-row p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -----------------------------------------
   Job cards
   ----------------------------------------- */
.jobs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  transition: border-color 0.3s var(--ease);
}
.job-card:hover { border-color: var(--color-gold-deep); }

.job-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  cursor: pointer;
  user-select: none;
}
.job-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.job-title .meta {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.job-title h3 {
  font-size: 1.5rem;
}
.job-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}
.job-toggle::before, .job-toggle::after {
  content: "";
  position: absolute;
  background: var(--color-gold);
}
.job-toggle {
  position: relative;
}
.job-toggle::before {
  width: 14px; height: 2px;
}
.job-toggle::after {
  width: 2px; height: 14px;
  transition: transform 0.3s var(--ease);
}
.job-card.is-open .job-toggle { background: var(--color-gold); }
.job-card.is-open .job-toggle::before { background: var(--color-bg); }
.job-card.is-open .job-toggle::after { transform: scaleY(0); background: var(--color-bg); }

.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.job-card.is-open .job-body { max-height: 2000px; }
.job-body-inner {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--color-line);
  padding-top: 2rem;
}
.job-body p { margin-bottom: 1.25rem; line-height: 1.7; }
.job-body h4 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 1.5rem 0 0.75rem;
}
.job-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.job-body ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-mute);
}
.job-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}
.job-apply {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.job-apply .contact-info {
  font-size: 0.9rem;
  color: var(--color-text-mute);
}
.job-apply .contact-info strong {
  color: var(--color-text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  padding: 2.5rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-deep);
}
.benefit-card .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.benefit-card .icon svg { width: 26px; height: 26px; fill: var(--color-gold); }
.benefit-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.benefit-card p { font-size: 0.95rem; line-height: 1.6; }

/* -----------------------------------------
   Contact form
   ----------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contact-info-card {
  background: var(--color-bg-soft);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.contact-info-card h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}
.contact-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-detail .icon svg { width: 18px; height: 18px; fill: var(--color-gold); }
.contact-detail .meta {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.25rem;
  display: block;
}
.contact-detail a, .contact-detail span { color: var(--color-text); font-size: 1.05rem; }
.contact-detail a:hover { color: var(--color-gold); }

.contact-form {
  display: grid;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line-strong);
  padding: 0.85rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-gold);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}
.form-actions { margin-top: 1rem; }
.form-meta {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 1rem;
}
.form-meta a { color: var(--color-gold); border-bottom: 1px solid var(--color-gold); }

/* -----------------------------------------
   Legal pages
   ----------------------------------------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p { margin-bottom: 1.25rem; line-height: 1.75; color: var(--color-text-mute); }
.legal-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.5rem; color: var(--color-text-mute); }
.legal-content strong { color: var(--color-text); }
.legal-content a { color: var(--color-gold); text-decoration: underline; }

/* -----------------------------------------
   Reveal on scroll
   ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* -----------------------------------------
   Responsive
   ----------------------------------------- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse { direction: ltr; }
  .feature-img { aspect-ratio: 16 / 10; }
  .contact-layout { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(380px, 85vw);
    background: var(--color-bg-soft);
    border-left: 1px solid var(--color-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 2.5rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 99;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { font-size: 1.5rem; font-weight: 300; }
  .nav-toggle { display: block; z-index: 101; }
  .nav-phone { display: none; }

  .hero { padding-top: 18vh; min-height: auto; }
  .hero-meta-inner { flex-wrap: wrap; gap: 1.5rem; }
  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .story-intro { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .job-head { padding: 1.25rem 1.25rem; }
  .job-body-inner { padding: 1.5rem 1.25rem; }
  .job-title h3 { font-size: 1.2rem; }
  .job-apply { flex-direction: column; align-items: flex-start; }

  .page-hero { padding: 11rem 0 4rem; }
}

@media (max-width: 480px) {
  .btn { padding: 0.95rem 1.5rem; font-size: 0.85rem; }
  .display { font-size: clamp(2.5rem, 12vw, 4rem); }
  .service-card { aspect-ratio: 1 / 1; }
}

/* -----------------------------------------
   Utility
   ----------------------------------------- */
.text-gold { color: var(--color-gold) !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.divider {
  height: 1px;
  background: var(--color-line);
  margin: 4rem 0;
}
