/* Shared DE/EN homepage V2. Static markup; build CSS and bundles stay intact. */
.home-v2 {
  --v2-section-space: 68px;
  --v2-dark: #17170f;
  --v2-yellow: #efd21a;
  overflow-wrap: anywhere;
}
.home-v2 .container { max-width: 1248px; }
.home-v2 section, .home-v2 [id] { scroll-margin-top: 100px; }
.home-v2 h1 { font-size: clamp(36px, 4.1vw, 58px); max-width: 19ch; text-wrap: balance; line-height: 1.08; letter-spacing: -.045em; }
.home-v2 h2 { font-size: clamp(28px, 2.7vw, 38px); max-width: 28ch; text-wrap: balance; line-height: 1.15; letter-spacing: -.035em; }
.home-v2 h3 { font-size: 20px; line-height: 1.35; text-wrap: pretty; }
.home-v2 p { color: var(--text-dim); }
.home-v2 a:hover { color: var(--accent-2); }
.home-v2 .v2-eyebrow { font: 500 12px/1.6 var(--font-mono); letter-spacing: .045em; color: var(--accent-2); margin-bottom: 12px; }
.home-v2 .v2-lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.65; max-width: 54ch; }
.home-v2 .v2-intro { max-width: 68ch; margin: 16px 0 28px; }
.v2-section { padding: var(--v2-section-space) 0; border-top: 1px solid var(--line); }
.v2-tinted { background: var(--bg-2); }
.v2-hero { padding: 64px 0 52px; }
.v2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.v2-hero h1 span { color: var(--accent-2); }
.v2-hero .v2-lead { margin-top: 22px; }
.v2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-v2 .v2-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; max-width: 100%; padding: 13px 20px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.5; transition: background-color .15s ease, color .15s ease; }
.home-v2 .v2-button-primary { background: var(--v2-dark); color: #fffdf8; border-color: var(--v2-dark); }
.home-v2 .v2-button-primary:hover { background: #3b3519; color: #fffdf8; }
.home-v2 .v2-button-secondary { color: var(--text); background: transparent; }
.home-v2 .v2-button-secondary:hover { background: var(--bg-3); }
.home-v2 .v2-button:active { transform: translateY(1px); }
.home-v2 .v2-button-primary:active { background: #0a0a0a; }
.home-v2 a:focus-visible { outline: 3px solid var(--text); outline-offset: 5px; }
.home-v2 .v2-hero-note { font-size: 14px; line-height: 1.7; margin: 20px 0 0; }
.home-v2 .v2-hero-note a, .v2-contact-note a { text-decoration: underline; text-underline-offset: 3px; }
.v2-system { background: var(--v2-dark); border-radius: 12px; padding: 28px; }
.home-v2 .v2-system-label { color: #eee6c8; font: 12px/1.7 var(--font-mono); margin-bottom: 16px; }
.v2-system > a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 15px 0; border-top: 1px solid #4e4b39; color: #fffdf8; }
.home-v2 .v2-system > a:hover { color: var(--v2-yellow); }
.v2-system > a > span { grid-row: span 2; font: 12px/1.8 var(--font-mono); color: var(--v2-yellow); }
.v2-system strong { font-size: 17px; }
.v2-system small { margin-top: 5px; color: #d5cfb7; font-size: 13px; }
.home-v2 .v2-system-foot { border-top: 1px solid #4e4b39; padding-top: 16px; margin: 0; font: 12px/1.8 var(--font-mono); color: #d5cfb7; }
.home-v2 .v2-system a:focus-visible { outline-color: var(--v2-yellow); }
.v2-facts { padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg-1); }
.v2-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.v2-facts-grid > div { border-left: 1px solid var(--line); padding-left: 20px; }
.v2-facts dt { font-size: 13px; color: var(--text-dim); }
.v2-facts dd { font-size: 20px; font-weight: 700; margin: 5px 0 0; }
.v2-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; background: var(--bg-1); border: 1px solid var(--line); border-left: 4px solid var(--line-2); border-radius: 10px; }
.v2-case-copy > p:not(.v2-eyebrow) { margin-top: 16px; max-width: 54ch; }
.home-v2 .v2-client { font-size: 24px; font-weight: 800; color: var(--text); margin: 0 0 18px; }
.v2-case-path { padding: 0 0 0 21px; margin: 18px 0 24px; font-size: 14px; }
.v2-case-path li { padding: 5px 0 5px 5px; }
.v2-case-evidence { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-1); }
.v2-case-evidence img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.v2-result { padding: 24px; border-top: 1px solid var(--line); }
.v2-result > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
.v2-result > div > strong { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.035em; }
.v2-result > div > span:first-child { color: var(--text-dim); font-size: 16px; }
.home-v2 .v2-result p { font-size: 13px; margin: 0; }
.v2-situations, .v2-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.v2-situations article { border-top: 1px solid var(--line-2); padding-top: 16px; }
.v2-situations p { font-size: 14px; }
.home-v2 .v2-index { display: block; font: 12px/1.7 var(--font-mono); color: var(--accent-2); margin-bottom: 12px; }
.v2-situations h3 { font-size: 19px; }
.v2-situations a { display: block; min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 700; }
.v2-worlds { display: grid; gap: 14px; }
.v2-world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding: 26px 28px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 8px; }
.v2-world p:last-child { margin: 0; }
.home-v2 .v2-world-benefit { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.v2-world > div > p:last-child { font-size: 14px; max-width: 52ch; }
.v2-world ul { list-style: none; padding: 0; margin: 0; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.v2-world li { border-bottom: 1px solid var(--line); }
.v2-world a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; min-height: 44px; color: var(--text-dim); font-size: 14px; font-weight: 500; }
.v2-world a:hover { color: var(--accent-2); text-decoration: underline; }
.home-v2 .v2-text-link { display: inline-block; font-size: 14px; font-weight: 700; padding: 12px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.v2-worlds + .v2-text-link, .v2-projects + .v2-text-link { margin-top: 20px; }
.v2-process { list-style: none; margin: 28px 0; padding: 0; }
.v2-process li { position: relative; border-top: 2px solid var(--line-2); padding-top: 16px; }
.v2-process li:not(:last-child)::after { content: ""; position: absolute; top: -5px; right: -18px; width: 8px; height: 8px; border-top: 2px solid var(--accent-2); border-right: 2px solid var(--accent-2); transform: rotate(45deg); }
.v2-process p { font-size: 14px; margin-bottom: 0; }
.v2-engagements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.v2-engagements p { margin-bottom: 0; }
.v2-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.v2-section-head h2 { margin-bottom: 0; }
.v2-section-head .v2-button { flex-shrink: 0; }
.v2-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.v2-project { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-1); padding: 24px; }
.v2-project:not(.v2-project-feature) { grid-column: 2; }
.v2-project p:not(.v2-eyebrow) { font-size: 14px; }
.v2-project .v2-text-link { margin-top: 8px; font-weight: 500; }
.v2-project p:last-child { margin-bottom: 0; }
.v2-project-feature { grid-column: 1; grid-row: 1 / span 3; padding: 0; overflow: hidden; align-self: start; }
.v2-project-feature img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.v2-project-feature > div { padding: 28px; }
.v2-profile { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 52px; align-items: center; }
.v2-portrait { margin: 0; max-width: 340px; padding: 10px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 8px; }
.v2-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 42%; border-radius: 4px; }
.v2-portrait figcaption { padding: 14px 8px 6px; font-size: 14px; color: var(--text-dim); }
.v2-portrait figcaption strong { display: block; color: var(--text); font-size: 16px; }
.v2-profile .v2-lead { margin-top: 18px; }
.v2-profile p { max-width: 60ch; }
.home-v2 #profil { background: var(--bg-0); }
.home-v2 #blog-teaser { padding-block: 52px; background: var(--bg-1); }
.home-v2 #blog-teaser h2 { font-size: clamp(26px, 2.3vw, 32px); }
.v2-knowledge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.v2-knowledge article { border-top: 1px solid var(--line); padding-top: 18px; }
.v2-knowledge h3 { font-size: 18px; }
.v2-knowledge p:not(.v2-eyebrow) { font-size: 14px; }
.v2-knowledge h3 a { color: var(--text); }
.v2-contact { background: var(--bg-3); }
.v2-contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.v2-contact .v2-lead { margin: 18px 0; }
.home-v2 .v2-next-step { font-size: 14px; margin-bottom: 24px; max-width: 58ch; }
.home-v2 .v2-contact-note { font-size: 14px; line-height: 1.8; margin: 20px 0 0; max-width: 58ch; }
.v2-briefing { border-left: 1px solid var(--line-2); padding-left: 36px; }
:root[data-contrast=high] .home-v2 .v2-tinted, :root[data-contrast=high] .home-v2 .v2-contact { background: var(--bg-1); }
@media (max-width: 1024px) {
  .v2-hero-grid, .v2-case, .v2-profile, .v2-contact-grid { gap: 32px; }
  .v2-situations, .v2-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-world { gap: 28px; }
  .v2-world ul { grid-template-columns: minmax(0, 1fr); }
  .v2-process li:nth-child(2)::after { content: none; }
}
@media (max-width: 800px) {
  .v2-hero-grid, .v2-case, .v2-world, .v2-profile, .v2-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .v2-hero { padding: 56px 0; }
  .home-v2 { --v2-section-space: 52px; }
  .v2-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-system { max-width: 600px; }
  .v2-world ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-case { padding: 24px; }
  .v2-section-head { align-items: start; flex-direction: column; }
  .v2-profile { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 28px; }
  .v2-portrait { max-width: 280px; }
  .v2-knowledge { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .v2-briefing { border-left: 0; border-top: 1px solid var(--line-2); padding: 28px 0 0; }
}
/* Linear project flow on mobile and small tablets; retain desktop placement above 768px. */
@media (max-width: 768px) {
  .v2-projects { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .v2-project-feature, .v2-project:not(.v2-project-feature) { grid-area: auto; align-self: stretch; height: auto; min-height: 0; }
  .v2-project, .v2-project-feature > div { padding: 22px; }
  .v2-project-feature { padding: 0; }
  .v2-project-feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
}
@media (max-width: 540px) {
  .home-v2 .container { padding-inline: 20px; }
  .v2-situations, .v2-process, .v2-engagements, .v2-world ul, .v2-profile { grid-template-columns: minmax(0, 1fr); }
  .v2-situations { gap: 20px; }
  .v2-process { gap: 24px; border-left: 1px solid var(--line-2); padding-left: 20px; }
  .v2-process li { border-top: 0; padding-top: 0; }
  .v2-process li::before { content: ""; width: 7px; height: 7px; background: var(--accent-2); position: absolute; left: -24px; top: 7px; border-radius: 50%; }
  .v2-process li:not(:last-child)::after { content: none; }
  .v2-case { padding: 20px; }
  .v2-world, .v2-system { padding: 22px; }
  .v2-facts-grid { gap: 24px 16px; }
  .v2-facts-grid > div { padding-left: 12px; }
  .v2-actions { flex-direction: column; align-items: stretch; }
  .home-v2 .v2-eyebrow { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-v2 a, .home-v2 .v2-button { transition: none; }
  .home-v2 .v2-button:active { transform: none; }
}
/* German-content labels make English navigation longer near the desktop breakpoint. */
@media (min-width: 901px) and (max-width: 1100px) {
  html[lang="en"] #primary-nav-desktop > li > a { font-size: 13px; padding-inline: 9px; }
}
