/* The registered artwork and its interaction zones share the same uncropped image box. */
.truck-hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "title message" "art art";
  align-items: end;
  gap: clamp(9px, 1vw, 18px) clamp(28px, 6vw, 92px);
  padding-block: clamp(22px, 2.35vw, 36px) clamp(20px, 2.4vw, 36px);
}
.truck-hero .hero-topic { margin-bottom: clamp(10px, 1.2vw, 18px) }
.truck-hero .claim { font-size: clamp(3rem, 4.9vw, 5rem) }
.truck-hero .hero-message { align-self: end; max-width: 58ch }
.truck-hero .story-label { margin: 0 0 5px }
.truck-hero .lead { margin: 0; max-width: 55ch }
.truck-hero .hero-cta { margin-top: clamp(12px, 1.3vw, 20px) }
.truck-explorer { grid-area: art; min-width: 0; margin: 0; --truck-ink: #174d54; --truck-line: #247574 }
.truck-inspector, .truck-scene { position: relative; width: 100% }
.truck-scene { direction: ltr }
.truck-pins, .truck-zones, .truck-leader { position: absolute; inset: 0; width: 100%; height: 100% }
.truck-drawing { position: relative; z-index: 0; pointer-events: none; mix-blend-mode: multiply }
.truck-base { display: block; width: 100%; height: auto }
.truck-cab-part { position: absolute; display: block; pointer-events: none }
/* Sprites are registered to the original 1900 × 828 illustration. */
.truck-driver { left: 18.50000%; top: 32.00483%; width: 5.36842%; height: 10.86957% }
.truck-hand { left: 19.47368%; top: 28.07971%; width: 1.78947%; height: 4.83092%; transform-origin: 38% 95% }
.truck-driver, .truck-hand { opacity: 0; transition: opacity 90ms }
.truck-explorer[data-active="fahrer"] :is(.truck-driver, .truck-hand) { opacity: 1 }
.truck-explorer[data-active="fahrer"] .truck-hand { animation: truck-driver-wave 1.25s 90ms ease-in-out both }
@keyframes truck-driver-wave {
  0%, 100% { transform: rotate(0) }
  16%, 59% { transform: rotate(-11deg) }
  37%, 79% { transform: rotate(9deg) }
}
.truck-curtain {
  position: absolute; left: 50%; top: 13.16425%; width: 45.57895%; height: 46.61836%;
  overflow: hidden; pointer-events: none;
  clip-path: polygon(1.15% .5%, 99.4% 42%, 100% 43.5%, 100% 95.9%, 99.4% 96.9%, 1% 100%, 0 97.4%, 0 3.4%);
}
.truck-cloth, .truck-roller { display: block; width: 100%; height: 100% }
.truck-cloth { clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); transition: clip-path 760ms cubic-bezier(.37,.05,.16,1) }
.truck-roller { position: absolute; inset: 0 }
/* The near and far ends of the roller meet their own rails as the fabric lifts. */
.truck-roll { transform: matrix(1,-.0127,0,1,0,379); transition: transform 760ms cubic-bezier(.37,.05,.16,1) }
.truck-explorer[data-active="ware"] .truck-cloth { clip-path: polygon(0 0, 100% 0, 100% 44.5%, 0 4.8%) }
.truck-explorer[data-active="ware"] .truck-roll { transform: matrix(1,.179,0,1.4,0,12) }
.truck-zones { z-index: 1; overflow: visible; fill: transparent; pointer-events: none }
.truck-zones path { cursor: pointer; pointer-events: all; touch-action: manipulation }
.truck-pins { z-index: 3; pointer-events: none }
.truck-pin {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: transparent;
  transform: translate(-50%, -50%); pointer-events: auto; cursor: pointer; touch-action: manipulation;
}
.truck-pin span {
  display: grid; place-items: center; width: 18px; height: 18px;
  border: 1.5px solid var(--truck-ink); border-radius: 50%; background: #f8fdf8;
  box-shadow: 0 0 0 3px #f7fcfc9c, 0 1px 4px #183f413b;
  transition: transform 160ms, background-color 160ms;
}
.truck-pin span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--truck-line) }
.truck-pin[aria-expanded="true"] span { transform: scale(1.16); background: transparent; border: 2px solid var(--truck-ink); box-shadow: 0 0 0 2px #f8fdfb, inset 0 0 0 1px #fff8 }
.truck-pin[aria-expanded="true"] span::after { opacity: 0 }
.truck-pin:focus-visible { outline-offset: 0 }
.truck-leader { z-index: 2; pointer-events: none; overflow: visible; fill: none }
.truck-leader .truck-bridge { stroke: transparent; stroke-width: 25; pointer-events: stroke }
.truck-leader .truck-stroke { stroke: var(--truck-line); stroke-width: 1.25; stroke-linejoin: round }
.truck-leader circle { fill: var(--truck-line) }
.truck-card {
  position: absolute; z-index: 4; box-sizing: border-box; width: clamp(255px, 25%, 335px);
  padding: 15px 19px 13px; color: #163638; text-align: start;
  background: #f9fdfb; border: 1px solid #70a39c; border-radius: 13px;
  box-shadow: 0 8px 25px #103c3f20;
}
.truck-card-cover { display: block; padding-inline-end: 30px; font-size: .89rem; font-weight: 700; color: #22635a }
.truck-policy-links { display: grid; gap: 3px; margin-block: 7px 4px; padding-inline-end: 9px }
.truck-policy-links a { width: fit-content; max-width: 100%; font-weight: 650; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; color: #154c43; text-underline-offset: .18em }
.truck-card-question { margin: 6px 0 8px; line-height: 1.34; font-size: 1.04rem; font-weight: 500; overflow-wrap: break-word }
.truck-more { display: inline-flex; align-items: center; min-height: 31px; color: #155748; font-size: .92rem; font-weight: 650; text-underline-offset: .2em }
.truck-close {
  position: absolute; inset-inline-end: 4px; top: 4px; display: grid; place-items: center; width: 36px; height: 36px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: #365f5d; font-size: 1.45rem; line-height: 1;
}
.truck-close:hover, .truck-close:focus-visible { background: #e1f0e9 }
.truck-hint { margin: 0 0 10px; color: #43666b; font-size: .9rem }
.truck-legend { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px clamp(10px,1.5vw,26px) }
.truck-tab {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 57px;
  padding-block: 8px; border-block-start: 2px solid #95bdb6; color: var(--truck-ink); line-height: 1.3; text-decoration: none;
}
.truck-tab strong { font-size: 1rem; overflow-wrap: anywhere }
.truck-tab span { font-size: .85rem; color: #406166; overflow-wrap: anywhere }
.truck-tab:hover, .truck-tab:focus-visible, .truck-tab[aria-expanded="true"] { border-color: #18665e }
.truck-tab[aria-expanded="true"] strong { text-decoration: underline; text-underline-offset: .22em }
.truck-answer { padding: 13px 0; border-block-start: 1px solid #dce7e4 }
.truck-answers .truck-answer h3 { margin: 0 0 4px; scroll-margin-block: 12px }
.truck-answer p { margin: 0 }
.truck-answer:has(h3:target) { border-color: #438d78 }
.truck-answer h3:target { color: #125c4d }
.truck-answer-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 22px; margin-top: 7px; font-size: .92rem }
.truck-answer-links a { padding-block: 3px }
.truck-answers > .detail { margin-top: 11px }
@media (max-width: 950px) {
  .truck-legend { grid-template-columns: repeat(3,minmax(0,1fr)) }
}
@media (max-width: 760px) {
  .truck-hero .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "art" "message"; gap: 14px; padding-block: 21px 25px }
  .truck-hero .claim { font-size: clamp(2.7rem, 8vw, 3.9rem) }
  .truck-hero .hero-message { max-width: 100%; padding-top: 3px }
  .truck-hint { margin-bottom: 7px }
  .truck-legend { gap: 3px 13px }
  .truck-tab { min-height: 49px; padding-block: 6px }
  .truck-card { position: relative; width: 100%; margin-block: 5px 12px; padding: 11px 15px 9px; box-shadow: 0 3px 12px #103c3f12 }
  .truck-card-question { margin: 3px 0 }
  .truck-scene .truck-pin { width: 32px; height: 32px }
  .truck-pin span { width: 15px; height: 15px; box-shadow: 0 0 0 2px #f7fcfc9c }
  .truck-pin span::after { width: 5px; height: 5px }
}
@media (max-width: 480px) {
  .truck-legend { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .truck-tab { min-height: 45px }
  .truck-tab strong { font-size: .91rem }
  .truck-tab span { font-size: .8rem }
  .truck-close { width: 40px; height: 40px }
}
@media (prefers-reduced-motion: reduce) {
  .truck-explorer :is(.truck-driver,.truck-hand,.truck-cloth,.truck-roll,.truck-pin span) { animation: none !important; transition: none !important }
}
@media print {
  .truck-explorer :is(.truck-pins,.truck-zones,.truck-card,.truck-leader,.truck-hint) { display: none }
}
.truck-scene .truck-salmon {
  position: absolute; z-index: 2; left: 89%; top: 77.35%; width: 7.6%; aspect-ratio: 3.7;
  display: block; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: transparent; box-shadow: none; appearance: none; cursor: pointer; touch-action: manipulation;
}
.truck-salmon::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100%, 36px); height: max(100%, 32px);
}
.truck-salmon:focus-visible { outline: 2px solid #247574; outline-offset: 3px }
.truck-salmon img { display: block; pointer-events: none; width: 100%; height: auto }
.truck-salmon .salmon-puddle { position: absolute; left: 0; bottom: 0; transform: rotate(-3deg); opacity: .82 }
.salmon-fish {
  position: absolute; left: 9%; bottom: 16%; width: 78%; aspect-ratio: 328 / 84;
  rotate: -3deg; transform-origin: 32% 84%; pointer-events: none;
}
.salmon-fish img, .salmon-rest { position: absolute; inset: 0 }
.salmon-body { clip-path: inset(0 23.8% 0 0) }
.salmon-tail { clip-path: inset(0 0 0 74.5%); transform-origin: 75% 57% }
.salmon-rest, .salmon-greeting { transition: opacity 140ms ease }
.salmon-greeting, .truck-salmon[data-greeting] .salmon-rest { opacity: 0 }
.truck-salmon[data-greeting] .salmon-greeting { opacity: 1 }
@media (prefers-reduced-motion: reduce) {
  .salmon-rest, .salmon-greeting { transition: none }
}
.truck-mechanics {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.truck-mechanics .truck-mech-part {
  opacity: 0;
  transition: opacity 160ms ease-out;
}

.truck-explorer[data-active="zug"] .truck-mech-lamp,
.truck-explorer[data-active="kuehlung"] .truck-mech-fan,
.truck-explorer[data-active="auflieger"] .truck-mech-hitch,
.truck-explorer[data-active="bergung"] .truck-mech-triangle { opacity: 1; }

.truck-explorer[data-active="zug"] .truck-mech-lamp {
  animation: truck-mech-light-up 730ms ease-out both;
}

.truck-mechanics .truck-mech-rotor { transform-box: fill-box; transform-origin: center; }
.truck-explorer[data-active="kuehlung"] .truck-mech-rotor {
  animation: truck-mech-run-fan 1450ms cubic-bezier(.30,.05,.3,1) both;
}

.truck-explorer[data-active="auflieger"] .truck-mech-latch {
  animation: truck-mech-lock 550ms cubic-bezier(.32,.14,.32,1) both;
}
.truck-explorer[data-active="auflieger"] .truck-mech-lock-stripe,
.truck-explorer[data-active="bergung"] .truck-mech-triangle-insert {
  animation: truck-mech-confirm 180ms 370ms ease-out both;
}
.truck-explorer[data-active="bergung"] .truck-mech-triangle-left {
  animation: truck-mech-unfold-left 570ms cubic-bezier(.22,.65,.32,1) both;
}
.truck-explorer[data-active="bergung"] .truck-mech-triangle-right {
  animation: truck-mech-unfold-right 540ms 65ms cubic-bezier(.22,.65,.32,1) both;
}

@keyframes truck-mech-light-up { 0% { opacity: 0; } 46% { opacity: 1; } 100% { opacity: .84; } }
@keyframes truck-mech-run-fan { from { transform: rotate(0turn); } to { transform: rotate(2.36turn); } }
@keyframes truck-mech-lock { 0% { transform: translateX(-30px); } 78% { transform: translateX(2px); } 100% { transform: translateX(0); } }
@keyframes truck-mech-confirm { from { opacity: 0; } to { opacity: 1; } }
@keyframes truck-mech-unfold-left { from { transform: rotate(59deg); } to { transform: rotate(0deg); } }
@keyframes truck-mech-unfold-right { from { transform: rotate(-59deg); } to { transform: rotate(0deg); } }

@media (prefers-reduced-motion: reduce) {
  .truck-explorer .truck-mechanics .truck-mech-part { transition: none; }
  .truck-explorer[data-active] .truck-mechanics *,
  .truck-explorer[data-active] .truck-mech-lamp { animation: none; }
}

/* All six notes use one grid cell beneath the artwork. Their shared height keeps the
   targets still when the pointer moves from one part of the truck to the next. */
.truck-inspector { container-type: inline-size }
.truck-card:not([hidden]) {
  display: grid; position: relative; width: 100%; margin: 0; padding: 9px 14px;
  border: 0; border-inline-start: 2px solid var(--truck-line); border-radius: 0;
  background: transparent; box-shadow: none; visibility: hidden;
}
.truck-card[data-open] { visibility: visible }
.truck-note {
  grid-area: 1 / 1; min-width: 0; padding-inline-end: 28px; visibility: hidden;
  display: flex; align-content: start; align-items: baseline; flex-wrap: wrap; gap: 3px 12px;
}
.truck-note[aria-hidden="false"] { visibility: visible }
.truck-note .truck-card-cover { padding: 0 }
.truck-note .truck-card-question { margin: 0; font-size: .96rem; line-height: 1.36 }
.truck-note .truck-policy-links { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 17px; margin: 2px 0 0; padding: 0 }
.truck-note .truck-policy-links a { font-size: .94rem; hyphens: auto }
@media print { .truck-card:not([hidden]) { display: none } }
@container (max-width: 420px) {
  .truck-scene .truck-pin { width: clamp(24px, 8.5cqw, 32px); height: clamp(24px, 8.5cqw, 32px) }
}
