.history-section { padding: 60px 0 72px; background: #fff; color: #2d465f; font-family: Inter, sans-serif; }
.history-wrap { width: min(1170px, calc(100% - 40px)); margin: 0 auto; }
.history-breadcrumb { margin: 0 0 28px; font-size: 14px; }
.history-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.history-eyebrow { margin: 0 0 12px; color: #446f37; font-size: 14px; font-weight: 600; }
.history-section h1, .history-section h2, .history-section h3 { color: #2d465f; font-family: Inter, sans-serif; font-weight: 700; line-height: 1.25; }
.history-section h1 { margin: 0 0 20px; font-size: clamp(32px, 4.5vw, 52px); }
.history-section h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); }
.history-section h3 { margin: 0 0 12px; font-size: 21px; }
.history-section p { font-size: 17px; line-height: 1.75; }
.history-section .history-breadcrumb, .history-section .history-eyebrow { font-size: 14px; }
.history-lead { max-width: 840px; margin: 0; }
.history-building-photo { margin: 34px 0 0; }
.history-building-photo img, .history-team-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.history-section figcaption { margin-top: 10px; color: #637386; font-size: 14px; line-height: 1.6; }
.history-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 34px 0 60px; }
.history-facts > div { padding: 24px; border-left: 3px solid #5b9b4a; background: #f3f6f7; }
.history-facts strong { display: block; font-size: 28px; line-height: 1.35; }
.history-facts span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; }
.history-timeline { margin: 28px 0 60px; padding: 0; list-style: none; }
.history-timeline li { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-top: 1px solid #dbe3e8; }
.history-year { color: #446f37; font-size: 24px; font-weight: 700; line-height: 1.4; }
.history-timeline p { max-width: 840px; margin: 0; }
.history-management { display: block; padding: 40px 0 60px; border-top: 1px solid #dbe3e8; }
.history-management .history-role { margin: -8px 0 20px; color: #446f37; font-weight: 600; }
.history-management h3 { margin-top: 30px; }
.history-team-photo { margin: 0; }
.history-next { padding: 32px; background: #f3f6f7; border-radius: 12px; }
.history-next p { margin: 0 0 20px; }
.history-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.history-links a { color: #446f37; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.history-section a:focus-visible { outline: 3px solid #5b9b4a; outline-offset: 4px; }
@media (max-width: 767px) { .history-section { padding: 38px 0 48px; } .history-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 40px; } .history-facts > div { padding: 16px 20px; } .history-timeline li { grid-template-columns: minmax(0, 1fr); gap: 10px; } .history-management { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; } .history-next { padding: 24px; } }

.history-management-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.history-management-profile { min-width: 0; padding: 28px; border-left: 3px solid #5b9b4a; background: #f3f6f7; }
.history-management .history-management-profile h3 { margin: 0 0 16px; font-size: 25px; }
.history-profile-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.history-profile-link:hover { color: #446f37; }
.history-linkedin-label { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 4px; background: #0a66c2; color: #fff; font-size: 14px; line-height: 1.4; vertical-align: middle; white-space: nowrap; }
.history-management-profile .history-role { margin: 0 0 20px; font-size: 16px; }
.history-management-profile p { font-size: 16px; }
.history-management-profile p:last-child { margin-bottom: 0; }
.history-management-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px; align-items: center; margin-top: 36px; }
.history-management-team > div { min-width: 0; }
@media (max-width: 767px) { .history-management-profiles, .history-management-team { grid-template-columns: minmax(0, 1fr); gap: 24px; } .history-management-profile { padding: 22px; } }

.history-profile-photo { float: left; width: 144px; max-width: 42%; margin: 0 20px 12px 0; }
.history-profile-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.history-management-profile::after { content: ''; display: table; clear: both; }
@media (max-width: 420px) { .history-profile-photo { float: none; width: 180px; max-width: 100%; margin: 0 0 20px; } }

.history-partner { display: inline-block; margin: 24px 0 0; padding: 20px 24px; background: #fff; border: 1px solid #dbe3e8; border-radius: 10px; max-width: 100%; }
.history-partner a { display: block; }
.history-partner img { display: block; width: 220px; max-width: 100%; height: auto; }
.history-partner figcaption { margin-top: 14px; color: #2d465f; font-size: 15px; font-weight: 600; }

/* Real team moments: full photographs, including the portrait, without cropping faces. */
.history-section #teamarbeit { scroll-margin-top: 150px; }
.history-team-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin-top: 40px; }
.history-team-gallery figure { min-width: 0; margin: 0; }
.history-team-gallery img { display: block; width: 100%; height: auto; border-radius: 12px; }
.history-team-gallery-wide { grid-column: 1 / -1; }
.history-team-gallery-column { display: grid; gap: 28px; min-width: 0; }
.history-section .history-team-gallery figcaption { font-size: 15px; margin-top: 12px; }
@media (max-width: 767px) {
  .history-team-gallery { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .history-team-gallery-column { gap: 24px; }
  .history-team-gallery-portrait { width: min(100%, 520px); margin-inline: auto !important; }
  .history-section #teamarbeit { scroll-margin-top: 100px; }
}
