/* ============================================================
   EXACT.PLAN GmbH — Professional Architecture Website
   ============================================================ */

/* ── Avenir Light fallback via Google Fonts (Nunito) ─────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --white:      #FFFFFF;
  --off-white:  #FFFFFF;
  --black:      #0A0A0A;
  --dark:       #1A1A1A;
  --gray-800:   #2E2E2C;
  --gray-600:   #5A5A56;
  --gray-400:   #9C9C98;
  --gray-200:   #D8D7D2;
  --gray-100:   #EFEFEB;
  --gold:       #B8975A;
  --gold-light: #D4B882;
  --orange:     #C86B2A;

  /* Avenir first – system on macOS/iOS, Nunito as web fallback */
  --font: "Avenir", "Avenir Next", "Avenir Next LT Pro", "Nunito", "Century Gothic", -apple-system, sans-serif;
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;

  --nav-h:    76px;
  --max-w:    1440px;
  --gutter:   clamp(20px, 5vw, 80px);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: var(--fw-light);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
::selection {
  background: #2b2b2b;
  color: #ffffff;
  text-shadow: none;
}
::-moz-selection {
  background: #2b2b2b;
  color: #ffffff;
  text-shadow: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section     { padding: clamp(70px, 9vw, 130px) 0; }
.section-sm  { padding: clamp(44px, 6vw, 80px) 0; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-left.visible     { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right.visible    { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ── Typography helpers ───────────────────────────────────── */
.label {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.overline {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.65rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.gold-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 18px 0 26px;
}
.gold-line-c { margin: 18px auto 26px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 15px 34px;
  transition: all 0.3s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-dark    { background: var(--dark); color: var(--white); border: 1px solid var(--dark); }
.btn-dark:hover { background: var(--gray-800); border-color: var(--gray-800); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-gold    { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── Navigation ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; transition: height 0.3s var(--ease); }
#nav.scrolled .nav-logo img { height: 26px; }
.nav-logo .logo-dark  { display: block; }
.nav-logo .logo-white { display: none; }
#nav.nav-transparent .nav-logo .logo-dark  { display: none; }
#nav.nav-transparent .nav-logo .logo-white { display: block; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover { color: var(--gold); }
#nav.nav-transparent .nav-links a { color: rgba(255,255,255,.85); }
#nav.nav-transparent .nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--dark);
  color: var(--dark);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--dark); color: var(--white); }
#nav.nav-transparent .nav-cta { border-color: rgba(255,255,255,.6); color: var(--white); }
#nav.nav-transparent .nav-cta:hover { background: var(--white); color: var(--dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s; }
#nav.nav-transparent .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-menu a {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--dark);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* Hero standalone logo (homepage only — hides nav logo when transparent) */
.is-home #nav.nav-transparent .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.is-home #nav.scrolled .nav-logo { opacity: 1; pointer-events: all; }
.hero-top-logo {
  position: absolute;
  top: 0; left: 0; right: 0; z-index: 3;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
}
.hero-top-logo img { height: 40px; width: auto; }

/* ── Hero Slideshow ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide  { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 9s var(--ease);
}
.hero-slide.active img { transform: scale(1); }
.hero-slide video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.18) 0%,
    rgba(10,10,10,0.40) 40%,
    rgba(10,10,10,0.72) 100%
  );
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
  max-width: var(--max-w);
  margin: 0 auto; left: 0; right: 0;
}
.hero-label {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2.8rem, 6.5vw, 7rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  max-width: 820px;
}
.hero-sub {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* slide dots */
.hero-dots {
  position: absolute;
  bottom: clamp(24px, 4vw, 44px);
  right: var(--gutter);
  z-index: 3;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 22px; height: 1px;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.hero-dot.active { width: 38px; background: var(--white); }

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: clamp(24px, 4vw, 44px);
  left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: rgba(255,255,255,.45);
}
.scroll-hint span {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 42px;
  background: rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  animation: scrollLine 1.9s infinite var(--ease);
}
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(340px, 48vh, 580px);
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero img,
.page-hero video,
.page-hero-media img,
.page-hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.page-hero-media video {
  object-position: center 68%;
  pointer-events: none;
}
.page-hero-about .page-hero-media video {
  object-position: center 38%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.22) 0%, rgba(10,10,10,.72) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max-w), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 0 0 clamp(38px, 6vw, 66px);
}
.page-hero-content .label { color: var(--gold-light); margin-bottom: 10px; }
.page-hero-content h1 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.page-hero-video .page-hero-content > * {
  max-width: 12ch;
}

/* ── Section headers ──────────────────────────────────────── */
.sec-head         { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center  { text-align: center; }
.sec-head h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.sec-head p {
  margin-top: 14px;
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.96rem;
  color: var(--gray-600);
  line-height: 1.85;
  max-width: 520px;
}
.sec-head.center p { margin: 14px auto 0; }
.sec-head .see-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  transition: gap 0.3s var(--ease);
}
.sec-head .see-all svg { width: 13px; height: 13px; transition: transform 0.3s; }
.sec-head .see-all:hover { gap: 12px; }
.sec-head .see-all:hover svg { transform: translateX(3px); }

/* ── HOMEPAGE — Über Uns split ────────────────────────────── */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.home-about-img { overflow: hidden; position: relative; }
.home-about-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.home-about-img:hover img { transform: scale(1.04); }
.home-about-text {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 100px) clamp(40px, 6vw, 90px);
  background: var(--white);
  border-left: 1px solid var(--gray-200);
}
.home-about-text h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.home-about-text p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 14px;
}

/* ── HOMEPAGE — Leistungen strip ──────────────────────────── */
.home-leistungen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
}
.home-leistung-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  transition: background 0.3s var(--ease);
}
.home-leistung-card:hover { background: #F7F7F7; }
.leistung-num {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 2.8rem;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 18px;
}
.home-leistung-card h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.home-leistung-card p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  transition: gap 0.3s var(--ease);
}
.arrow-link svg { width: 13px; height: 13px; transition: transform 0.3s; }
.arrow-link:hover { gap: 12px; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ── HOMEPAGE — Featured projects (overview) ──────────────── */
.home-projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 320px;
  gap: 3px;
}
.home-proj { position: relative; overflow: hidden; background: var(--gray-100); }
.home-proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.home-proj:hover img { transform: scale(1.06); }
.home-proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.72) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.38s var(--ease);
}
.home-proj:hover .home-proj-overlay { opacity: 1; }
.home-proj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  transform: translateY(10px); opacity: 0;
  transition: all 0.38s var(--ease);
}
.home-proj:hover .home-proj-info { transform: translateY(0); opacity: 1; }
.home-proj-info .label { color: var(--gold-light); margin-bottom: 4px; }
.home-proj-info h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.hp-large  { grid-column: span 7; grid-row: span 2; }
.hp-medium { grid-column: span 5; }
.hp-small  { grid-column: span 4; }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--dark);
  padding: clamp(70px, 8vw, 120px) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/about/buero.jpg') center/cover;
  opacity: 0.06;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.cta-band p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.96rem;
  color: rgba(255,255,255,.55);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.85;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PROJEKTE PAGE — Wix-style clean grid ─────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
}
.proj-card {
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s var(--ease);
}
.proj-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.12); z-index: 1; }
.proj-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.proj-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.proj-card:hover .proj-card-img img { transform: scale(1.05); }
.proj-card-body {
  padding: 22px 28px 28px;
  background: var(--white);
  flex: 1;
  display: flex; flex-direction: column;
  gap: 6px;
  transition: background 0.3s var(--ease);
}
.proj-card:hover .proj-card-body { background: #F7F7F7; }
.proj-card-body .overline { margin-bottom: 2px; }
.proj-card-body h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.proj-card-body .link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(4px);
  transition: all 0.3s var(--ease);
}
.proj-card-body .link svg { width: 12px; height: 12px; }
.proj-card:hover .proj-card-body .link { opacity: 1; transform: translateY(0); }

/* ── Wix-style proj card overlay (projekte.html) ──────────── */
.proj-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(6,6,6,.90) 0%,
    rgba(6,6,6,.18) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.proj-card:hover .proj-card-overlay { opacity: 1; }

.proj-card-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: clamp(20px,3vw,34px) clamp(18px,3vw,30px);
  transform: translateY(14px); opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
  pointer-events: none;
}
.proj-card:hover .proj-card-caption { transform: translateY(0); opacity: 1; }
.proj-card-caption .overline {
  color: rgba(212,184,130,.85);
  margin-bottom: 7px;
}
.proj-card-caption h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.28;
}

/* proj grid 2-col variant */
.proj-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── Projekte page: image-only cards ──────────────────────── */
.proj-grid-wix .proj-card-img {
  aspect-ratio: 5 / 4;
}
.proj-grid-wix .proj-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.18); }

/* ── PROJEKT DETAIL — simple slider like reference ───────── */
.pdetail-page #nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gray-200);
}
.pdetail-simple {
  padding: calc(var(--nav-h) + 18px) 0 clamp(40px, 5vw, 68px);
  background: var(--white);
}
.pdetail-simple-frame {
  position: relative;
  min-height: clamp(420px, 52vw, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-100);
}
.pdetail-slides { position: absolute; inset: 0; }
.pdetail-slide  { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); z-index: 0; }
.pdetail-slide.active { opacity: 1; z-index: 1; }
.pdetail-slide img { width: 100%; height: 100%; object-fit: cover; }

.pdetail-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.24) 0%,
    rgba(255,255,255,0.10) 26%,
    rgba(255,255,255,0) 48%,
    rgba(10,10,10,0.08) 100%
  );
}

.pdetail-simple-card {
  --pdetail-card-inline-size: min(560px, calc(100% - 48px));
  --pdetail-card-pad-top: clamp(18px, 2vw, 26px);
  --pdetail-card-pad-right: clamp(18px, 2vw, 28px);
  --pdetail-card-pad-bottom: clamp(18px, 2vw, 26px);
  --pdetail-card-pad-left: clamp(18px, 2vw, 28px);
  --pdetail-title-size: clamp(1.4rem, 2.2vw, 2rem);
  --pdetail-title-margin-bottom: 10px;
  --pdetail-subtitle-size: 0.64rem;
  --pdetail-subtitle-margin-bottom: 14px;
  --pdetail-text-size: 0.8rem;
  --pdetail-text-line-height: 1.7;
  --pdetail-text-margin-bottom: 14px;
  --pdetail-text-max-width: 46ch;
  --pdetail-facts-gap: 10px;
  --pdetail-fact-label-size: 0.74rem;
  --pdetail-fact-value-size: 0.78rem;
  position: relative;
  z-index: 2;
  margin: clamp(30px, 4vw, 52px) auto clamp(30px, 4vw, 52px) clamp(24px, 3.5vw, 46px);
  width: var(--pdetail-card-inline-size);
  max-height: calc(100% - clamp(60px, 8vw, 104px));
  overflow-y: auto;
  flex-shrink: 0;
  padding: var(--pdetail-card-pad-top) var(--pdetail-card-pad-right) var(--pdetail-card-pad-bottom) var(--pdetail-card-pad-left);
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(4px);
}
.pdetail-simple-card h1 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: var(--pdetail-title-size);
  color: #475566;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: var(--pdetail-title-margin-bottom);
  max-width: 100%;
  hyphens: manual;
  text-wrap: balance;
}
.pdetail-simple-subtitle {
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--pdetail-subtitle-size);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5e6b7b;
  line-height: 1.5;
  margin-bottom: var(--pdetail-subtitle-margin-bottom);
}
.pdetail-simple-text {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: var(--pdetail-text-size);
  color: #566577;
  line-height: var(--pdetail-text-line-height);
  margin: 0 0 var(--pdetail-text-margin-bottom);
  max-width: var(--pdetail-text-max-width);
}
@media (min-width: 1024px) {
  .pdetail-simple-card {
    --pdetail-card-inline-size: min(760px, calc(100% - 48px));
    --pdetail-card-pad-right: clamp(8px, 1vw, 12px);
  }

  .pdetail-simple-text {
    --pdetail-text-max-width: none;
  }
}
.pdetail-simple-facts {
  display: grid;
  gap: var(--pdetail-facts-gap);
}
.pdetail-simple-fact span {
  display: block;
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: var(--pdetail-fact-label-size);
  color: #5e6b7b;
  line-height: 1.3;
}
.pdetail-simple-fact strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--pdetail-fact-value-size);
  color: #475566;
  line-height: 1.3;
}

.pdetail-simple-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 2.6vw, 28px);
  z-index: 2;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.pdetail-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(10,10,10,0.12);
  color: var(--dark);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.pdetail-arrow:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.pdetail-arrow svg { width: 20px; height: 20px; }

/* ── LEISTUNGEN PAGE ──────────────────────────────────────── */

/* Refined approach layout */
.leis-approach {
  padding: clamp(40px,5vw,68px) 0 clamp(56px,7vw,96px);
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.leis-approach-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}
.leis-approach-main,
.leis-approach-panel,
.leis-approach-visual,
.leis-approach-principles {
  border: none;
}
.leis-approach-main {
  grid-column: span 7;
  background: var(--white);
  padding: clamp(14px,2vw,22px) clamp(34px,4vw,56px) clamp(28px,3.5vw,44px) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(10px,1.4vw,16px);
  border-right: 1px solid var(--gray-200);
}
.leis-approach-main .overline {
  margin: 0;
}
.leis-approach-main .gold-line {
  margin: 12px 0 18px;
}
.leis-approach-main h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2.25rem, 3.8vw, 4.15rem);
  color: var(--dark);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}
.leis-approach-main h2 span { display: block; }
.leis-approach-lead {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 40ch;
  margin: 0;
}

.leis-approach-panel {
  grid-column: span 5;
  background: var(--white);
  padding: clamp(28px,3vw,38px) clamp(28px,3vw,38px) clamp(28px,3vw,38px) clamp(24px,3vw,36px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.leis-approach-panel-head {
  display: grid;
  gap: 8px;
}
.leis-approach-panel-head strong {
  margin: 0;
}
.leis-approach-kicker {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.leis-approach-panel-head strong {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  color: var(--dark);
  line-height: 1.32;
}
.leis-approach-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.leis-approach-track::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 1px;
  background: rgba(184,151,90,0.28);
}
.leis-approach-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
}
.leis-approach-step > span {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.3);
  background: var(--white);
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.leis-approach-step h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 6px;
}
.leis-approach-step p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0;
}

.leis-approach-visual {
  grid-column: span 5;
  height: clamp(180px, 20vw, 240px);
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.leis-approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.leis-approach-visual:hover img { transform: scale(1.04); }
.leis-approach-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.06) 6%, rgba(10,10,10,0.08) 46%, rgba(10,10,10,0.72) 100%);
}
.leis-approach-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 18px 20px;
  background: rgba(10,10,10,0.54);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.leis-approach-badge span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.leis-approach-badge strong {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.65;
  margin: 0;
}

.leis-approach-principles {
  grid-column: span 7;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border-top: 1px solid var(--gray-200);
  padding-top: clamp(20px,2vw,26px);
}
.leis-principle {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background: var(--white);
  padding: 0 clamp(18px,2.4vw,24px) 0 clamp(18px,2.4vw,24px);
  border: none;
  min-height: 162px;
}
.leis-principle + .leis-principle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 38px;
  bottom: 6px;
  width: 1px;
  background: var(--gray-200);
}
.leis-principle-meta {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0 0 14px;
}
.leis-principle span {
  display: block;
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.leis-principle-meta i {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(184,151,90,0.22);
}
.leis-principle p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.81rem;
  color: var(--gray-600);
  line-height: 1.86;
  max-width: 22ch;
  margin: 0;
}

/* Intro centered */
.leis-intro-center {
  background: var(--white);
  padding: clamp(64px,8vw,110px) var(--gutter) clamp(56px,7vw,96px);
  text-align: center;
}
.leis-intro-center h2 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(2rem,4vw,4rem);
  color: var(--dark); line-height: 1.15; letter-spacing: 0.01em;
  margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.leis-intro-center p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 1rem; color: var(--gray-600);
  line-height: 1.9; max-width: 580px;
  margin: 0 auto 14px;
}

/* Service cards grid */
.leis-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
}
.leis-card {
  background: var(--white);
  padding: clamp(36px,5vw,60px) clamp(28px,4vw,48px);
  transition: background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.leis-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 100%;
  height: 2px;
  background: var(--gold);
  transition: right 0.55s var(--ease);
}
.leis-card:hover::before { right: 0; }
.leis-card:hover { background: #F7F7F7; }
.leis-card-icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 22px;
}
.leis-card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.leis-card-num {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.6rem; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--gray-200);
  margin-bottom: 10px;
}
.leis-card h3 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--dark); margin-bottom: 14px;
  letter-spacing: 0.01em; line-height: 1.25;
}
.leis-card p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.88rem; color: var(--gray-600);
  line-height: 1.88; margin-bottom: 18px;
}
.leis-card ul {
  display: flex; flex-direction: column; gap: 7px; padding: 0;
}
.leis-card ul li {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.82rem; color: var(--gray-600);
  padding-left: 16px; position: relative; line-height: 1.6;
}
.leis-card ul li::before {
  content: '–'; position: absolute; left: 0; color: var(--gold);
}

/* Full-width image showcase with text */
.leis-showcase {
  position: relative;
  height: clamp(320px, 46vh, 540px);
  overflow: hidden;
}
.leis-showcase img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 14s var(--ease);
}
.leis-showcase:hover img { transform: scale(1.04); }
.leis-showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,8,8,.72) 0%,
    rgba(8,8,8,.12) 65%,
    transparent 100%
  );
}
.leis-showcase-content {
  position: absolute;
  top: 50%; left: var(--gutter);
  transform: translateY(-50%);
  max-width: 520px; z-index: 2;
}
.leis-showcase-content h2 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  color: var(--white); line-height: 1.2;
  letter-spacing: 0.01em; margin-bottom: 16px;
}
.leis-showcase-content p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.92rem; color: rgba(255,255,255,.7); line-height: 1.85;
}

/* Process steps horizontal */
.leis-process {
  display: flex;
  gap: 0;
  background: var(--off-white);
}
.leis-process-step {
  flex: 1;
  padding: clamp(32px,4vw,52px) clamp(22px,3vw,38px);
  border-right: 1px solid var(--gray-200);
  position: relative;
}
.leis-process-step:last-child { border-right: none; }
.leis-process-num {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 2.4rem; color: var(--gray-200);
  line-height: 1; margin-bottom: 12px;
}
.leis-process-step h4 {
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dark);
  margin-bottom: 8px;
}
.leis-process-step p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.84rem; color: var(--gray-600); line-height: 1.75;
}

/* Leistungen references slider */
.leis-references-section {
  background: var(--white);
  padding: clamp(48px,6vw,80px) 0 0;
}
.leis-ref-slider {
  position: relative;
  height: clamp(380px, 52vw, 680px);
  overflow: hidden;
  background: var(--gray-100);
}
.leis-ref-slides {
  position: absolute;
  inset: 0;
}
.leis-ref-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.85s var(--ease);
}
.leis-ref-slide.active {
  opacity: 1;
}
.leis-ref-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leis-ref-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.08) 0%, rgba(10,10,10,0.18) 100%);
  pointer-events: none;
}
.leis-ref-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(10,10,10,0.28);
  backdrop-filter: blur(12px);
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.leis-ref-arrow:hover {
  background: rgba(255,255,255,0.92);
  color: var(--dark);
  transform: translateY(calc(-50% - 1px));
}
.leis-ref-arrow svg {
  width: 20px;
  height: 20px;
}
.leis-ref-prev { left: clamp(16px, 2vw, 28px); }
.leis-ref-next { right: clamp(16px, 2vw, 28px); }
.leis-ref-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2vw, 24px);
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.leis-ref-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.leis-ref-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.1);
}

/* Legacy leis-intro/leis-row (kept for other pages) */
.leis-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.leis-intro-img {
  height: clamp(300px,45vh,560px);
  overflow: hidden;
}
.leis-intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.leis-intro-img:hover img { transform: scale(1.04); }
.leis-intro-text {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(44px,6vw,90px) clamp(36px,5vw,72px);
  background: var(--white);
}
.leis-intro-text h2 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.8rem,3vw,3rem);
  color: var(--dark); line-height: 1.2; letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.leis-intro-text p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.94rem; color: var(--gray-600); line-height: 1.9;
}

/* ── KONTAKT PAGE ─────────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,100px);
  align-items: start;
}
.kontakt-info h2 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.8rem,3vw,3rem);
  color: var(--dark); margin-bottom: 30px; line-height: 1.15;
}
.kontakt-detail { display: flex; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.kontakt-item   { display: flex; align-items: flex-start; gap: 16px; }
.k-icon {
  width: 40px; height: 40px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.k-icon svg { width: 17px; height: 17px; }
.k-text { padding-top: 8px; }
.k-text strong {
  display: block;
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px;
}
.k-text span { font-family: var(--font); font-weight: var(--fw-light); font-size: 0.94rem; color: var(--dark); line-height: 1.6; }
.k-text a { color: var(--gold); transition: opacity 0.2s; }
.k-text a:hover { opacity: 0.75; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group   { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-600);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.94rem; color: var(--dark);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 13px 16px; outline: none;
  transition: border-color 0.3s; border-radius: 0;
  width: 100%; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── ÜBER UNS PAGE ────────────────────────────────────────── */

/* Geschichte */
.ep-story {
  background: var(--white);
  padding: clamp(70px, 9vw, 120px) 0;
}
.ep-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: start;
}
.ep-story-text {
  display: flex;
  flex-direction: column;
}
.ep-story-h {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.ep-story-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.ep-story-body p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 50ch;
}
.ep-story-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.ep-story-badge-num {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.ep-story-badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ep-story-badge-label {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.ep-story-badge-text p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.ep-story-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ep-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s var(--ease);
}
.ep-story-visual:hover img {
  transform: scale(1.03);
}

/* Philosophie */
.ep-philosophy {
  background: var(--white);
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid var(--gray-100);
}
.ep-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: center;
}
.ep-philosophy-img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.ep-philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s var(--ease);
}
.ep-philosophy-img:hover img {
  transform: scale(1.03);
}
.ep-philosophy-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
}
.ep-philosophy-h {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  color: var(--dark);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.ep-philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.ep-philosophy-body p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 52ch;
}
.ep-philosophy-tags {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
}
.ep-philosophy-tag {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.ep-philosophy-tag-label {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
  white-space: nowrap;
}
.ep-philosophy-tag p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.78;
}

/* Werte */
.ep-values {
  background: #ffffff;
  padding: clamp(70px, 9vw, 120px) 0;
}
.ep-values-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(44px, 5.5vw, 68px);
}
.ep-values-title h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.ep-values-intro {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.88;
  max-width: 46ch;
  justify-self: end;
  align-self: end;
}
.ep-values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184,151,90,0.18);
}
.ep-value {
  background: #ffffff;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  position: relative;
  transition: background 0.35s var(--ease);
}
.ep-value::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.55;
  transition: opacity 0.35s var(--ease);
}
.ep-value:hover { background: #f9f9f7; }
.ep-value:hover::before { opacity: 1; }
.ep-value-num {
  display: block;
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  color: rgba(184,151,90,0.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  transition: color 0.35s var(--ease);
}
.ep-value:hover .ep-value-num {
  color: rgba(184,151,90,0.22);
}
.ep-value h3 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.ep-value p {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.86;
  max-width: 34ch;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.kontakt-split {
  min-height: 0;
  align-items: start;
}
.kontakt-split .about-img {
  max-height: 600px;
}
.kontakt-split .about-text {
  justify-content: flex-start;
  padding-top: clamp(32px,4vw,52px);
}
.about-img { overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(44px,6vw,90px) clamp(38px,5.5vw,80px);
  background: var(--white);
}
.about-text h2 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.8rem,3.2vw,3.2rem);
  color: var(--dark); margin-bottom: 26px; line-height: 1.15; letter-spacing: 0.01em;
}
.about-text p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.94rem; color: var(--gray-600); line-height: 1.9; margin-bottom: 14px;
}

/* Team */
.team-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.team-intro {
  margin-bottom: 0;
  max-width: 360px;
}
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.team-grid-duo {
  grid-template-columns: repeat(2, 1fr);
  max-width: none;
  gap: clamp(24px, 3vw, 40px);
}
.team-grid-duo .team-card {
  min-width: 0;
}
.team-card-img {
  aspect-ratio: 3/4; overflow: hidden; background: var(--gray-100);
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(20%); transition: all 0.6s var(--ease);
}
.team-card:hover .team-card-img img { filter: grayscale(0%); transform: scale(1.04); }
.team-card-info { padding: 20px 0 28px; border-bottom: 1px solid var(--gray-200); }
.team-card-info h3 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 1.35rem; color: var(--dark); margin-bottom: 4px; letter-spacing: 0.02em;
}
.team-card-info .role {
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  line-height: 1.7;
}
.team-card-info .bio {
  margin-top: 18px;
}
.team-card-info .bio ul {
  margin: 0;
  padding-left: 18px;
}
.team-card-info .bio li {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Values */
.about-values {
  padding: clamp(44px, 5.5vw, 72px) 0;
}
.about-values-shell {
  display: grid;
  gap: clamp(24px, 3vw, 34px);
}
.about-values-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: end;
}
.about-values-title h2 {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.about-values-intro {
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.86;
  max-width: 34ch;
  justify-self: end;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  background: transparent;
}
.value-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  padding: clamp(20px,2.5vw,28px) clamp(18px,2.2vw,24px);
  border: 1px solid rgba(216,215,210,0.9);
  min-height: 220px;
}
.value-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.value-card-line {
  flex: 1;
  height: 1px;
  background: rgba(184,151,90,0.24);
}
.value-num {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: rgba(184,151,90,0.24);
  line-height: 1;
  margin-bottom: 0;
}
.value-card h3 {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(0.96rem, 1.3vw, 1.06rem);
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  line-height: 1.38;
  max-width: 18ch;
}
.value-card p {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.77rem;
  color: var(--gray-600);
  line-height: 1.84;
  max-width: 33ch;
}

/* Stats bar */
.stats-bar { background: var(--dark); padding: clamp(48px,6vw,76px) 0; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,.08);
}
.stat-item {
  background: var(--dark);
  padding: clamp(28px,3.5vw,48px) clamp(22px,3vw,36px);
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(2.4rem,4.5vw,4.5rem);
  color: var(--white); line-height: 1; margin-bottom: 10px;
}
.stat-label {
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,.38);
}

/* Image row strip */
.img-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 3px; height: 280px;
}
.img-row-item { overflow: hidden; background: var(--gray-100); }
.img-row-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.img-row-item:hover img { transform: scale(1.06); }

/* Map */
.map-container { height: 380px; background: var(--gray-100); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,.45);
  padding: clamp(56px,7vw,96px) 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px,4vw,56px);
  padding-bottom: clamp(44px,5.5vw,72px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img   { height: 32px; margin-bottom: 22px; }
.footer-brand p     { font-family: var(--font); font-weight: var(--fw-light); font-size: 0.86rem; line-height: 1.85; max-width: 270px; }
.footer-col h4 {
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; letter-spacing: 0.20em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.86rem; color: rgba(255,255,255,.4);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.85); }
.footer-col address {
  font-style: normal;
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: 0.86rem; line-height: 1.9;
}
.footer-col address a { color: rgba(255,255,255,.4); transition: color 0.25s; }
.footer-col address a:hover { color: var(--gold); }
.footer-bottom {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-bottom p   { font-family: var(--font); font-weight: var(--fw-light); font-size: 0.76rem; }
.footer-legal      { display: flex; gap: 22px; }
.footer-legal a    { font-family: var(--font); font-weight: var(--fw-light); font-size: 0.76rem; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,.75); }
.footer-credit {
  padding: 14px 0 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--font);
  font-weight: var(--fw-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.footer-credit a {
  color: rgba(255,255,255,.72);
  transition: color 0.2s var(--ease);
}
.footer-credit a:hover {
  color: var(--gold-light);
}

/* ── Quote ────────────────────────────────────────────────── */
.quote-block {
  background: var(--off-white);
  padding: clamp(56px,7vw,96px) var(--gutter);
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font); font-weight: var(--fw-light);
  font-size: clamp(1.5rem,3vw,2.6rem);
  color: var(--dark); line-height: 1.5;
  max-width: 820px; margin: 0 auto;
  letter-spacing: 0.01em;
}
.quote-block cite {
  display: block; margin-top: 26px;
  font-family: var(--font); font-weight: var(--fw-medium);
  font-size: 0.62rem; font-style: normal;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .home-projects { grid-auto-rows: 260px; }
  .hp-large { grid-column: span 12; }
  .hp-medium, .hp-small { grid-column: span 6; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(4,1fr); }
  .proj-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .home-about { grid-template-columns: 1fr; }
  .home-about-img { height: 380px; }
  .home-leistungen { grid-template-columns: 1fr 1fr; }

  .ep-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ep-story-body p { max-width: none; }
  .ep-story-visual {
    order: -1;
    aspect-ratio: 3 / 2;
  }
  .ep-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ep-philosophy-img {
    aspect-ratio: 3 / 2;
  }
  .ep-philosophy-body p { max-width: none; }
  .ep-philosophy-tag {
    grid-template-columns: 7rem 1fr;
  }
  .ep-values-head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .ep-values-intro {
    justify-self: start;
    max-width: 48ch;
  }
  .ep-values-list { grid-template-columns: 1fr 1fr; }

  .about-split { grid-template-columns: 1fr; }
  .about-img { height: 380px; }
  .about-text { padding: 44px var(--gutter); }

  .team-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-intro {
    max-width: none;
  }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .leis-approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leis-approach-main,
  .leis-approach-principles { grid-column: 1 / -1; }
  .leis-approach-panel,
  .leis-approach-visual { grid-column: span 1; }
  .leis-approach-main { min-height: auto; }
  .leis-approach-main h2 span:first-child { white-space: normal; }
  .leis-approach-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .leis-intro { grid-template-columns: 1fr; }
  .leis-intro-img { height: 320px; }
  .leis-row { grid-template-columns: 1fr; }
  .leis-row-img { height: 320px; }
  .leis-row.reverse { direction: ltr; }
  .leis-cards-grid { grid-template-columns: 1fr 1fr; }
  .leis-process { flex-direction: column; }
  .leis-process-step { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .leis-ref-slider { height: clamp(320px, 50vw, 520px); }

  .proj-grid, .proj-grid-2 { grid-template-columns: 1fr 1fr; }

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

  .pdetail-simple-frame {
    min-height: clamp(360px, 60vw, 560px);
  }

  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .img-row { grid-template-columns: 1fr 1fr; height: auto; }
  .img-row-item { height: 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --nav-h: 62px; }
  .hero-title { font-size: clamp(1.8rem,8.5vw,2.8rem); }
  .page-hero-about .page-hero-media video { object-position: center 32%; }
  .home-leistungen { grid-template-columns: 1fr; }
  .proj-grid, .proj-grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid-duo { gap: 24px; }
  .ep-values-intro { max-width: none; }
  .ep-values-list { grid-template-columns: 1fr; }
  .ep-philosophy-tag { grid-template-columns: 1fr; gap: 4px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .leis-approach-grid { grid-template-columns: 1fr; }
  .leis-approach-main,
  .leis-approach-panel,
  .leis-approach-visual,
  .leis-approach-principles { grid-column: span 1; }
  .leis-approach-principles {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .leis-principle {
    padding: 0 0 18px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    min-height: auto;
  }
  .leis-principle + .leis-principle::before {
    display: none;
  }
  .leis-principle:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .leis-approach-visual { height: 300px; }
  .leis-ref-slider { height: clamp(260px, 62vw, 360px); }
  .leis-ref-arrow {
    width: 46px;
    height: 46px;
  }
  .leis-ref-prev { left: 12px; }
  .leis-ref-next { right: 12px; }
  .leis-ref-dots { bottom: 14px; }
  .leis-cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .home-projects { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .hp-large, .hp-medium, .hp-small { grid-column: span 1; grid-row: span 1; }
  .pdetail-simple { padding-top: calc(var(--nav-h) + 12px); }
  .pdetail-simple-frame {
    min-height: 0;
    height: clamp(250px, 72vw, 360px);
  }
  .pdetail-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.04) 28%,
      rgba(10,10,10,0.20) 100%
    );
  }
  .pdetail-simple-card-mobile-slot {
    width: 100%;
    margin-top: 16px;
  }
  .pdetail-simple-card-mobile-slot:empty {
    display: none;
  }
  .pdetail-simple-card {
    margin: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .pdetail-simple-card h1 { font-size: clamp(1.1rem, 5.5vw, 1.6rem); }
  .pdetail-simple-subtitle { font-size: 0.58rem; margin-bottom: 8px; }
  .pdetail-simple-text {
    font-size: 0.75rem;
    line-height: 1.65;
    max-width: none;
    margin-bottom: 10px;
  }
  .pdetail-simple-facts { gap: 7px; }
  .pdetail-simple-fact span { font-size: 0.68rem; }
  .pdetail-simple-fact strong { font-size: 0.72rem; }
  .pdetail-simple-controls { bottom: 16px; }
  .pdetail-arrow { width: 44px; height: 44px; }
}

@media (min-width: 600px) and (max-width: 1000px) {
  .proj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
