/* Heuer Story Section – original frontend design */
.heuer-story-section,
.heuer-story-section * {
  box-sizing: border-box;
}

.heuer-story-section {
  width: 100%;
  padding: var(--heuer-story-pad-top, 80px) var(--heuer-story-pad-x, 20px) var(--heuer-story-pad-bottom, 100px);
  background: var(--heuer-story-section-bg, #ffffff);
  color: var(--heuer-story-text, #111111);
  overflow: hidden;
}

.heuer-story-wrap {
  width: 100%;
  max-width: var(--heuer-story-max-width, 1600px);
  margin: 0 auto;
}

.heuer-story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  height: var(--heuer-story-row-height, 560px);
  min-height: var(--heuer-story-row-min, 700px);
  max-height: var(--heuer-story-row-max, 760px);
  border-top: 1px solid var(--heuer-story-border, #e7e7e3);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .22, 1);
}

.heuer-story-row.is-visible,
.heuer-story-no-animation .heuer-story-row {
  opacity: 1;
  transform: translateY(0);
}

.heuer-story-no-animation .heuer-story-row {
  transition: none;
}

.heuer-story-last {
  border-bottom: 1px solid var(--heuer-story-border, #e7e7e3);
}

.heuer-story-row-reverse .heuer-story-media { order: 2; }
.heuer-story-row-reverse .heuer-story-content { order: 1; }

.heuer-story-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--heuer-story-media-bg, #f2f2ef);
}

.heuer-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--heuer-story-image-position, center center);
  transform: scale(1.001);
  transition: transform 1.1s cubic-bezier(.22, .8, .22, 1), filter .6s ease;
}

.heuer-story-number {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 29px;
  padding: 0 10px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--heuer-story-font, Inter, Arial, sans-serif);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  color: var(--heuer-story-text, #111111);
}

.heuer-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(44px, 5vw, var(--heuer-story-content-pad, 82px));
  background: var(--heuer-story-even-bg, #ffffff);
}

.heuer-story-row:nth-child(odd) .heuer-story-content {
  background: var(--heuer-story-odd-bg, #f7f7f4);
}

.heuer-story-kicker {
  display: block;
  margin-bottom: 18px;
  font-family: var(--heuer-story-font, Inter, Arial, sans-serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--heuer-story-kicker, #777772);
}

.heuer-story-content h2 {
  width: 100%;
  max-width: 760px;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--heuer-story-font, Inter, Arial, sans-serif) !important;
  font-size: clamp(40px, 4.25vw, 68px);
  font-weight: 300 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  color: var(--heuer-story-text, #111111) !important;
}

.heuer-story-content h2 strong {
  display: inline-block;
  font-weight: 600 !important;
  color: inherit !important;
}

.heuer-story-content p {
  width: 100%;
  max-width: 590px;
  margin: clamp(22px, 2.5vw, 32px) 0 0 !important;
  padding: 0 !important;
  font-family: var(--heuer-story-font, Inter, Arial, sans-serif) !important;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--heuer-story-muted, #666660) !important;
}

.heuer-story-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--heuer-story-text, #111111);
  font-family: var(--heuer-story-font, Inter, Arial, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--heuer-story-text, #111111) !important;
  text-decoration: none !important;
  transition: gap .3s ease, opacity .3s ease;
}

.heuer-story-link span {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform .3s ease;
}

@media (hover: hover) {
  .heuer-story-row:hover .heuer-story-media img { transform: scale(1.035); }
  .heuer-story-link:hover { gap: 17px; }
  .heuer-story-link:hover span { transform: translate(3px, -3px); }
}

@media (max-width: 1100px) {
  .heuer-story-section { padding: 60px 16px 80px; }
  .heuer-story-row {
    height: var(--heuer-story-tablet-height, 480px);
    min-height: var(--heuer-story-tablet-height, 480px);
    max-height: var(--heuer-story-tablet-height, 480px);
  }
  .heuer-story-content { padding: 36px 38px; }
  .heuer-story-content h2 { font-size: clamp(34px, 4.8vw, 50px); }
  .heuer-story-content p { margin-top: 20px !important; font-size: 15px; line-height: 1.6; }
  .heuer-story-link { margin-top: 24px; }
}

@media (max-width: 767px) {
  .heuer-story-section { padding: 42px 8px 58px; }
  .heuer-story-row {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    border-top: 1px solid var(--heuer-story-border, #e7e7e3);
  }
  .heuer-story-row-reverse .heuer-story-media,
  .heuer-story-row-reverse .heuer-story-content { order: initial; }
  .heuer-story-media {
    width: 100%;
    height: var(--heuer-story-mobile-image, 380px);
    min-height: var(--heuer-story-mobile-image, 380px);
    max-height: var(--heuer-story-mobile-image, 380px);
  }
  .heuer-story-media img {
    width: 100%;
    height: 100%;
    object-position: var(--heuer-story-image-position-mobile, var(--heuer-story-image-position, center center));
  }
  .heuer-story-content {
    width: 100%;
    height: auto;
    padding: 36px var(--heuer-story-mobile-content-x, 20px) 46px;
  }
  .heuer-story-kicker { margin-bottom: 14px; font-size: 9px; }
  .heuer-story-content h2 { font-size: clamp(37px, 11vw, 54px); line-height: .99 !important; }
  .heuer-story-content p { max-width: none; margin-top: 22px !important; font-size: 15px; line-height: 1.7; }
  .heuer-story-link { margin-top: 28px; }
  .heuer-story-number { left: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .heuer-story-media {
    height: var(--heuer-story-small-image, 330px);
    min-height: var(--heuer-story-small-image, 330px);
    max-height: var(--heuer-story-small-image, 330px);
  }
  .heuer-story-content { padding: 30px var(--heuer-story-mobile-content-x, 16px) 40px; }
  .heuer-story-content h2 { font-size: clamp(34px, 10.5vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .heuer-story-row { opacity: 1; transform: none; transition: none; }
  .heuer-story-media img,
  .heuer-story-link,
  .heuer-story-link span { transition: none; }
}
