:root {
  --ink: #0b1620;
  --ink-2: #152431;
  --paper: #f2f3f2;
  --paper-2: #e7e9e8;
  --white: #ffffff;
  --muted: #9ca8b1;
  --text-muted: #5d6870;
  --line: rgba(11,22,32,.14);
  --line-dark: rgba(255,255,255,.15);
  --solar: #f2cb2e;
  --solar-soft: #ead77b;
  --max: 1240px;
  --pad: clamp(22px, 4vw, 58px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100% - (var(--pad) * 2), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 14px; background: var(--solar); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
}
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: grid; grid-template-columns: 12px auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; min-width: 180px; }
.brand-mark { grid-row: 1 / 3; width: 10px; height: 32px; background: var(--solar); display: block; }
.brand-word { font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: .035em; }
.brand-word > span { font-weight: 400; }
.brand-sub { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .03em; }
.site-nav a { opacity: .82; transition: opacity .2s ease; }
.site-nav a:hover { opacity: 1; }
.site-nav .nav-cta { padding: 11px 14px; border: 1px solid rgba(255,255,255,.4); opacity: 1; }
.language { margin-left: 4px; color: var(--muted); font-size: 11px; }
.language span { opacity: .45; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span { display: block; height: 1px; background: white; margin: 8px 0; transition: transform .25s ease; }

.hero {
  position: relative;
  min-height: 980px;
  background:
    radial-gradient(circle at 72% 26%, rgba(242,203,46,.18), transparent 18%),
    radial-gradient(circle at 66% 40%, rgba(44,107,146,.24), transparent 28%),
    linear-gradient(135deg, #09131d 0%, #0b1721 58%, #0e202d 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 280px; background: linear-gradient(to top, rgba(5,12,18,.62), transparent); pointer-events: none; }
.hero-grid { position: absolute; width: 720px; height: 620px; right: -130px; top: 115px; opacity: .14; transform: perspective(850px) rotateX(62deg) rotateZ(-17deg); transform-origin: center; background-image: linear-gradient(rgba(255,255,255,.52) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.52) 1px, transparent 1px); background-size: 48px 48px; }
.hero-grid::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 142px, rgba(242,203,46,.55) 142px 145px); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero-orbit-a { width: 560px; height: 560px; right: 5vw; top: 160px; }
.hero-orbit-b { width: 760px; height: 760px; right: -8vw; top: 60px; }
.hero-inner { min-height: 760px; padding-top: 182px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); gap: clamp(50px, 8vw, 120px); align-items: center; position: relative; z-index: 2; }
.hero-copy { max-width: 760px; padding-bottom: 30px; }
.eyebrow { margin: 0 0 22px; color: var(--solar); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.hero h1 { margin: 0; max-width: 780px; font-weight: 520; font-size: clamp(56px, 6.2vw, 92px); line-height: .97; letter-spacing: -.045em; }
.hero-lead { max-width: 670px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(18px,1.6vw,22px); line-height: 1.55; }
.hero-actions { margin-top: 42px; display: flex; align-items: center; gap: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 205px; padding: 16px 18px; font-size: 13px; font-weight: 700; letter-spacing: .035em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--solar); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 4px; }
.text-link span { color: var(--solar); }

.hero-data { min-height: 500px; border-left: 1px solid rgba(255,255,255,.16); border-right: 1px solid rgba(255,255,255,.16); display: grid; grid-template-rows: auto 1fr auto; padding: 18px 22px; background: rgba(255,255,255,.015); backdrop-filter: blur(2px); }
.hero-data-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .11em; }
.data-visual { position: relative; min-height: 310px; margin: 20px 0; overflow: hidden; }
.sun { position: absolute; width: 58px; height: 58px; right: 17%; top: 9%; border-radius: 50%; background: var(--solar); box-shadow: 0 0 80px rgba(242,203,46,.24); }
.panel { position: absolute; width: 60%; height: 45px; right: 7%; border: 1px solid rgba(255,255,255,.32); transform: skewX(-28deg); background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 44px, rgba(255,255,255,.24) 45px 46px); }
.panel::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(255,255,255,.18); }
.panel-1 { bottom: 31%; }
.panel-2 { bottom: 17%; right: 15%; width: 72%; }
.panel-3 { bottom: 3%; right: 23%; width: 82%; }
.panel-4 { bottom: -11%; right: 31%; width: 92%; }
.data-axis { position: absolute; background: rgba(242,203,46,.45); }
.axis-x { left: 2%; right: 2%; bottom: 1%; height: 1px; }
.axis-y { top: 8%; bottom: 1%; left: 2%; width: 1px; }
.hero-data-bottom { border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding-top: 16px; }
.hero-data-bottom div { display: grid; gap: 4px; }
.hero-data-bottom b { font-size: 12px; color: var(--solar); }
.hero-data-bottom span { font-size: 9px; line-height: 1.35; color: rgba(255,255,255,.46); }

.proof-bar { position: relative; z-index: 3; min-height: 150px; border-top: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 1.2fr repeat(3,1fr) 1.1fr; align-items: center; gap: 24px; }
.proof-intro { color: var(--solar); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; line-height: 1.5; }
.proof-item { display: flex; gap: 16px; align-items: flex-end; }
.proof-item strong { font-size: clamp(29px,3vw,44px); line-height: 1; font-weight: 510; letter-spacing: -.04em; white-space: nowrap; }
.proof-item span { font-size: 10px; line-height: 1.4; color: rgba(255,255,255,.48); padding-bottom: 3px; }
.proof-note { justify-self: end; color: rgba(255,255,255,.28); font-size: 9px; line-height: 1.5; }

.section { padding: clamp(92px, 11vw, 160px) 0; }
.split-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px,7vw,110px); }
.section-kicker { display: flex; align-items: center; gap: 15px; color: #53616a; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; align-self: start; }
.section-number { display: inline-grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); color: var(--ink); font-size: 10px; letter-spacing: 0; }
.section-kicker-light { color: rgba(255,255,255,.48); }
.section-kicker-light .section-number { border-color: rgba(255,255,255,.18); color: var(--white); }
.intro-copy h2, .section-head h2, .projects-heading h2, .difference-title h2, .academy-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(46px,5.6vw,78px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.intro-columns { margin-top: 58px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 54px; max-width: 820px; }
.intro-columns p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--text-muted); }

.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px,7vw,110px); margin-bottom: 68px; }
.service-list { border-top: 1px solid var(--line-dark); }
.service { display: grid; grid-template-columns: 100px minmax(0,1fr) 70px; gap: 28px; padding: 38px 0 42px; border-bottom: 1px solid var(--line-dark); align-items: start; transition: background .25s ease; }
.service-index { color: var(--solar); font-size: 11px; letter-spacing: .08em; padding-top: 11px; }
.service-body { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(260px,1fr); gap: 50px; align-items: start; }
.service h3 { margin: 0; font-size: clamp(29px,3.2vw,46px); line-height: 1.05; font-weight: 480; letter-spacing: -.03em; }
.service p { margin: 2px 0 18px; color: rgba(255,255,255,.58); max-width: 590px; line-height: 1.7; }
.service-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 7px; }
.service-tags span { border: 1px solid rgba(255,255,255,.14); padding: 6px 9px; color: rgba(255,255,255,.45); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.service-arrow { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.17); display: grid; place-items: center; justify-self: end; color: var(--solar); transition: background .2s ease, color .2s ease; }
.service-arrow:hover { background: var(--solar); color: var(--ink); }

.projects { background: #f3f4f3; }
.projects-heading { display: grid; grid-template-columns: 300px minmax(0,1fr); column-gap: clamp(40px,7vw,110px); row-gap: 28px; margin-bottom: 70px; }
.projects-heading .section-kicker { grid-row: 1 / 3; }
.projects-heading p { margin: 0; max-width: 520px; color: var(--text-muted); font-size: 16px; }
.project-grid { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: repeat(2, minmax(300px,1fr)); gap: 18px; }
.project { position: relative; min-height: 380px; padding: 26px; background: #e7e5dc; overflow: hidden; display: grid; grid-template-rows: 1fr auto auto; }
.project-large { grid-row: 1 / 3; min-height: 778px; }
.project-art { position: absolute; inset: 0; overflow: hidden; background: #d9dbd6; }
.project-art::before, .project-art::after { content: ""; position: absolute; }
.project-art::before { width: 130%; height: 100%; left: -18%; top: 26%; transform: perspective(560px) rotateX(62deg) rotateZ(-13deg); background-image: linear-gradient(rgba(11,22,32,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(11,22,32,.22) 1px, transparent 1px); background-size: 30px 30px; }
.project-art::after { width: 260px; height: 260px; border-radius: 50%; background: rgba(242,203,46,.8); right: -60px; top: -70px; filter: blur(.1px); }
.project-art span { position: absolute; z-index: 2; font-size: 9px; letter-spacing: .12em; color: rgba(11,22,32,.5); }
.project-art span:first-child { left: 24px; top: 24px; }
.project-art span:last-child { right: 24px; bottom: 24px; }
.art-egypt { background: linear-gradient(140deg,#e5d8b9,#b9c2ba); }
.art-spain { background: linear-gradient(140deg,#bfc8c2,#e2d3ad); }
.art-us { background: linear-gradient(140deg,#d3d8d4,#a9bac1); }
.art-spain::before { transform: perspective(500px) rotateX(58deg) rotateZ(10deg); top: 18%; }
.art-us::before { transform: perspective(500px) rotateX(66deg) rotateZ(-23deg); top: 33%; }
.project-meta, .project h3, .project-value { position: relative; z-index: 3; }
.project-meta { align-self: start; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .13em; color: rgba(11,22,32,.6); }
.project h3 { align-self: end; margin: 0 0 4px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.project-value { font-size: clamp(38px,5vw,78px); line-height: 1; letter-spacing: -.05em; font-weight: 480; }
.projects-footer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.projects-footer p { margin: 0; color: #768087; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.dark-link { color: var(--ink); border-color: var(--line); }

.difference { background: var(--white); }
.difference-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px,7vw,110px); }
.difference-title { margin-bottom: 66px; }
.dark-eyebrow { color: #7c6500; }
.principles { grid-column: 2; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,1fr); }
.principle { position: relative; padding: 34px 44px 42px 0; min-height: 210px; border-bottom: 1px solid var(--line); }
.principle:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 48px; }
.principle:nth-child(even) { padding-left: 48px; }
.principle > span { display: block; font-size: 10px; color: #96810a; margin-bottom: 28px; }
.principle h3 { margin: 0 0 14px; font-size: 26px; font-weight: 560; }
.principle p { margin: 0; max-width: 470px; color: var(--text-muted); line-height: 1.7; }

.section-sand { background: #e6e0cd; }
.academy-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: clamp(60px,8vw,130px); align-items: center; }
.academy-visual { min-height: 510px; position: relative; background: var(--ink); overflow: hidden; padding: 40px; color: white; }
.academy-visual::before { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(242,203,46,.4); border-radius: 50%; left: -80px; bottom: -90px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.academy-code { position: relative; z-index: 2; font-size: clamp(44px,5vw,74px); line-height: .96; letter-spacing: -.05em; font-weight: 520; }
.academy-code span { color: var(--solar); }
.academy-line { position: absolute; right: -20%; height: 1px; background: rgba(255,255,255,.18); transform: rotate(-22deg); width: 90%; }
.l1 { top: 46%; }.l2 { top: 58%; }.l3 { top: 70%; }
.academy-copy { max-width: 620px; }
.academy-copy p:not(.eyebrow) { margin: 34px 0; color: #5f615d; font-size: 17px; line-height: 1.75; }

.contact { background: var(--ink); color: white; }
.contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px,7vw,110px); }
.contact-copy h2 { max-width: 850px; }
.contact-copy > p:not(.eyebrow) { max-width: 650px; margin: 34px 0 0; color: rgba(255,255,255,.56); font-size: 18px; line-height: 1.7; }
.contact-actions { margin-top: 48px; display: flex; align-items: center; gap: 28px; }
.contact-actions > span { color: rgba(255,255,255,.38); font-size: 12px; letter-spacing: .05em; }

.site-footer { background: #071018; color: white; padding: 45px 0 60px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; align-items: end; }
.brand-footer { color: white; }
.footer-brand p { margin: 10px 0 0 21px; color: rgba(255,255,255,.3); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links, .footer-legal { display: grid; gap: 8px; font-size: 11px; color: rgba(255,255,255,.48); }
.footer-legal { text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .site-nav > a:not(.nav-cta), .language { display: none; }
  .hero { min-height: 1030px; }
  .hero-inner { grid-template-columns: 1fr .62fr; gap: 40px; }
  .hero-data { min-height: 440px; }
  .proof-bar { grid-template-columns: repeat(3,1fr); gap: 26px; padding: 28px 0 36px; }
  .proof-intro, .proof-note { display: none; }
  .proof-item { display: grid; gap: 8px; }
  .proof-item span br { display: none; }
  .split-layout, .section-head, .projects-heading, .difference-grid, .contact-grid { grid-template-columns: 210px 1fr; }
  .service-body { grid-template-columns: 1fr; gap: 10px; }
  .service-tags { grid-column: auto; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .header-inner { height: 74px; }
  .site-nav { position: fixed; inset: 0; background: #08121b; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 70px 30px; font-size: 26px; transform: translateX(100%); transition: transform .28s ease; }
  .site-nav > a:not(.nav-cta), .language { display: block; }
  .site-nav .nav-cta { border: 0; padding: 0; color: var(--solar); }
  .language { font-size: 14px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-open .site-nav { transform: translateX(0); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { min-height: auto; }
  .hero-inner { padding-top: 138px; padding-bottom: 58px; grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(49px,14vw,70px); }
  .hero-lead { font-size: 17px; margin-top: 26px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 34px; }
  .hero-data { min-height: 410px; }
  .hero-grid { width: 520px; height: 480px; right: -300px; top: 170px; }
  .hero-orbit { display: none; }
  .proof-bar { grid-template-columns: 1fr; padding: 0 0 38px; }
  .proof-item { border-top: 1px solid rgba(255,255,255,.13); padding-top: 20px; grid-template-columns: 1fr 1fr; align-items: end; }
  .proof-item strong { font-size: 42px; }
  .proof-item span { text-align: right; }

  .section { padding: 84px 0; }
  .split-layout, .section-head, .projects-heading, .difference-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-head { margin-bottom: 48px; }
  .projects-heading .section-kicker { grid-row: auto; }
  .intro-copy h2, .section-head h2, .projects-heading h2, .difference-title h2, .academy-copy h2, .contact-copy h2 { font-size: clamp(42px,12vw,58px); }
  .intro-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; }
  .service { grid-template-columns: 42px 1fr; padding: 30px 0; gap: 12px; }
  .service-arrow { grid-column: 2; justify-self: start; margin-top: 12px; }
  .service-body h3 { font-size: 31px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project, .project-large { min-height: 470px; grid-row: auto; }
  .project-large { min-height: 590px; }
  .projects-footer { align-items: flex-start; flex-direction: column; }
  .difference-title { margin-bottom: 10px; }
  .principles { grid-column: 1; grid-template-columns: 1fr; }
  .principle, .principle:nth-child(odd), .principle:nth-child(even) { padding: 30px 0; border-right: 0; }
  .academy-grid { grid-template-columns: 1fr; gap: 48px; }
  .academy-visual { min-height: 390px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-legal { text-align: left; }
}

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

/* --- V6.1 refinement layer ------------------------------------------------ */
/* Slightly denser first screen: more technical, less poster-like. */
@media (min-width: 1060px) {
  .hero { min-height: 930px; }
  .hero-inner { min-height: 715px; padding-top: 162px; }
  .hero h1 { max-width: 735px; font-size: clamp(54px, 5.65vw, 82px); line-height: .99; }
  .hero-lead { max-width: 640px; margin-top: 30px; }
  .hero-data { min-height: 455px; }
  .data-visual { min-height: 275px; }
  .proof-bar { min-height: 132px; }
}

/* The intro now carries a small engineering signal in the previously empty
   left field. It is intentionally restrained: data vocabulary, not decoration. */
.intro .split-layout {
  grid-template-columns: 300px 1fr;
  grid-template-rows: auto auto;
}
.intro .section-kicker { grid-column: 1; grid-row: 1; }
.intro-signal {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-top: 76px;
  max-width: 208px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.intro-signal span {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7479;
}
.intro-signal span:nth-child(even) { color: #8b7500; }
.intro-copy { grid-column: 2; grid-row: 1 / 3; }

/* Dark-section legibility. */
.service p { color: rgba(255,255,255,.68); }
.service-tags span {
  padding: 7px 10px;
  color: rgba(255,255,255,.56);
  font-size: 9.5px;
  letter-spacing: .075em;
}
.service:hover .service-arrow { border-color: rgba(242,203,46,.52); }

/* Project cards read as technical case cards rather than decorative placeholders. */
.project { grid-template-rows: 1fr auto auto; }
.project-caption, .project-value, .project-meta { position: relative; z-index: 3; }
.project-caption {
  align-self: end;
  display: grid;
  gap: 11px;
  margin-bottom: 10px;
}
.project-caption h3 { margin: 0; }
.project-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.project-facts span {
  padding: 5px 7px;
  border: 1px solid rgba(11,22,32,.24);
  background: rgba(247,246,241,.24);
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .095em;
  color: rgba(11,22,32,.66);
  backdrop-filter: blur(1px);
}
.project-art::before { opacity: .9; }
.project-art::after { opacity: .82; }
.project::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(247,246,241,.42) 44%, rgba(247,246,241,.78));
}
.project-large::after {
  inset: 56% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(247,246,241,.32) 38%, rgba(247,246,241,.72));
}
.project h3 { font-size: 22px; }
.project-value { font-variant-numeric: tabular-nums; }

/* Contact: preserve impact but reduce the visual "dark runway" at the end. */
.contact.section { padding-top: clamp(82px, 8vw, 118px); padding-bottom: clamp(78px, 8vw, 112px); }
.contact-copy > p:not(.eyebrow) { margin-top: 26px; }
.contact-actions { margin-top: 38px; }

@media (max-width: 1050px) {
  .intro .split-layout { grid-template-columns: 210px 1fr; }
  .intro-signal { max-width: 180px; }
}

@media (max-width: 760px) {
  .intro .split-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .intro .section-kicker, .intro-signal, .intro-copy { grid-column: 1; grid-row: auto; }
  .intro-signal { margin-top: 2px; max-width: 100%; grid-template-columns: repeat(4,auto); justify-content: space-between; gap: 12px; }
  .service p { color: rgba(255,255,255,.72); }
  .project-caption { gap: 9px; }
  .project-facts span { font-size: 7.5px; }
}

/* --- V6.2: original SolPEG identity, knowledge archive, tighter mobile ----- */
.brand {
  display: block;
  min-width: 0;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: 184px;
  height: auto;
}
.brand-footer .brand-logo { width: 190px; opacity: .92; }
.footer-brand p { display: none; }
.site-nav a.is-current { color: var(--solar); opacity: 1; }

.knowledge { background: #eef0ef; }
.knowledge-head {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
  margin-bottom: 64px;
}
.knowledge-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(46px,5.6vw,78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.knowledge-intro {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}
.publication-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.publication-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.publication-preview {
  position: relative;
  display: block;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: #ded9c9;
  border: 1px solid rgba(11,22,32,.09);
}
.publication-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,22,32,.22), transparent 44%);
  opacity: .4;
  transition: opacity .2s ease;
}
.publication-preview:hover::after { opacity: .1; }
.publication-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: saturate(.86) contrast(.97);
  transition: transform .35s ease, filter .35s ease;
}
.publication-preview:hover img { transform: scale(1.012); filter: saturate(1) contrast(1); }
.publication-preview > span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  background: var(--ink);
  color: var(--solar);
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: .1em;
}
.publication-meta {
  margin-top: 20px;
  color: #8b7500;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.publication-card h3 {
  margin: 12px 0 12px;
  font-size: clamp(22px,2vw,29px);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 560;
}
.publication-card > p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
}
.knowledge-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.knowledge-footer p {
  margin: 0;
  color: #768087;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Standalone knowledge/publications page */
.page-shell { background: #f3f1e9; }
.page-hero {
  min-height: 560px;
  padding: 185px 0 90px;
  color: white;
  background:
    radial-gradient(circle at 78% 35%, rgba(242,203,46,.16), transparent 18%),
    linear-gradient(135deg,#09131d 0%,#0b1721 62%,#0e202d 100%);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
}
.page-hero .section-kicker { color: rgba(255,255,255,.5); }
.page-hero .section-number { color: white; border-color: rgba(255,255,255,.18); }
.page-hero-copy { max-width: 850px; }
.page-hero-copy .eyebrow { margin-bottom: 20px; }
.page-hero-copy p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 18px;
  line-height: 1.7;
}
.archive-section { background: #f3f4f3; }
.archive-intro {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
  margin-bottom: 58px;
}
.archive-intro h2 {
  margin: 0;
  font-size: clamp(38px,4.6vw,64px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 500;
}
.archive-intro p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}
.archive-list { border-top: 1px solid var(--line); }
.archive-item {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.archive-thumb {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: #e2dfd3;
  border: 1px solid rgba(11,22,32,.09);
}
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.archive-year { color: #8b7500; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.archive-item h3 { margin: 8px 0 8px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; font-weight: 560; }
.archive-item p { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: 14px; }
.archive-author { margin-top: 8px !important; font-size: 12px !important; color: #7d858a !important; }
.archive-open {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #8b7500;
}
.archive-open:hover { background: var(--ink); color: var(--solar); }
.archive-note { margin-top: 34px; color: #778087; font-size: 13px; }

@media (max-width: 1050px) {
  .brand-logo { width: 168px; }
  .knowledge-head, .page-hero-inner, .archive-intro { grid-template-columns: 210px 1fr; }
  .publication-grid { gap: 14px; }
}

@media (max-width: 760px) {
  .brand-logo { width: 210px; max-width: calc(100vw - 96px); }
  .header-inner { height: 82px; }
  .hero-inner { padding-top: 122px; padding-bottom: 32px; gap: 26px; }
  .hero .eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(45px,12.3vw,61px); line-height: .99; }
  .hero-lead { font-size: 16px; line-height: 1.52; margin-top: 22px; }
  .hero-actions { margin-top: 28px; gap: 17px; }
  .hero-actions .button { min-width: 0; padding: 14px 16px; }
  .hero-data { display: none; }
  .hero-grid { width: 470px; height: 430px; right: -286px; top: 310px; opacity: .13; }
  .proof-bar {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    padding: 18px 0 28px;
  }
  .proof-item {
    display: block;
    border-top: 1px solid rgba(255,255,255,.13);
    padding: 14px 0 0;
  }
  .proof-item strong { display: block; font-size: clamp(25px,7vw,31px); margin-bottom: 7px; }
  .proof-item span { display: block; text-align: left; font-size: 7.5px; line-height: 1.35; padding: 0; }
  .proof-item span br { display: none; }

  .knowledge-head, .page-hero-inner, .archive-intro { grid-template-columns: 1fr; gap: 32px; }
  .publication-grid { grid-template-columns: 1fr; gap: 46px; }
  .publication-preview { aspect-ratio: 1.35 / 1; }
  .knowledge-footer { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: auto; padding: 142px 0 72px; }
  .page-hero h1 { font-size: clamp(45px,12vw,58px); }
  .archive-item { grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
  .archive-open { grid-column: 2; width: auto; height: auto; justify-self: start; padding: 9px 12px; font-size: 11px; }
  .archive-item h3 { font-size: 21px; }
  .archive-thumb { margin-top: 2px; }
}

/* --- V6.3: real SolPEG project imagery + field engineering ---------------- */
.fieldwork {
  background: #0e1a24;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.06);
}
.fieldwork-head {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
  margin-bottom: 58px;
}
.fieldwork-head h2 {
  margin: 0;
  max-width: 820px;
  white-space: pre-line;
  font-size: clamp(46px,5.6vw,78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fieldwork-intro {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 17px;
  line-height: 1.72;
}
.fieldwork-grid {
  display: grid;
  grid-template-columns: 1.35fr .82fr .82fr;
  gap: 14px;
}
.fieldwork-card {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: #0a1118;
  border: 1px solid rgba(255,255,255,.09);
}
.fieldwork-card-wide { min-height: 520px; }
.fieldwork-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.88) contrast(1.03);
  transition: transform .5s ease, filter .35s ease;
}
.fieldwork-card:hover img {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.03);
}
.fieldwork-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(5,12,18,.82));
  pointer-events: none;
}
.fieldwork-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 6px;
}
.fieldwork-card figcaption span {
  color: var(--solar);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fieldwork-card figcaption strong {
  font-size: 19px;
  font-weight: 520;
  letter-spacing: -.015em;
}
.fieldwork-credit {
  margin: 16px 0 0;
  color: rgba(255,255,255,.32);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Real photographs turn the case cards into evidence, not illustration. */
.project-photo-card {
  background: #101a22;
  color: var(--white);
}
.project-photo-card .project-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(1.03) brightness(.84);
  transition: transform .55s ease, filter .35s ease;
}
.project-photo-card:hover .project-photo {
  transform: scale(1.018);
  filter: saturate(.94) contrast(1.04) brightness(.86);
}
.project-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(4,10,15,.48) 0%, rgba(4,10,15,.05) 36%, rgba(4,10,15,.76) 78%, rgba(4,10,15,.92) 100%),
    linear-gradient(110deg, rgba(5,12,18,.22), transparent 58%);
  pointer-events: none;
}
.project-photo-card::after {
  inset: auto;
  background: none;
}
.project-photo-card .project-meta,
.project-photo-card .project-caption,
.project-photo-card .project-value {
  color: var(--white);
}
.project-photo-card .project-meta {
  color: rgba(255,255,255,.69);
}
.project-photo-card .project-facts span {
  border-color: rgba(255,255,255,.22);
  background: rgba(6,14,20,.25);
  color: rgba(255,255,255,.72);
  backdrop-filter: blur(3px);
}
.project-photo-card .project-value {
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.projects-heading p { max-width: 620px; }

@media (max-width: 1050px) {
  .fieldwork-head { grid-template-columns: 210px 1fr; }
  .fieldwork-grid { grid-template-columns: 1.2fr 1fr; }
  .fieldwork-card-wide { grid-column: 1 / 3; min-height: 500px; }
  .fieldwork-card { min-height: 360px; }
}

@media (max-width: 760px) {
  .fieldwork-head { grid-template-columns: 1fr; gap: 34px; }
  .fieldwork-head h2 { font-size: clamp(42px,12vw,58px); }
  .fieldwork-intro { font-size: 16px; }
  .fieldwork-grid { grid-template-columns: 1fr; gap: 10px; }
  .fieldwork-card,
  .fieldwork-card-wide { grid-column: auto; min-height: 330px; }
  .fieldwork-card-wide { min-height: 410px; }
  .project-photo-card .project-photo { object-position: center; }
}


/* --- V6.3 service clarity + German-language refinement ------------------- */
.service-detail { min-width: 0; }
.service-detail > p { margin-top: 2px; }
.service-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.service-points li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.4;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 5px;
  height: 5px;
  background: var(--solar);
}
@media (max-width: 1050px) {
  .service-body { grid-template-columns: minmax(210px,.6fr) minmax(0,1fr); gap: 34px; }
}
@media (max-width: 760px) {
  .service-body { grid-template-columns: 1fr; gap: 18px; }
  .service-points { grid-template-columns: 1fr; margin-top: 18px; }
  .service-points li { font-size: 14px; }
}

/* --- V6.4: persistent navigation + updated track record ------------------ */
/* Header remains visible while browsing long technical content. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled,
.page-shell .site-header {
  background: rgba(7,16,24,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 32px rgba(0,0,0,.12);
}
.site-header.is-scrolled .header-inner,
.page-shell .site-header .header-inner { border-bottom-color: transparent; }

/* Slim, always-reachable desktop section navigator. */
.section-rail {
  position: fixed;
  z-index: 92;
  left: 18px;
  top: 50%;
  width: 112px;
  transform: translateY(-42%);
  padding: 8px 0;
  background: rgba(7,16,24,.90);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.section-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}
.section-rail a {
  position: relative;
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 5px;
  padding: 7px 9px 7px 11px;
  color: rgba(255,255,255,.52);
  border-left: 2px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.section-rail a:hover { color: white; background: rgba(255,255,255,.035); }
.section-rail a.is-current {
  color: white;
  border-left-color: var(--solar);
  background: rgba(242,203,46,.055);
}
.section-rail a span {
  color: var(--solar);
  font-size: 8px;
  letter-spacing: .07em;
}
.section-rail a b {
  font-size: 9px;
  line-height: 1.15;
  font-weight: 520;
  letter-spacing: .035em;
}

/* Four primary proof points instead of less reliable capacity aggregation. */
.proof-bar {
  grid-template-columns: 1.05fr repeat(4,1fr);
  gap: clamp(15px,2vw,28px);
}
.proof-item { align-items: center; }
.proof-item strong { font-size: clamp(27px,2.65vw,40px); }
.proof-item span { max-width: 112px; }

.international-proof {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 9px;
  row-gap: 3px;
}
.international-proof strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 540;
  letter-spacing: -.035em;
}
.international-proof > span {
  color: #8b7500;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.international-proof p { grid-column: 1 / 3; }

/* Anchor targets should not disappear under the fixed header. */
section[id] { scroll-margin-top: 92px; }

@media (max-width: 1320px) {
  .section-rail { width: 46px; left: 8px; }
  .section-rail a { grid-template-columns: 1fr; padding-inline: 8px; text-align: center; }
  .section-rail a b { display: none; }
}

@media (max-width: 1050px) {
  .section-rail { display: none; }
  .proof-bar { grid-template-columns: repeat(2,1fr); gap: 0 28px; }
  .proof-intro { display: none; }
  .proof-item { border-top: 1px solid rgba(255,255,255,.13); padding: 20px 0; }
}

@media (max-width: 760px) {
  .site-header { background: rgba(7,16,24,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .proof-bar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding-bottom: 26px; }
  .proof-item { display: block; padding: 16px 0 15px; }
  .proof-item strong { font-size: clamp(28px,8vw,36px); margin-bottom: 6px; }
  .proof-item span { max-width: none; text-align: left; font-size: 8px; }
  .projects-footer { gap: 22px; }
}


/* --- V6.5: role-based navigation + service detail pages ------------------ */
.mobile-start { display: none; }
.nav-services { position: relative; }
.nav-services-toggle {
  appearance: none; border: 0; background: transparent; color: inherit; padding: 0;
  font: inherit; letter-spacing: inherit; cursor: pointer; opacity: .82; display: inline-flex; align-items: center; gap: 7px;
}
.nav-services-toggle:hover, .nav-services.is-open > .nav-services-toggle, .nav-services.is-current > .nav-services-toggle { opacity: 1; color: var(--solar); }
.nav-services-toggle > span { font-size: 14px; line-height: 1; transition: transform .2s ease; }
.nav-services.is-open .nav-services-toggle > span { transform: rotate(45deg); }
.nav-services-menu {
  position: absolute; top: calc(100% + 18px); left: -18px; width: 260px; padding: 10px;
  background: rgba(7,16,24,.98); border: 1px solid rgba(255,255,255,.11); box-shadow: 0 18px 45px rgba(0,0,0,.24);
  opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-services:hover .nav-services-menu, .nav-services:focus-within .nav-services-menu, .nav-services.is-open .nav-services-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-services-menu a { display: block; padding: 10px 9px; border-bottom: 1px solid rgba(255,255,255,.07); opacity: .7; }
.nav-services-menu a:last-child { border-bottom: 0; }
.nav-services-menu a:first-child { color: var(--solar); }
.nav-services-menu a:hover { opacity: 1; background: rgba(255,255,255,.035); }

/* The left rail is now a specialist shortcut, not a duplicate of the global header. */
.service-rail { top: 52%; width: 142px; opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.service-rail a { grid-template-columns: 34px 1fr; min-height: 42px; }
.service-rail a span { font-size: 7px; }
.service-rail a b { font-size: 9px; line-height: 1.2; }

/* Service pages deliberately use a slightly firmer, smaller headline than editorial sections. */
.service-page-hero {
  position: relative; min-height: 720px; padding: 176px 0 52px; overflow: hidden; color: white;
  background: radial-gradient(circle at 78% 28%, rgba(242,203,46,.16), transparent 18%), linear-gradient(135deg,#09131d 0%,#0b1721 62%,#0e202d 100%);
}
.service-page-grid { position: absolute; right: -130px; top: 120px; width: 650px; height: 520px; opacity: .10; transform: perspective(850px) rotateX(62deg) rotateZ(-17deg); background-image: linear-gradient(rgba(255,255,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px); background-size: 46px 46px; }
.service-page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 280px minmax(0,1fr); gap: clamp(40px,7vw,110px); }
.service-page-title { max-width: 880px; }
.service-page-title h1 { margin: 0; max-width: 900px; font-size: clamp(46px,5.25vw,72px); line-height: 1.01; letter-spacing: -.04em; font-weight: 570; }
.service-page-title > p:last-child { max-width: 760px; margin: 30px 0 0; color: rgba(255,255,255,.68); font-size: 19px; line-height: 1.68; }
.detail-proof { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 72px; border-top: 1px solid rgba(255,255,255,.15); }
.detail-proof > div { padding: 24px 22px 4px 0; border-right: 1px solid rgba(255,255,255,.12); }
.detail-proof > div:last-child { border-right: 0; }
.detail-proof strong { display: block; font-size: clamp(30px,3.2vw,43px); line-height: 1; font-weight: 540; letter-spacing: -.035em; }
.detail-proof span { display: block; margin-top: 8px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.detail-section { background: #f3f4f3; }
.detail-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: clamp(40px,7vw,110px); }
.detail-aside { align-self: start; position: sticky; top: 128px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail-aside > span { color: #8b7500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.detail-aside p { margin: 18px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.detail-blocks { border-top: 1px solid var(--line); }
.detail-block { display: grid; grid-template-columns: 58px minmax(300px,.82fr) minmax(320px,1fr); gap: 50px; padding: 48px 0 54px; border-bottom: 1px solid var(--line); }
.detail-index { color: #8b7500; font-size: 10px; padding-top: 7px; }
.detail-copy h2 { margin: 0 0 26px; font-size: clamp(30px,2.75vw,40px); line-height: 1.11; letter-spacing: -.028em; font-weight: 610; text-wrap: balance; }
.detail-copy p { margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.78; }
.detail-copy .detail-note { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--solar); color: #6b7073; font-size: 14px; }
.detail-list { list-style: none; margin: 3px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
.detail-list li { position: relative; padding: 11px 0 11px 18px; border-bottom: 1px solid rgba(11,22,32,.09); color: #3f4b53; font-size: 15px; line-height: 1.45; }
.detail-list li::before { content:""; position:absolute; left:0; top:19px; width:5px; height:5px; background:var(--solar); }

@media (max-width: 1320px) {
  .service-rail { width: 46px; left: 8px; }
  .service-rail a { grid-template-columns: 1fr; padding-inline: 8px; text-align: center; }
  .service-rail a b { display: none; }
}

/* Tablet and mobile use one deliberate navigation model: a slide-in panel. */
@media (max-width: 1050px) {
  .menu-toggle { display: block; position: relative; z-index: 112; }
  .site-nav {
    position: fixed; z-index: 108; inset: 0 0 0 auto; width: min(92vw,460px); height: 100dvh;
    padding: 116px 28px 38px; background: #08121b; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; font-size: 24px; overflow-y: auto; transform: translateX(101%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.26);
  }
  .site-nav > a:not(.nav-cta), .language, .mobile-start { display: block; }
  .site-nav > a, .site-nav > .nav-services { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .site-nav > a { opacity: .92; }
  .mobile-start { display: block !important; }
  .nav-services-toggle { width: 100%; justify-content: space-between; font-size: inherit; opacity: .95; }
  .nav-services-menu {
    position: static; width: auto; padding: 0 0 0 16px; border: 0; box-shadow: none; background: transparent;
    max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none; transition: max-height .28s ease, padding .28s ease;
  }
  .nav-services:hover .nav-services-menu, .nav-services:focus-within .nav-services-menu { max-height: 0; padding-top: 0; }
  .nav-services.is-open .nav-services-menu { max-height: 330px; padding-top: 13px; }
  .nav-services-menu a { padding: 10px 0; border-bottom: 0; font-size: 16px; color: rgba(255,255,255,.65); }
  .nav-services-menu a:first-child { color: var(--solar); }
  .site-nav .nav-cta { margin-top: 24px; border: 1px solid rgba(242,203,46,.65); color: var(--solar); padding: 14px 16px; text-align: center; }
  .site-nav .language { margin: 18px 0 0; padding: 0; border: 0; font-size: 11px; }
  .menu-open .site-nav { transform: translateX(0); }
  body.menu-open::before { content:""; position: fixed; z-index: 104; inset: 0; background: rgba(0,0,0,.46); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .service-rail { display: none; }
  .service-page-hero-inner, .detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .detail-aside { position: static; max-width: 650px; }
  .detail-block { grid-template-columns: 48px minmax(0,1fr); }
  .detail-list { grid-column: 2; }
}

@media (max-width: 760px) {
  .site-nav { width: min(94vw,430px); padding: 102px 24px 30px; font-size: 22px; }
  .service-page-hero { min-height: auto; padding: 132px 0 42px; }
  .service-page-title h1 { font-size: clamp(42px,11.7vw,56px); line-height: 1.01; }
  .service-page-title > p:last-child { margin-top: 23px; font-size: 17px; line-height: 1.6; }
  .detail-proof { margin-top: 48px; grid-template-columns: 1fr; }
  .detail-proof > div { padding: 16px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .detail-proof > div:first-child { border-top: 0; }
  .detail-proof strong { font-size: 31px; }
  .detail-block { grid-template-columns: 32px minmax(0,1fr); gap: 16px; padding: 34px 0 38px; }
  .detail-copy h2 { font-size: 29px; }
  .detail-copy p { font-size: 16px; }
  .detail-list { grid-template-columns: 1fr; gap: 0; }
  .detail-list li { font-size: 15px; }
}


/* --- V6.6 mobile hardening / cache-safe release -------------------------- */
@media (max-width: 1050px) {
  nav.section-rail, nav.service-rail { display: none !important; visibility: hidden !important; pointer-events: none !important; }
  .site-nav .nav-services-menu a { display: block !important; width: 100%; }
  .site-nav .nav-services-toggle {
    appearance: none !important; -webkit-appearance: none !important;
    border: 0 !important; background: transparent !important; color: rgba(255,255,255,.94) !important;
  }
}
@media (max-width: 760px) {
  .site-nav { padding-top: 88px; }
  .site-nav > a, .site-nav > .nav-services { padding-top: 13px; padding-bottom: 13px; }
  .nav-services-menu { padding-left: 18px !important; }
  .nav-services-menu a { font-size: 17px !important; line-height: 1.35; padding: 9px 0 !important; }
  .nav-services.is-open .nav-services-menu { max-height: 390px; }
}


/* --- V6.7: robust mobile sticky header + inspection content release ------ */
/* Android/iOS browsers can be aggressive with dynamic browser chrome. Keep
   the site header on its own composited layer so it remains reachable while
   the document scrolls. */
.site-header {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
@media (max-width: 1050px) {
  .site-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    min-height: 76px;
    background: rgba(7,16,24,.97) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.09), 0 8px 24px rgba(0,0,0,.10);
  }
  .header-inner { height: 76px; }
  .menu-toggle { position: relative; z-index: 1002; }
  .site-nav { z-index: 1001; }
  body.menu-open::before { z-index: 999; }
  .page-shell .service-page-hero { padding-top: 148px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .header-inner { height: 72px; }
  .page-shell .service-page-hero { padding-top: 126px; }
}
\n\n/* V6.8 — Kunden & Auftraggeber */\n.client-trust {\n  background: #edf0ee;\n  padding: clamp(62px, 7vw, 96px) 0;\n  border-top: 1px solid var(--line);\n  border-bottom: 1px solid var(--line);\n}\n.client-trust-head {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);\n  gap: clamp(32px, 6vw, 100px);\n  align-items: end;\n  margin-bottom: 42px;\n}\n.client-trust-head .eyebrow { margin-bottom: 12px; }\n.client-trust-head h2 {\n  margin: 0;\n  color: var(--ink);\n  font-size: clamp(36px, 4.2vw, 58px);\n  line-height: 1.04;\n  font-weight: 540;\n  letter-spacing: -.035em;\n}\n.client-trust-head > p {\n  margin: 0 0 4px;\n  color: var(--text-muted);\n  font-size: 16px;\n  line-height: 1.75;\n}\n.client-logo-grid {\n  display: grid;\n  grid-template-columns: repeat(5, minmax(0, 1fr));\n  border-left: 1px solid #d8d7d0;\n  border-top: 1px solid #d8d7d0;\n}\n.client-logo-grid a {\n  min-height: 112px;\n  display: grid;\n  place-items: center;\n  padding: 22px 24px;\n  background: rgba(255,255,255,.68);\n  border-right: 1px solid #d8d7d0;\n  border-bottom: 1px solid #d8d7d0;\n  transition: background .2s ease, transform .2s ease;\n}\n.client-logo-grid a:hover,\n.client-logo-grid a:focus-visible {\n  background: #fff;\n  outline: none;\n}\n.client-logo-grid img {\n  display: block;\n  max-width: 142px;\n  width: 100%;\n  max-height: 50px;\n  height: auto;\n  object-fit: contain;\n  filter: grayscale(1);\n  opacity: .7;\n  transition: filter .2s ease, opacity .2s ease, transform .2s ease;\n}\n.client-logo-grid a:hover img,\n.client-logo-grid a:focus-visible img {\n  filter: grayscale(0);\n  opacity: 1;\n  transform: translateY(-1px);\n}\n.client-note {\n  margin: 18px 0 0;\n  color: #7a8388;\n  font-size: 10px;\n  line-height: 1.5;\n  letter-spacing: .06em;\n  text-transform: uppercase;\n}\n@media (max-width: 900px) {\n  .client-trust-head { grid-template-columns: 1fr; align-items: start; }\n  .client-logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }\n}\n@media (max-width: 600px) {\n  .client-trust { padding: 58px 0; }\n  .client-trust-head { margin-bottom: 28px; gap: 18px; }\n  .client-trust-head h2 { font-size: clamp(34px, 10vw, 44px); }\n  .client-trust-head > p { font-size: 15px; line-height: 1.65; }\n  .client-logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }\n  .client-logo-grid a { min-height: 92px; padding: 18px; }\n  .client-logo-grid img { max-width: 120px; max-height: 42px; }\n}\n

/* --- V6.9 reference portfolio --------------------------------------------- */
/* One flagship project plus four deliberately different system types. */
.project-grid.project-grid-five {
  grid-template-columns: 1.42fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(330px, 1fr));
  gap: 18px;
}
.project-grid-five .project-large {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 760px;
}
.project-grid-five .project { min-height: 360px; }
.project-grid-five .project-value { font-size: clamp(32px, 4vw, 62px); }
.project-grid-five .project-large .project-value { font-size: clamp(46px, 5vw, 78px); }
.project-grid-five .project-meta { color: rgba(255,255,255,.76); }
.project-grid-five .project-caption h3,
.project-grid-five .project-value { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.project-grid-five .project-facts span {
  border-color: rgba(255,255,255,.35);
  background: rgba(5,14,21,.28);
  color: rgba(255,255,255,.9);
}
.project-grid-five .project::after {
  inset: 34% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(5,14,21,.24) 32%, rgba(5,14,21,.82));
}
.project-grid-five .project-large::after {
  inset: 46% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(5,14,21,.18) 32%, rgba(5,14,21,.82));
}
@media (max-width: 1120px) {
  .project-grid.project-grid-five {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
  }
  .project-grid-five .project-large {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 610px;
  }
  .project-grid-five .project { min-height: 430px; }
}
@media (max-width: 760px) {
  .project-grid.project-grid-five { grid-template-columns: 1fr; }
  .project-grid-five .project-large {
    grid-column: auto;
    min-height: 570px;
  }
  .project-grid-five .project { min-height: 470px; }
}

/* --- V6.10: project detail pages ---------------------------------------- */
.project-hit { position:absolute; inset:0; z-index:5; }
.project-photo-card { position:relative; transition:transform .2s ease, box-shadow .2s ease; }
.project-photo-card:hover { transform:translateY(-2px); box-shadow:0 18px 38px rgba(11,22,32,.14); }
.project-photo-card:hover .project-photo { transform:scale(1.015); }
.project-photo { transition:transform .4s ease; }

.project-page-hero { position:relative; overflow:hidden; background:var(--ink); color:white; padding:146px 0 82px; }
.project-page-hero::after { content:""; position:absolute; right:-140px; top:80px; width:640px; height:640px; border:1px solid rgba(239,201,48,.12); border-radius:50%; }
.project-page-head { position:relative; z-index:2; display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); align-items:end; }
.project-back { align-self:start; display:inline-flex; gap:10px; align-items:center; width:max-content; color:rgba(255,255,255,.70); text-decoration:none; font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.project-back:hover { color:var(--solar); }
.project-title-wrap .eyebrow { margin-bottom:18px; }
.project-title-wrap h1 { margin:0; font-size:clamp(52px,6vw,88px); line-height:.96; letter-spacing:-.045em; font-weight:570; }
.project-title-wrap .project-subtitle { margin:24px 0 0; color:rgba(255,255,255,.80); font-size:20px; line-height:1.6; max-width:760px; }
.project-kpis { position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:62px; border-top:1px solid rgba(255,255,255,.14); }
.project-kpi { padding:24px 20px 6px 0; border-right:1px solid rgba(255,255,255,.11); }
.project-kpi:last-child { border-right:0; }
.project-kpi b { display:block; font-size:clamp(24px,2.7vw,38px); font-weight:560; letter-spacing:-.03em; }
.project-kpi span { display:block; margin-top:7px; color:rgba(255,255,255,.64); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }

.project-detail { background:#f3f4f3; }
.project-detail-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); }
.project-summary { align-self:start; position:sticky; top:128px; padding-top:14px; border-top:1px solid var(--line); }
.project-summary h2 { margin:0 0 16px; font-size:19px; font-weight:600; }
.project-summary dl { margin:0; }
.project-summary-row { display:grid; grid-template-columns:98px 1fr; gap:12px; padding:10px 0; border-bottom:1px solid rgba(11,22,32,.08); }
.project-summary dt { color:#8b7500; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.project-summary dd { margin:0; color:#3f4b53; font-size:14px; line-height:1.45; }
.project-main { min-width:0; }
.project-main-image { margin:0 0 44px; background:#d9dcda; overflow:hidden; }
.project-main-image img { width:100%; display:block; aspect-ratio:16/9; object-fit:cover; }
.project-main-image figcaption { display:flex; justify-content:space-between; gap:20px; padding:11px 0 0; color:#777d81; font-size:10px; text-transform:uppercase; letter-spacing:.07em; }
.project-story { display:grid; grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr); gap:54px; padding:42px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.project-story h2 { margin:0; font-size:clamp(31px,3.2vw,46px); line-height:1.08; letter-spacing:-.03em; font-weight:590; }
.project-story p { margin:0; color:var(--text-muted); font-size:17px; line-height:1.75; }
.project-scope { padding:44px 0 0; }
.project-scope h2 { margin:0 0 24px; font-size:30px; font-weight:590; letter-spacing:-.025em; }
.project-scope-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; border-top:1px solid var(--line); }
.project-scope-list li { position:relative; padding:14px 0 14px 18px; border-bottom:1px solid var(--line); color:#3f4b53; font-size:15px; line-height:1.5; }
.project-scope-list li::before { content:""; position:absolute; left:0; top:21px; width:5px; height:5px; background:var(--solar); }
.project-next { background:var(--ink); color:white; }
.project-next-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:30px; }
.project-next-head h2 { margin:0; font-size:clamp(34px,4vw,54px); font-weight:540; letter-spacing:-.035em; }
.project-next-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.project-next-card { position:relative; display:block; min-height:240px; overflow:hidden; color:white; text-decoration:none; background:#18242d; }
.project-next-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.58; transition:transform .35s ease, opacity .35s ease; }
.project-next-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 20%,rgba(6,14,20,.8) 100%); }
.project-next-card span { position:absolute; left:22px; bottom:20px; z-index:2; font-size:23px; font-weight:570; }
.project-next-card:hover img { transform:scale(1.025); opacity:.68; }

.project-rail a b { max-width:130px; }

@media (max-width: 980px) {
  .project-page-head, .project-detail-grid { grid-template-columns:1fr; gap:34px; }
  .project-summary { position:static; }
  .project-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .project-story { grid-template-columns:1fr; gap:24px; }
}
@media (max-width: 680px) {
  .project-page-hero { padding:126px 0 52px; }
  .project-title-wrap h1 { font-size:clamp(46px,14vw,64px); }
  .project-title-wrap .project-subtitle { font-size:17px; }
  .project-kpis { grid-template-columns:1fr 1fr; margin-top:42px; }
  .project-kpi { padding:15px 10px 15px 0; }
  .project-kpi:nth-child(2n) { border-right:0; padding-left:14px; }
  .project-kpi b { font-size:27px; }
  .project-summary-row { grid-template-columns:88px 1fr; }
  .project-main-image { margin-bottom:30px; }
  .project-story p { font-size:16px; }
  .project-scope-list { grid-template-columns:1fr; }
  .project-next-grid { grid-template-columns:1fr; }
}


/* --- V6.11 planning evidence -------------------------------------------- */
.planning-evidence {
  background: #edf0ee;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.planning-evidence-head {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
  align-items: start;
  margin-bottom: clamp(36px,5vw,62px);
}
.planning-evidence-head .eyebrow { margin: 0 0 14px; }
.planning-evidence-head h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px,4.7vw,66px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 560;
}
.planning-evidence-head > div:last-child > p:last-child {
  margin: 24px 0 0;
  max-width: 780px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.planning-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.planning-evidence-card {
  margin: 0;
  background: #fff;
  border: 1px solid #d9d7cf;
  overflow: hidden;
}
.planning-evidence-wide { grid-column: 1 / -1; }
.planning-evidence-image {
  overflow: hidden;
  background: #fff;
  aspect-ratio: 16 / 8.7;
}
.planning-evidence-wide .planning-evidence-image { aspect-ratio: 16 / 7.3; }
.planning-evidence-image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .4s ease;
}
.planning-evidence-card:hover .planning-evidence-image img { transform: scale(1.012); }
.planning-evidence-card figcaption {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 18px;
  padding: 22px 24px 25px;
  border-top: 1px solid #e3e1da;
}
.planning-evidence-card figcaption > span {
  color: #9b8100;
  font-size: 10px;
  letter-spacing: .08em;
  padding-top: 4px;
}
.planning-evidence-card strong {
  display: block;
  font-size: 20px;
  font-weight: 610;
  letter-spacing: -.015em;
}
.planning-evidence-card figcaption p {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.planning-evidence-note {
  margin: 20px 0 0;
  color: #72797d;
  font-size: 12px;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .planning-evidence-head { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .planning-evidence-grid { grid-template-columns: 1fr; }
  .planning-evidence-wide { grid-column: auto; }
  .planning-evidence-image,
  .planning-evidence-wide .planning-evidence-image { aspect-ratio: 4 / 3; }
  .planning-evidence-card figcaption { grid-template-columns: 30px minmax(0,1fr); padding: 18px; gap: 12px; }
  .planning-evidence-card strong { font-size: 18px; }
  .planning-evidence-head h2 { font-size: clamp(36px,10.5vw,48px); }
  .planning-evidence-head > div:last-child > p:last-child { font-size: 16px; }
}


/* --- V6.12: inspection evidence + diagnostics --------------------------- */
.inspection-findings {
  background: #edf0ee;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.inspection-findings-head,
.diagnostics-head {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: clamp(40px,7vw,110px);
  align-items: start;
  margin-bottom: clamp(36px,5vw,62px);
}
.inspection-findings-head h2,
.diagnostics-head h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px,4.7vw,64px);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 580;
}
.inspection-findings-head > div:last-child > p,
.diagnostics-head > div:last-child > p {
  margin: 24px 0 0;
  max-width: 780px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.72;
}
.finding-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.finding-card {
  margin: 0;
  background: #fff;
  border: 1px solid #d9d7cf;
  overflow: hidden;
}
.finding-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe2e2;
}
.finding-image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .4s ease;
}
.finding-card:hover .finding-image img { transform: scale(1.018); }
.finding-card figcaption { padding: 18px 19px 21px; }
.finding-card figcaption > span {
  display: block;
  margin-bottom: 8px;
  color: #9b8100;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.finding-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 620;
  letter-spacing: -.015em;
}
.finding-card p {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.58;
}

.diagnostics {
  background: var(--ink);
  color: white;
  border-top: 1px solid rgba(255,255,255,.08);
}
.diagnostics .section-kicker { color: rgba(255,255,255,.48); }
.diagnostics .section-number { border-color: rgba(255,255,255,.18); color: white; }
.diagnostics-head .eyebrow { color: var(--solar); }
.diagnostics-head > div:last-child > p { color: rgba(255,255,255,.62); }
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.diagnostic-card {
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: #101e29;
  overflow: hidden;
}
.diagnostic-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: white;
}
.diagnostic-card figcaption {
  padding: 22px 24px 25px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.diagnostic-card figcaption > span {
  display: block;
  margin-bottom: 8px;
  color: var(--solar);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.diagnostic-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 610;
}
.diagnostic-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.60);
  font-size: 14px;
  line-height: 1.62;
}
.el-feature {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(320px,.82fr);
  gap: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: #101e29;
}
.el-images {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  min-height: 520px;
  background: #000;
}
.el-images img { width:100%; height:100%; display:block; object-fit:cover; min-width:0; }
.el-images img:last-child { border-left: 1px solid rgba(255,255,255,.12); }
.el-copy { padding: clamp(28px,4vw,54px); align-self: center; }
.el-copy .eyebrow { color: var(--solar); margin-bottom: 18px; }
.el-copy h3 {
  margin: 0;
  font-size: clamp(31px,3.3vw,48px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 590;
}
.el-copy > p {
  margin: 22px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.7;
}
.el-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.el-points li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.el-points li::before { content:""; position:absolute; left:0; top:17px; width:5px; height:5px; background:var(--solar); }

@media (max-width: 980px) {
  .inspection-findings-head,
  .diagnostics-head { grid-template-columns: 1fr; gap: 26px; }
  .finding-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .el-feature { grid-template-columns: 1fr; }
  .el-images { min-height: 470px; }
}
@media (max-width: 760px) {
  .inspection-findings-head h2,
  .diagnostics-head h2 { font-size: clamp(36px,10.5vw,48px); }
  .inspection-findings-head > div:last-child > p,
  .diagnostics-head > div:last-child > p { font-size: 16px; }
  .finding-grid,
  .diagnostic-grid { grid-template-columns: 1fr; }
  .finding-image { aspect-ratio: 16 / 10; }
  .el-images { grid-template-columns: 1fr; min-height: 0; }
  .el-images img { aspect-ratio: 4 / 3; height:auto; }
  .el-images img:last-child { border-left:0; border-top:1px solid rgba(255,255,255,.12); }
  .el-copy { padding: 28px 22px 32px; }
}
\n\n/* --- V6.13: concrete service overview on homepage ---------------------- */\n.home-services {\n  background: #f1f3f2;\n  color: var(--ink);\n  border-bottom: 1px solid var(--line);\n  padding-top: clamp(82px,9vw,128px);\n  padding-bottom: clamp(86px,9.5vw,138px);\n}\n.home-services-head {\n  display: grid;\n  grid-template-columns: minmax(0,1.15fr) minmax(300px,.62fr);\n  gap: clamp(42px,7vw,112px);\n  align-items: end;\n  margin-bottom: clamp(42px,5vw,66px);\n}\n.home-services-head h2 {\n  margin: 0;\n  max-width: 900px;\n  font-size: clamp(42px,5vw,68px);\n  line-height: 1.02;\n  letter-spacing: -.043em;\n  font-weight: 540;\n}\n.home-services-head > p {\n  margin: 0 0 5px;\n  color: var(--text-muted);\n  font-size: 17px;\n  line-height: 1.72;\n}\n.home-services-grid {\n  display: grid;\n  grid-template-columns: repeat(3,minmax(0,1fr));\n  border-top: 1px solid #ced2d0;\n  border-left: 1px solid #ced2d0;\n}\n.home-service-card {\n  position: relative;\n  min-height: 245px;\n  padding: 27px 58px 29px 27px;\n  color: var(--ink);\n  background: rgba(255,255,255,.38);\n  border-right: 1px solid #ced2d0;\n  border-bottom: 1px solid #ced2d0;\n  transition: background .22s ease, transform .22s ease;\n}\n.home-service-card:hover {\n  background: #fff;\n}\n.home-service-area {\n  display: block;\n  margin-bottom: 29px;\n  color: #8d7700;\n  font-size: 9px;\n  font-weight: 700;\n  letter-spacing: .13em;\n  text-transform: uppercase;\n}\n.home-service-card strong {\n  display: block;\n  max-width: 330px;\n  font-size: clamp(22px,2vw,29px);\n  line-height: 1.08;\n  letter-spacing: -.025em;\n  font-weight: 610;\n}\n.home-service-card p {\n  margin: 15px 0 0;\n  max-width: 380px;\n  color: #677078;\n  font-size: 14px;\n  line-height: 1.62;\n}\n.home-service-arrow {\n  position: absolute;\n  right: 25px;\n  top: 27px;\n  color: #9b8100;\n  font-size: 17px;\n}\n.home-services-training {\n  display: grid;\n  grid-template-columns: 160px minmax(0,1fr) auto;\n  gap: 28px;\n  align-items: center;\n  padding: 25px 0 0;\n}\n.home-services-training > span {\n  color: #8d7700;\n  font-size: 10px;\n  font-weight: 700;\n  letter-spacing: .13em;\n  text-transform: uppercase;\n}\n.home-services-training > p {\n  margin: 0;\n  max-width: 720px;\n  color: var(--text-muted);\n  font-size: 14px;\n  line-height: 1.62;\n}\n.home-services-training .text-link { white-space: nowrap; }\n@media (max-width: 1050px) {\n  .home-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }\n  .home-services-head { grid-template-columns: 1fr; gap: 24px; }\n  .home-services-head > p { max-width: 760px; }\n}\n@media (max-width: 760px) {\n  .home-services { padding-top: 72px; padding-bottom: 76px; }\n  .home-services-head { margin-bottom: 36px; }\n  .home-services-head h2 { font-size: clamp(36px,10.4vw,48px); }\n  .home-services-head > p { font-size: 16px; }\n  .home-services-grid { grid-template-columns: 1fr; }\n  .home-service-card { min-height: 0; padding: 24px 54px 25px 22px; }\n  .home-service-area { margin-bottom: 18px; }\n  .home-service-card strong { font-size: 24px; }\n  .home-service-card p { font-size: 15px; }\n  .home-services-training { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; }\n}\n

/* --- V6.14: technical service-card pictograms -------------------------- */
.home-service-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 23px;
}
.home-service-meta .home-service-area {
  margin: 0;
  line-height: 1.35;
}
.home-service-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  fill: none;
  stroke: #8d7700;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease, stroke .22s ease;
}
.home-service-card:hover .home-service-icon {
  transform: translateY(-1px);
  stroke: #b69500;
}
.home-service-card strong {
  margin-top: 0;
}
@media (max-width: 760px) {
  .home-service-meta { margin-bottom: 16px; gap: 10px; }
  .home-service-icon { width: 28px; height: 28px; flex-basis: 28px; }
}


/* --- V6.15: SOLPEG technical service matrix ----------------------------- */
.service-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid #ced2d0;
  border-left: 1px solid #ced2d0;
}
.service-matrix-group {
  min-width: 0;
  padding: 32px 34px 25px;
  border-right: 1px solid #ced2d0;
  border-bottom: 1px solid #ced2d0;
}
/* V6.27: bewusst ohne Piktogramme – Nummer + Typografie als technische Hierarchie */
.service-matrix-head {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  min-height: 92px;
  padding-bottom: 23px;
}
.service-matrix-mark {
  display: block;
  color: #8d7700;
}
.service-matrix-mark > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
}
.service-matrix-label {
  display: block;
  margin: 1px 0 8px;
  color: #8d7700;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.service-matrix-head h3 {
  margin: 0;
  max-width: 430px;
  color: var(--ink);
  font-size: clamp(24px,2.15vw,32px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 590;
}
.service-matrix-list {
  border-top: 1px solid #ced2d0;
}
.service-matrix-list a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(205px,.78fr) minmax(0,1fr);
  gap: 24px;
  padding: 16px 4px 17px 0;
  border-bottom: 1px solid rgba(11,22,32,.10);
  color: var(--ink);
  transition: padding-left .18s ease, background .18s ease, color .18s ease;
}
.service-matrix-list a:last-child { border-bottom: 0; }
.service-matrix-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--solar);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.service-matrix-list a:hover,
.service-matrix-list a:focus-visible {
  padding-left: 12px;
  background: rgba(255,255,255,.42);
}
.service-matrix-list a:hover::before,
.service-matrix-list a:focus-visible::before { transform: scaleY(1); }
.service-matrix-list strong {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 620;
  letter-spacing: -.01em;
}
.service-matrix-list span {
  color: #687078;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 1180px) {
  nav.section-rail, nav.service-rail {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (max-width: 980px) {
  .service-matrix { grid-template-columns: 1fr; }
  .service-matrix-group { padding: 28px 28px 22px; }
}
@media (max-width: 650px) {
  .service-matrix-group { padding: 24px 20px 18px; }
  .service-matrix-head { grid-template-columns: 30px 1fr; gap: 12px; min-height: 0; }
  .service-matrix-list a { grid-template-columns: 1fr; gap: 6px; padding: 14px 0 15px; }
  .service-matrix-list a:hover, .service-matrix-list a:focus-visible { padding-left: 10px; }
  .service-matrix-list strong { font-size: 17px; }
  .service-matrix-list span { font-size: 14px; }
}

/* V6.15 inspection media refinement */
@media (min-width: 761px) {
  .diagnostic-grid.diagnostic-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .diagnostic-grid.diagnostic-grid-three .diagnostic-card strong { font-size: 20px; }
}


/* --- V6.16: Wissen & Weiterbildung als integrierter Matrix-Bereich ------ */
.service-matrix-wide {
  grid-column: 1 / -1;
}
.service-matrix-head-compact {
  min-height: 0;
  max-width: 760px;
}
.service-matrix-beyond-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid #ced2d0;
}
.service-matrix-beyond-grid > a {
  display: block;
  min-width: 0;
  padding: 24px 30px 8px 0;
  color: var(--ink);
  transition: padding-left .18s ease, background .18s ease;
}
.service-matrix-beyond-grid > a + a {
  border-left: 1px solid #ced2d0;
  padding-left: 30px;
  padding-right: 0;
}
.service-matrix-beyond-grid > a:hover,
.service-matrix-beyond-grid > a:focus-visible {
  padding-left: 10px;
  background: rgba(255,255,255,.36);
}
.service-matrix-beyond-grid > a + a:hover,
.service-matrix-beyond-grid > a + a:focus-visible {
  padding-left: 40px;
}
.service-matrix-beyond-grid strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(20px,1.8vw,26px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
}
.service-matrix-beyond-grid p {
  margin: 13px 0 18px;
  max-width: 610px;
  color: #687078;
  font-size: 14px;
  line-height: 1.6;
}
.service-matrix-beyond-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(11,22,32,.28);
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
}
@media (max-width: 760px) {
  .service-matrix-beyond-grid { grid-template-columns: 1fr; }
  .service-matrix-beyond-grid > a,
  .service-matrix-beyond-grid > a + a {
    padding: 22px 0;
    border-left: 0;
  }
  .service-matrix-beyond-grid > a + a { border-top: 1px solid #ced2d0; }
  .service-matrix-beyond-grid > a:hover,
  .service-matrix-beyond-grid > a:focus-visible,
  .service-matrix-beyond-grid > a + a:hover,
  .service-matrix-beyond-grid > a + a:focus-visible { padding-left: 10px; }
}

/* --- V6.17: neutral paper, calmer service typography, heritage branding --- */
@media (min-width: 1051px) and (max-width: 1280px) {
  .detail-block { grid-template-columns: 52px minmax(280px,.9fr) minmax(300px,1fr); gap: 38px; }
  .detail-copy h2 { font-size: clamp(29px,2.8vw,37px); }
}

/* --- V6.18: quieter heritage branding ----------------------------------- */
/* Keep the original SolPEG wordmark, but let navigation and content lead. */
.brand-logo {
  width: 168px;
}
.brand-footer .brand-logo {
  width: 176px;
}
@media (max-width: 1050px) {
  .brand-logo {
    width: 154px;
  }
}
@media (max-width: 760px) {
  .brand-logo {
    width: 142px;
    max-width: calc(100vw - 104px);
  }
  .brand-footer .brand-logo {
    width: 158px;
  }
}
@media (max-width: 390px) {
  .brand-logo {
    width: 136px;
  }
}


/* --- V6.19: page-specific CTA + unified information footer ------------- */
.contact-v619 .contact-copy h2 { max-width: 920px; }
.contact-v619 .contact-actions { flex-wrap: wrap; }
.contact-mail {
  color: rgba(255,255,255,.64);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: 4px;
}
.contact-mail:hover,
.contact-mail:focus-visible { color: white; border-color: var(--solar); }

.site-footer { padding: 58px 0 28px; }
.footer-grid-v619 {
  display: grid;
  grid-template-columns: minmax(230px,1.25fr) minmax(180px,.8fr) minmax(170px,.8fr) minmax(150px,.65fr);
  gap: clamp(34px,5vw,78px);
  align-items: start;
}
.footer-brand-v619 p {
  display: block;
  margin: 16px 0 0;
  max-width: 230px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.footer-heading {
  display: block;
  margin-bottom: 14px;
  color: var(--solar);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer-contact,
.footer-links-v619,
.footer-legal-v619 {
  display: grid;
  gap: 9px;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}
.footer-contact a,
.footer-links-v619 a,
.footer-legal-v619 a { color: inherit; }
.footer-contact a:hover,
.footer-links-v619 a:hover,
.footer-legal-v619 a:hover { color: white; }
.footer-privacy-note {
  margin-top: 9px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.34);
  font-size: 10px;
  line-height: 1.65;
}
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.28);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
@media (max-width: 1050px) {
  .footer-grid-v619 { grid-template-columns: 1fr 1fr; gap: 38px 54px; }
  .footer-brand-v619 { grid-column: auto; }
  .footer-bottom { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-footer { padding-top: 46px; }
  .footer-grid-v619 { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { grid-column: 1; flex-direction: column; gap: 7px; }
  .contact-v619 .contact-actions { gap: 18px; }
}


/* V6.20 — brand gold kicker + official PVsyst spelling */


/* --- V6.21: page architecture + typography refinement ---------------- */
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.25vw, 72px);
  font-weight: 570;
  line-height: 1.01;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.page-hero-copy > p:last-child { margin-top: 30px; }

/* Standalone references page */
.references-page-intro { background:#f1f3f2; }
.references-page-intro .projects-heading { margin-bottom: 44px; }
.references-page-intro .projects-heading h2 { max-width: 940px; }
.references-page-intro .projects-heading p { max-width: 720px; }
.references-page-intro .projects-footer { margin-top: 36px; }
.references-page-intro .projects { padding-top:0; }
.reference-context {
  display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px);
  padding:clamp(76px,8vw,112px) 0; border-bottom:1px solid var(--line); background:#eef0ef;
}
.reference-context-copy { max-width:900px; }
.reference-context-copy h2 { margin:0; font-size:clamp(38px,4.6vw,62px); line-height:1.04; letter-spacing:-.04em; font-weight:560; }
.reference-context-copy p { max-width:760px; margin:25px 0 0; color:var(--text-muted); font-size:17px; line-height:1.75; }
.reference-context-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:46px; border-top:1px solid var(--line); }
.reference-context-stats div { padding:24px 20px 4px 0; border-right:1px solid var(--line); }
.reference-context-stats div:last-child { border-right:0; }
.reference-context-stats strong { display:block; font-size:clamp(28px,3vw,42px); line-height:1; font-weight:550; letter-spacing:-.035em; }
.reference-context-stats span { display:block; margin-top:8px; color:#6f777c; font-size:10px; text-transform:uppercase; letter-spacing:.08em; line-height:1.5; }

/* Standalone about page */
.about-origin { background:#f1f3f2; }
.about-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); }
.about-copy { max-width:900px; }
.about-copy h2 { margin:0; max-width:820px; font-size:clamp(40px,4.8vw,64px); line-height:1.04; letter-spacing:-.04em; font-weight:570; }
.about-copy > p { max-width:760px; margin:28px 0 0; color:var(--text-muted); font-size:17px; line-height:1.78; }
.about-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:48px; border-top:1px solid var(--line); }
.about-fact { padding:26px 28px 8px 0; border-right:1px solid var(--line); }
.about-fact:last-child { border-right:0; }
.about-fact strong { display:block; font-size:clamp(30px,3.2vw,44px); font-weight:550; letter-spacing:-.04em; }
.about-fact span { display:block; margin-top:8px; color:#6f777c; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.about-principles { background:#0b1620; color:white; }
.about-principles .principles { margin-top:44px; }
.about-story { background:#eef0ef; }
.about-story-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); }
.about-story-copy { max-width:880px; }
.about-story-copy h2 { margin:0; font-size:clamp(36px,4.2vw,58px); line-height:1.05; letter-spacing:-.035em; font-weight:560; }
.about-story-copy p { max-width:760px; margin:25px 0 0; color:var(--text-muted); font-size:17px; line-height:1.75; }
.about-story-note { margin-top:34px; padding:22px 0 0; border-top:1px solid var(--line); color:#667078; font-size:14px; line-height:1.7; }

@media (max-width: 900px) {
  .reference-context, .about-grid, .about-story-grid { grid-template-columns:1fr; }
  .reference-context-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reference-context-stats div:nth-child(2) { border-right:0; }
  .about-facts { grid-template-columns:1fr; }
  .about-fact { border-right:0; border-bottom:1px solid var(--line); padding:22px 0; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size:clamp(42px,11vw,54px); }
  .reference-context-stats { grid-template-columns:1fr; }
  .reference-context-stats div { border-right:0; border-bottom:1px solid var(--line); }
}


/* --- V6.22: dark-section readability + wording refinement -------------- */
/* The large display headlines stay unchanged. Secondary copy on dark
   surfaces gets a little more contrast and breathing room. */
.about-principles .section-kicker-light {
  color: rgba(246,248,249,.70);
}
.about-principles .section-kicker-light .section-number {
  color: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.30);
}
.about-principles .principle > span {
  color: #d6b62a;
  font-size: 11px;
  letter-spacing: .06em;
}
.about-principles .principle p {
  color: rgba(244,247,249,.78);
  font-size: 17px;
  line-height: 1.82;
}
.about-principles .principle h3 {
  color: rgba(255,255,255,.98);
}

/* Slightly clearer secondary text in dark standalone page heroes. */
.page-hero .section-kicker {
  color: rgba(245,248,249,.68);
}
.page-hero-copy p:last-child {
  color: rgba(245,248,249,.76);
  line-height: 1.76;
}
.service-page-title > p:last-child {
  color: rgba(245,248,249,.76);
  line-height: 1.74;
}

@media (max-width: 760px) {
  .about-principles .principle p {
    font-size: 16px;
    line-height: 1.78;
  }
}

/* --- V6.23: central inquiry form -------------------------------------- */
.inquiry-section { background:#eef0ef; padding:clamp(78px,9vw,128px) 0; }
.inquiry-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); align-items:start; }
.inquiry-panel { max-width:900px; }
.inquiry-intro { margin-bottom:34px; }
.inquiry-intro h2 { margin:0; max-width:820px; font-size:clamp(38px,4.5vw,60px); line-height:1.04; letter-spacing:-.04em; font-weight:560; }
.inquiry-intro p { max-width:720px; margin:22px 0 0; color:var(--text-muted); font-size:17px; line-height:1.72; }
.inquiry-form { display:grid; gap:24px; }
.form-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.form-field { display:grid; gap:9px; }
.form-field-full { grid-column:1 / -1; }
.form-field label { color:#394650; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.form-field .optional { color:#879197; font-weight:500; text-transform:none; letter-spacing:0; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width:100%; border:1px solid #c8cecb; border-radius:0; background:rgba(255,255,255,.74); color:var(--ink);
  font:inherit; font-size:16px; line-height:1.45; padding:15px 16px; outline:none;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.inquiry-form select { min-height:54px; appearance:auto; }
.inquiry-form textarea { min-height:190px; resize:vertical; line-height:1.65; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { border-color:#8e7800; background:#fff; box-shadow:0 0 0 3px rgba(242,203,46,.18); }
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color:#8b9499; opacity:1; }
.form-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; padding-top:4px; }
.form-actions .button { border:0; cursor:pointer; }
.form-actions .button[disabled] { opacity:.48; cursor:wait; transform:none; }
.form-note { margin:0; max-width:610px; color:#6d777d; font-size:13px; line-height:1.65; }
.form-note strong { color:#4c5961; font-weight:650; }
.form-status { display:none; margin:0 0 26px; padding:16px 18px; border-left:3px solid var(--solar); background:#fff; color:#46535b; font-size:14px; line-height:1.6; }
.form-status.is-visible { display:block; }
.form-status.is-error { border-left-color:#b9523b; }
.form-honeypot { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; }
.inquiry-direct { background:#f5f6f5; border-top:1px solid var(--line); }
.inquiry-direct-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); }
.inquiry-direct-copy { max-width:850px; display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.7fr); gap:36px; align-items:start; }
.inquiry-direct-copy h2 { margin:0; font-size:clamp(32px,3.7vw,48px); line-height:1.08; letter-spacing:-.035em; font-weight:560; }
.inquiry-contact-list { display:grid; gap:10px; font-size:15px; line-height:1.55; }
.inquiry-contact-list a { width:max-content; border-bottom:1px solid rgba(11,22,32,.22); }
.inquiry-contact-list span { color:var(--text-muted); }

@media (max-width: 900px) {
  .inquiry-grid, .inquiry-direct-grid { grid-template-columns:1fr; }
  .inquiry-direct-copy { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .inquiry-section { padding-top:66px; padding-bottom:78px; }
  .form-row { grid-template-columns:1fr; gap:20px; }
  .inquiry-intro p { font-size:16px; }
  .inquiry-form input, .inquiry-form select, .inquiry-form textarea { font-size:16px; }
  .form-actions { align-items:flex-start; flex-direction:column; }
  .form-actions .button { width:100%; }
}


/* --- V6.25: legal pages ----------------------------------------------- */
.legal-body { background:#eef0ef; }
.legal-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:clamp(40px,7vw,110px); align-items:start; }
.legal-copy { max-width:900px; }
.legal-lead { margin:0 0 44px; max-width:760px; color:var(--text-muted); font-size:17px; line-height:1.78; }
.legal-section { padding:0 0 38px; margin:0 0 38px; border-bottom:1px solid var(--line); }
.legal-section:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.legal-section h2 { margin:0 0 20px; font-size:clamp(27px,3vw,40px); line-height:1.12; letter-spacing:-.025em; font-weight:560; }
.legal-section h3 { margin:28px 0 10px; font-size:18px; line-height:1.35; font-weight:620; }
.legal-section p, .legal-section li { color:#53616a; font-size:16px; line-height:1.78; }
.legal-section p { margin:0 0 15px; }
.legal-section ul { margin:14px 0 18px; padding-left:20px; }
.legal-section li + li { margin-top:7px; }
.legal-section strong { color:#26343d; font-weight:650; }
.legal-section a { border-bottom:1px solid rgba(11,22,32,.24); }
.legal-address { font-style:normal; color:#53616a; font-size:16px; line-height:1.78; }
.legal-address a { width:max-content; }
.legal-note { margin-top:24px !important; padding:18px 20px; border-left:3px solid var(--solar); background:rgba(255,255,255,.62); }
.form-note a { border-bottom:1px solid rgba(11,22,32,.24); }
@media (max-width:900px) {
  .legal-grid { grid-template-columns:1fr; }
}


/* V6.28 — Kundenwand / Brand-Cleanup */
.client-trust-head h2 { max-width: 760px; }
.client-logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: #d5d9d6;
}
.client-logo-grid a {
  min-height: 118px;
  padding: 24px 28px;
  background: #fff;
  border-color: #d5d9d6;
}
.client-logo-grid img {
  width: 86%;
  max-width: 170px;
  height: 44px;
  max-height: none;
  object-fit: contain;
}
.client-history {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d5d9d6;
}
.client-history span {
  color: #8b7500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.client-history p {
  margin: 0;
  color: #667178;
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 960px) {
  .client-logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .client-logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .client-logo-grid a { min-height: 96px; padding: 18px 16px; }
  .client-logo-grid img { width: 88%; max-width: 138px; height: 38px; }
  .client-history { grid-template-columns: 1fr; gap: 7px; margin-top: 20px; }
}

/* V6.32 — robust wrapping for long German technical headings */
.detail-copy { min-width: 0; }
.detail-copy h2 {
  min-width: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}


/* V6.34: Deep links from the service overview should land below the sticky header. */
.detail-block[id] {
  scroll-margin-top: 7.5rem;
}

@media (max-width: 760px) {
  .detail-block[id] {
    scroll-margin-top: 6.5rem;
  }
}

/* --- V6.36: contextual service requests + mobile training schedule ------ */
.detail-request {
  margin: 20px 0 0;
}
.detail-request .text-link {
  font-size: 14px;
  font-weight: 620;
}

/* V6.30 training rules restored in the production stylesheet. */
.training-schedule {
  min-width: 0;
  align-self: start;
  border-top: 1px solid rgba(11,22,32,.14);
}
.training-date-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(11,22,32,.14);
}
.training-date-row > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.training-date-label {
  color: #8d7700;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.training-date-row strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 590;
  letter-spacing: -.02em;
  overflow-wrap: normal;
  word-break: normal;
}
.training-date-row > div > span:last-child {
  color: #647079;
  font-size: 14px;
  line-height: 1.5;
}
.training-date-row .text-link {
  white-space: nowrap;
}
.training-more {
  margin: 15px 0 0;
  color: #6b747b;
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .training-dates.detail-block {
    grid-template-columns: 34px minmax(0,1fr);
  }
  .training-dates .detail-copy,
  .training-dates .training-schedule {
    grid-column: 2;
    width: 100%;
  }
  .training-date-row {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
    align-items: start;
  }
  .training-date-row strong { font-size: 22px; }
  .training-date-row .text-link { white-space: normal; }
}

/* --- V6.37: training schedule at tablet / narrow-desktop widths --------- */
/* At <=1050px detail blocks collapse to index + content. Keep the schedule
   in the content column instead of letting CSS Grid auto-place it into the
   narrow index column. */
@media (max-width: 1050px) {
  .training-dates .detail-copy,
  .training-dates .training-schedule {
    grid-column: 2;
    width: 100%;
    min-width: 0;
  }
}

/* --- V6.38: training fine tuning ---------------------------------------- */
/* Avoid automatic German hyphenation in this short heading and give the
   copy column a little more room on wide layouts. */
@media (min-width: 1051px) {
  .training-custom.detail-block {
    grid-template-columns: 58px minmax(320px, .95fr) minmax(250px, .85fr);
    gap: 28px;
  }
  .training-custom .detail-copy h2 {
    font-size: clamp(30px, 2.25vw, 33px);
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: nowrap;
  }
}
@media (max-width: 1050px) {
  .training-custom .detail-copy h2 {
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: wrap;
  }
}

/* --- V6.42: curated knowledge page + static publication archive ----------- */
.archive-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.archive-actions p {
  max-width: 650px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.archive-group { margin-top: 72px; }
.archive-group:first-of-type { margin-top: 0; }
.archive-group-head {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}
.archive-group-head span {
  color: #8b7500;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.archive-group-head h2 {
  margin: 0;
  font-size: clamp(28px,3vw,42px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 520;
}
.archive-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: #6d7478;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(145deg,#e8e6dc,#dcd9cc);
}
.archive-label {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: #7b858b;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .archive-actions { align-items: flex-start; flex-direction: column; }
  .archive-group { margin-top: 54px; }
  .archive-group-head { grid-template-columns: 1fr; gap: 8px; }
  .archive-label { grid-column: 2; justify-self: start; }
}
