/* Shared company/service content; browser age is owned by company-age.js. */
.service-routes { background: #eae8df; }
.service-routes h2, .buyer-details h2, .history-customers h2 { margin: 22px 0 32px; font-size: clamp(36px,4.2vw,64px); line-height: 1.12; }
.service-route-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 50px; }
.service-route-grid article { padding-top: 28px; border-top: 1px solid var(--line); }
.service-route-grid h3 { font-size: 28px; margin: 20px 0; }
.service-route-grid p:not(.eyebrow), .service-route-grid li, .buyer-details > div > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: var(--muted); }
.service-route-grid ul { padding-left: 20px; margin: 24px 0; }
.service-route-grid li { margin-bottom: 10px; }
.service-route-grid .text-link, .history-customers .text-link { margin-top: 24px; font-size: 16px; line-height: 1.5; min-height: 44px; }
.buyer-details { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7vw; }
.history-customers { background: #eee7dc; }
.history-customers .company-three { align-items: start; }
.company-columns p + p { margin-top: 24px; }
#gesellschaften .prose h3 { font-size: 24px; margin: 28px 0 16px; }
@media(max-width:760px) {
  .service-route-grid, .buyer-details { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .service-route-grid h3 { font-size: 25px; }
}
.content-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 22px var(--gutter, 6vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.content-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}
.content-jumps a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
#team, #gesellschaften, #jahre-sprus, #partnerschaft,
.history-chronicle, .history-chapter, #generation, #projektentwicklung,
#fuer-kunden, #vision, #unser-dank, #archiv, #projektuebersicht { scroll-margin-top: 110px; }

.history-chronicle .section-heading h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.12; margin-top: 22px; }
.history-chronicle .section-heading > p { max-width: 34ch; font-size: 17px; line-height: 1.8; color: var(--muted); }
.history-years { list-style: none; padding: 0; margin: 40px 0 56px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.history-years a { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; height: 100%; padding: 20px; border: 1px solid var(--line); }
.history-years strong { font-size: 17px; font-weight: 500; color: var(--accent); line-height: 1.5; }
.history-years span { font-size: 16px; }
.history-years a:hover, .history-years a:focus-visible { background: #e6e4d9; outline-color: var(--accent); }
.history-chapter { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: 6%; padding: 56px 0; border-top: 1px solid var(--line); }
.history-chapter h3 { font-size: clamp(30px,3.3vw,48px); line-height: 1.15; margin: 20px 0 25px; text-wrap: balance; }
.history-chapter-copy, .history-chapter-photos { min-width: 0; }
.history-chapter-photos { display: grid; gap: 24px; }
.history-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.history-photo { margin: 0; min-width: 0; }
.history-photo button { display: block; width: 100%; padding: 0; background: #e8e5dc; border: 0; cursor: zoom-in; text-align: right; }
.history-photo button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.history-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.history-photo button > span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; font-size: 15px; }
.history-photo figcaption { font-size: 16px; line-height: 1.65; margin-top: 14px; color: var(--muted); }
.history-project-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; }
.history-project-links .text-link { min-height: 44px; font-size: 16px; line-height: 1.6; }
.history-leadership { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin: 42px 0; max-width: 1050px; }
.history-leadership figure { min-width: 0; margin: 0; }
.history-leadership img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; }
.history-leadership figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 16px; line-height: 1.6; }
.history-leadership strong { font-size: 22px; font-weight: 500; }
.history-leadership figcaption span { color: var(--muted); }
@media(max-width: 1000px) {
  .history-chapter { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .history-chapter-photos:not(.history-pair) { max-width: 720px; }
}
@media(max-width: 760px) {
  .history-years { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 28px 0 36px; }
  .history-years a { padding: 14px; }
  .history-years strong { font-size: 16px; }
  .history-chapter { padding: 36px 0; }
  .history-chronicle .section-heading { display: block; }
  .history-chronicle .section-heading > p { margin-top: 22px; }
  .history-pair { grid-template-columns: minmax(0,1fr); }
  .history-leadership { gap: 26px; grid-template-columns: minmax(0,1fr); }
  .history-leadership figure { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; align-items: center; }
  .history-leadership figcaption { margin: 0; }
  .history-leadership strong { font-size: 21px; }
}
.service-scope.section-pad,
.planning-deliverables.section-pad { padding-top: clamp(56px, 5vw, 80px); padding-bottom: 48px; }
.service-scope > h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.12; margin: 20px 0 36px; text-wrap: balance; }
/* Consecutive sections on the same background share one visual gap. */
.service-scope + .buyer-details { padding-top: 32px; }
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.scope-grid article {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}
.scope-grid h3,
.promise-grid h3,
.company-three h3 { font-size: clamp(23px, 2.1vw, 30px); margin: 22px 0 16px; }
.scope-grid p,
.promise-grid p,
.company-three p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.service-journey {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8vw;
  align-items: start;
  background: #e7e8df;
}
.journey-heading { position: sticky; top: 140px; }
.journey-heading h2,
.service-energy h2,
.buyer-teaser h2,
.company-promises h2,
.company-generation h2,
.company-vision h2,
.company-affordable h2,
.planning-deliverables h2,
.service-built-intro h2 {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.12;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.journey-heading > p:not(.eyebrow),
.service-energy p:not(.eyebrow),
.buyer-teaser p:not(.eyebrow),
.company-columns p,
.service-built-intro > p:not(.eyebrow),
.section-lede { font-size: 18px; line-height: 1.8; color: var(--muted); }
.journey-heading .journey-note { font-size: 15px; margin-top: 25px; }
.journey-heading .text-link { margin-top: 30px; }
.journey-steps { list-style: none; padding: 0; margin: 0; }
.journey-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 42px;
  position: relative;
}
.journey-steps li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #afb7a8;
}
.journey-steps li:last-child { padding-bottom: 0; }
.journey-steps li:last-child::before { bottom: auto; height: 48px; }
.journey-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--accent);
  background: #e7e8df;
  border: 1px solid #afb7a8;
  font-size: 17px;
}
.journey-steps h3 { margin: 6px 0 14px; font-size: 25px; line-height: 1.3; }
.journey-steps h3,
.scope-grid h3,
.promise-grid h3,
.company-three h3 {
  hyphens: auto;
  overflow-wrap: anywhere;
}
.journey-steps .eyebrow { margin-bottom: 12px; letter-spacing: .06em; line-height: 1.7; }
.journey-steps h3 + p { font-size: 17px; line-height: 1.85; color: var(--muted); }
.buyer-journey { background: #e8e1d7; }
.buyer-journey .journey-number { background: #e8e1d7; }
.service-energy,
.buyer-teaser,
.anniversary-teaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7vw;
  align-items: center;
}
.service-energy { align-items: start; }
.energy-detail { background: #e7e8df; padding: 38px; }
.energy-detail h3 { font-size: 28px; margin: 20px 0; }
.energy-detail ul { padding-left: 20px; margin: 0 0 24px; }
.energy-detail li { font-size: 17px; line-height: 1.8; margin-bottom: 12px; }
.service-energy .energy-date { font-size: 14px; margin-top: 24px; }
.service-energy .text-link { margin-top: 25px; }
.buyer-teaser { background: #e8e1d7; }
.buyer-teaser ol { list-style: none; padding: 0; margin: 0 0 26px; }
.buyer-teaser li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid #c8bfb4; font-size: 22px; }
.buyer-teaser li span { color: var(--accent); font-size: 16px; padding-top: 5px; }
.anniversary-teaser { background: #e9e5dd; }
.anniversary-copy h2 { font-size: clamp(65px, 7.5vw, 115px); line-height: 1; margin: 26px 0 32px; }
.anniversary-copy > p:not(.eyebrow) { font-size: 20px; line-height: 1.8; color: var(--muted); }
.anniversary-copy .text-link { margin-top: 30px; }
.anniversary-teaser figure { min-width: 0; margin: 0; }
.anniversary-teaser img { display: block; width: 100%; height: auto; object-fit: contain; }
.anniversary-teaser figcaption { font-size: 15px; line-height: 1.6; margin-top: 16px; color: var(--muted); }
.company-balance { padding-top: 45px; padding-bottom: 45px; background: #262e29; color: #f4f1eb; }
.company-balance dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.company-balance dl > div { display: flex; flex-direction: column; min-width: 0; }
.company-balance dd { order: -1; font-size: clamp(44px, 5.2vw, 80px); line-height: 1.1; margin: 0 0 16px; }
.company-balance dt { font-size: 19px; line-height: 1.4; }
.company-balance dl p { font-size: 15px; color: #c7cdc6; line-height: 1.7; margin-top: 8px; }
.company-balance .balance-note { font-size: 14px; color: #c7cdc6; line-height: 1.8; margin-top: 35px; }
.promise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 60px; margin-top: 45px; }
.promise-grid article { padding: 30px 0; border-top: 1px solid var(--line); }
.company-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 60px; }
.company-generation { background: #e8e1d7; }
.company-generation .text-link,
.company-affordable .text-link { margin-top: 35px; }
.company-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 50px; }
.company-three article { padding-top: 25px; border-top: 1px solid var(--line); }
.company-affordable { background: #e7e8df; }
.planning-deliverables .scope-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 45px; }
.service-built-intro { padding-bottom: 45px; }
.service-built-intro > p:not(.eyebrow) { max-width: 700px; }
.service-built-intro .text-link { margin-top: 24px; }
.content-jumps a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media(max-width: 1000px) {
  .scope-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-journey { grid-template-columns: 1fr; gap: 50px; }
  .journey-heading { position: static; max-width: 680px; }
  .service-energy { grid-template-columns: 1fr; gap: 40px; }
  .company-three { gap: 28px; }
  .anniversary-copy h2 { font-size: 70px; }
}
.planning-intro-action { margin-top: 24px; }
.planning-request { display: flex; justify-content: space-between; gap: 32px; align-items: center; background: #eae8df; }
.planning-request h2 { margin: 20px 0; }
.planning-request p:not(.eyebrow) { max-width: 560px; font-size: 17px; line-height: 1.8; }
.planning-request > a { flex-shrink: 0; }
.team-tenure { margin-top: 12px; color: var(--muted); }
.founder-thanks { background: #eae8df; }
.founder-thanks blockquote { margin: 30px 0; max-width: 1000px; }
.founder-thanks blockquote > p { font-size: clamp(24px, 3vw, 38px); line-height: 1.5; }
.founder-thanks footer { margin-top: 28px; font-size: 16px; line-height: 1.8; }
.founder-thanks footer span { color: var(--muted); }
.founder-thanks > p:last-child { max-width: 720px; font-size: 17px; line-height: 1.8; }
@media(max-width: 760px) {
  .planning-request { align-items: flex-start; flex-direction: column; }
  .service-scope.section-pad,
  .planning-deliverables.section-pad { padding-top: 40px; padding-bottom: 24px; }
  .service-scope > h2 { margin: 16px 0 28px; }
  .service-scope + .buyer-details { padding-top: 24px; }
  .content-jumps { padding: 16px 24px; gap: 4px 22px; }
  .scope-grid,
  .planning-deliverables .scope-grid,
  .buyer-teaser,
  .anniversary-teaser,
  .promise-grid,
  .company-columns,
  .company-three { grid-template-columns: 1fr; }
  .service-journey { gap: 38px; }
  .journey-steps li { grid-template-columns: 38px minmax(0,1fr); gap: 18px; }
  .journey-number { width: 38px; height: 38px; font-size: 15px; }
  .journey-steps li::before { left: 18px; }
  .journey-steps li:last-child::before { height: 38px; }
  .journey-steps h3 { font-size: 23px; }
  .journey-steps h3 + p { font-size: 16px; }
  .energy-detail { padding: 25px 22px; }
  .energy-detail h3 { font-size: 25px; }
  .buyer-teaser { gap: 30px; }
  .buyer-teaser li { font-size: 20px; gap: 18px; }
  .anniversary-teaser { gap: 38px; }

  .anniversary-copy > p:not(.eyebrow) { font-size: 18px; }
  .company-balance dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 22px; }
  .company-balance dd { font-size: 52px; }
  .company-balance dt { font-size: 17px; }
  .company-columns { gap: 24px; }
  .promise-grid { gap: 0; margin-top: 30px; }
  .company-three { margin-top: 35px; }
  .scope-grid h3 { margin-top: 16px; }
}
