/* Bounded content refinement of the existing R4 design. */
.cri-primary-action { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; }
.cri-primary-action .r4-button { min-height: 3.25rem; max-width: 100%; white-space: normal; text-align: center; }
.cri-entry-note { color: #bcced8; font-size: .875rem; line-height: 1.5; margin: 0; max-width: 34rem; }
.cri-example-context { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.cri-example-context article { border-top: 1px solid #8da8b4; padding-top: 1rem; min-width: 0; }
.cri-example-context h3 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 .6rem; }
.cri-example-context p, .cri-source-label, .cri-output-bridge, .cri-offer-terms, .cri-offer-limit, .cri-programme-scope { line-height: 1.6; }
.cri-source-label { font-size: .9rem; margin: 1rem 0 2rem; }
.r4-home .cri-output-followup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #8da8b4;
}
.r4-home .cri-output-followup p { margin: 0; }
.r4-home .cri-output-bridge { max-width: 70ch; }
.r4-home .cri-output-followup .r4-text-link { max-width: 30ch; white-space: normal; }
.cri-other-examples { margin-top: 2.5rem; border-top: 1px solid #8da8b4; }
.cri-other-examples > summary { padding: 1rem 0; cursor: pointer; font-weight: 600; }
.cri-offer-terms, .cri-offer-limit { max-width: 75ch; }
.cri-programme-scope { margin-top: 1rem; }
.cri-primary-action a:focus-visible, .cri-other-examples > summary:focus-visible { outline: 3px solid #68b6bf; outline-offset: 5px; }
#review-record, #next-step, #first-engagement, #founder-experience { scroll-margin-top: 7rem; }
#consultation { scroll-margin-top: 7rem; }
.cri-consultation { padding-top: 3rem; padding-bottom: 3rem; }
.cri-consultation .lead { max-width: 65ch; }
.cri-email-address { font-size: 1.4rem; overflow-wrap: anywhere; user-select: text; }
.cri-consultation .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cri-consultation button { cursor: pointer; }
.cri-locality-context { max-width: 1000px; padding: 0 24px 32px; margin: 0 auto; font: 16px/1.6 Arial, sans-serif; }
.cri-locality-section { padding: 24px; margin: 24px 0; border: 1px solid #cbd8db; background: #fff; scroll-margin-top: 6rem; }
.cri-locality-context h2 { font-size: 26px; line-height: 1.3; }
.cri-locality-context h3 { font-size: 20px; line-height: 1.4; }
.cri-locality-context figure { margin: 0; }
.cri-locality-context img { display: block; width: 100%; height: auto; }
.cri-locality-context figcaption, .cri-locality-small { font-size: 14px; line-height: 1.5; }
.cri-locality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cri-locality-wide { grid-column: 1 / -1; }
.cri-locality-note { border-left: 3px solid #49908c; padding: 12px 18px; background: #edf5f3; }
.cri-archive-link { font-size: 14px; }
@media (max-width: 650px) {
  .cri-locality-context { padding: 0 16px 24px; }
  .cri-locality-section { padding: 18px; }
  .cri-locality-grid { grid-template-columns: 1fr; }
  .cri-consultation .button { max-width: 100%; white-space: normal; }
}
@media print { .cri-locality-context { display: none !important; } }
@media (max-width: 760px) {
  .cri-example-context { grid-template-columns: 1fr; gap: 1rem; }
  .r4-home .cri-output-followup { grid-template-columns: minmax(0, 1fr); }
  .cri-primary-action { align-items: stretch; }
  .cri-primary-action .r4-button { width: 100%; }
  .cri-entry-note { max-width: none; }
}

/* Approved 2026-10-18 imagery: aerial context and ground photo. */
.r4-home .r4-record-stage.cri-image-stage { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.r4-home .cri-context-visuals {
  position: static;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.r4-home .cri-context-visuals figure + figure { display: block; margin-top: 0; }
.r4-home .cri-context-visuals figcaption a{color:inherit;text-decoration:underline}
.r4-home .cri-context-visuals img{display:block;aspect-ratio:auto}
.r4-home .cri-image-stage :is(.r4-conclusion, .r4-provenance, .r4-lens-actions) {
  grid-column: 1 / -1;
  border-right: 0;
}
.r4-home .cri-image-stage .r4-lens-actions { border-top: 1px solid var(--r4-line); }
@media (max-width: 650px) { .r4-home .cri-context-visuals { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 981px) { .cri-primary-action { margin-top: .5rem; } }

.r4-home .cri-primary-action .r4-text-link { color: #b9e2e7; border-color: #89c4d6; }

/* 2026-10-22: Alram14, explicit capacity scenario and prepared Elmar WEB guide. */
.r4-home .cri-web-update { --type-section: clamp(1.8rem, 3.4vw, 3rem); --space-section: 48px; color: #173342; background: #f5f7f4; }
.r4-home .cri-web-update h2 { max-width: 24ch; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.15; margin: .6rem 0 1.1rem; }
.r4-home .cri-web-update h3 { font-size: 1.2rem; line-height: 1.4; }
.r4-home .cri-web-update p, .r4-home .cri-web-update li, .cri-roi-inputs { line-height: 1.65; }
.cri-web-update a:not(.r4-button) { color: #12566b; text-decoration: underline; text-underline-offset: .2em; }
.cri-web-update :is(a, summary):focus-visible { outline: 3px solid #12566b; outline-offset: 4px; }
.cri-case-boundary { border-left: 3px solid #257c86; padding: .8rem 1rem; background: #e8f0ee; max-width: 90ch; }
.cri-alram-images { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; margin-top: 2rem; }
.cri-alram-images figure { margin: 0; }
.cri-alram-images img { display: block; width: 100%; height: auto; }
.cri-alram-images figcaption { padding: .6rem 0; font-weight: 700; font-size: .95rem; }
.cri-caption { font-size: .85rem; max-width: 100ch; }
.cri-case-steps { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem 2rem; margin: 2rem 0; }
.cri-case-steps article { border-top: 1px solid #a9bec3; padding-top: 1rem; }
.cri-case-steps article p { margin: .4rem 0; }
.cri-public-sources { border-top: 1px solid #a9bec3; padding: 1rem 0; }
.cri-public-sources summary, .cri-case-details summary, .cri-guide-questions summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: .6rem 0; }
.cri-case-details { border-top: 1px solid #a9bec3; padding-top: .5rem; }
.cri-public-sources li { margin-bottom: .75rem; }
.cri-public-sources li span { display: block; font-size: .9rem; }
.cri-update-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1rem; }
.r4-home .cri-roi { background: #eaf1ee; }
.cri-scenario-label { font-weight: 700; }
.cri-roi-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin: 1.5rem 0; }
.cri-roi-results p { margin: 0; padding: 1rem 0; border-top: 2px solid #257c86; }
.cri-roi-results strong { display: block; font-size: clamp(1.7rem, 3.1vw, 2.8rem); color: #12566b; line-height: 1.2; }
.cri-roi-results span { display: block; padding-top: .5rem; }
.cri-roi-inputs { margin: 0 0 1rem; }
.cri-roi-inputs > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); gap: 1rem; padding: .65rem 0; border-top: 1px solid #b3c7c7; }
.cri-roi-inputs dt { font-weight: 700; }
.cri-roi-inputs dd { margin: 0; }
.cri-roi-formula { font-size: .95rem; }
.cri-guide-questions { max-width: 60rem; margin: 1.5rem 0; }
.cri-guide-questions details { border-top: 1px solid #a9bec3; padding: .35rem 0; }
.cri-guide-questions details p { padding-left: 1rem; }
#alram14, #alram14-sources, #roi-scenario, #elmar-guide { scroll-margin-top: 7rem; }
@media (max-width: 650px) {
  .r4-home .cri-web-update { --type-section: 1.8rem; --space-section: 32px; }
  .r4-home .cri-web-update p, .r4-home .cri-web-update li, .cri-roi-inputs { font-size: 1rem; line-height: 1.55; }
  .r4-home .cri-web-update .cri-caption { font-size: .85rem; }
  .cri-case-steps, .cri-roi-inputs > div { grid-template-columns: minmax(0,1fr); gap: .25rem; }
  .cri-case-steps { gap: 1.5rem; }
  .cri-alram-images, .cri-roi-results { gap: .75rem; margin-top: 1rem; }
  .cri-alram-images figcaption { font-size: .8rem; }
  .cri-roi-results strong { font-size: 1.5rem; }
  .cri-public-sources { padding: .25rem 0; }
  .cri-update-actions { align-items: stretch; flex-direction: column; }
}

/* Hero copy: complete phrase groups from the first paint, including without JS. */
.r4-home .r4-hero-copy { min-width: 0; }
.r4-home .r4-hero .r4-kicker { max-width: 100%; text-wrap: balance; }
.r4-home .r4-hero .r4-lead { max-width: 34ch; text-wrap: pretty; margin-bottom: 1.25rem; }
body[data-site-polish].r4-home #main .r4-hero h1 { font-size: clamp(30px, 8.9vw, 44px); line-height: 1.1; text-wrap: balance; }
@media (min-width: 981px) {
  .r4-home .r4-hero .cri-hero-line { display: block; }
  body[data-site-polish].r4-home #main .r4-hero h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.08; }
  body[data-site-polish].r4-home:lang(de) #main .r4-hero h1 { font-size: clamp(36px, 3.5vw, 50px); }
}
